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

Valentin Haudiquet 2126058 at bugs.launchpad.net
Mon Oct 13 12:44:31 UTC 2025


** Bug watch added: GCC Bugzilla #122270
   https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122270

** Also affects: gcc via
   https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122270
   Importance: Unknown
       Status: Unknown

-- 
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:
  Confirmed
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