Public bug reported:

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: //       |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~

** Affects: gcc-15 (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: pytorch (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: gcc-15 (Ubuntu)
   Importance: Undecided
       Status: New

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

Title:
  FTBFS: pytorch fails to build on riscv64

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to