[Bug 2126058] Re: FTBFS: pytorch fails to build on riscv64

Launchpad Bug Tracker 2126058 at bugs.launchpad.net
Mon Nov 17 18:57:35 UTC 2025


This bug was fixed in the package gcc-15 - 15.2.0-8ubuntu1

---------------
gcc-15 (15.2.0-8ubuntu1) resolute; urgency=medium

  * Merge with Debian; remaining changes:
    - Build from upstream sources.

gcc-15 (15.2.0-8) unstable; urgency=medium

  * Update to git 20251111 from the gcc-15 branch.
    - Fix PR tree-optimization/122012, PR target/99930 (x86),
      PR target/122323 (x86), PR ada/118782 (closes: #749574), PR ada/81087,
      PR c++/122302, PR target/118460 (ARM), PR target/122516 (AVR),
      PR rtl-optimization/122321, PR target/122270 (RISCV, LP: #2126058),
      PR target/122527 (AVR), PR tree-optimization/118012,
      PR tree-optimization/122505, PR tree-optimization/122408,
      PR tree-optimization/122394, PR target/120674 (RISCV),
      PR target/121604 (AArch64), PR target/119079 (x86), PR ada/118208,
      PR c++/122253, PR c++/122421, PR c++/122381, PR c++/122192,
      PR c++/122310, PR fortran/114023, PR fortran/122386,
      PR fortran/122206, PR fortran/107968.
  * Bootstrap using GCC 15.
  * Disable sframe generation for Ubuntu 26.04 LTS.
  * Ignore some bootstrap comparison failures on sh4. Closes: #1119146.

 -- Matthias Klose <doko at ubuntu.com>  Tue, 11 Nov 2025 03:21:12 +0100

** Changed in: gcc-15 (Ubuntu)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-15 in Ubuntu.
https://bugs.launchpad.net/bugs/2126058

Title:
  FTBFS: pytorch fails to build on riscv64

Status in gcc:
  Unknown
Status in gcc-15 package in Ubuntu:
  Fix Released
Status in pytorch package in Ubuntu:
  Confirmed

Bug description:
  Building pytorch 2.6.0+dfsg-9 failed on riscv64
  https://launchpad.net/ubuntu/+source/pytorch/2.6.0+dfsg-9/+build/31323165

  A GCC internal compiler error occurs:

  18253: // during GIMPLE pass: lower
  18253: // In file included from /<<PKGBUILDDIR>>/build/aten/src/ATen/native/cpu/DepthwiseConvKernel.cpp.DEFAULT.cpp:1:
  18253: // /<<PKGBUILDDIR>>/aten/src/ATen/native/cpu/DepthwiseConvKernel.cpp: In function ‘void at::native::{anonymous}::winograd_f2k3_kernel_transform__rvv(vfloat32m1_t, vfloat32m1_t, vfloat32m1_t, vfloat32m1x4_t*)’:
  18253: // /<<PKGBUILDDIR>>/aten/src/ATen/native/cpu/DepthwiseConvKernel.cpp:307:44: internal compiler error: in gsi_replace, at gimple-iterator.cc:438
  18253: //   307 |   *transform = __riscv_vset_v_f32m1_f32m1x4(*transform, 3, g2);
  18253: //       |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/2126058/+subscriptions




More information about the foundations-bugs mailing list