[Bug 2126058] Re: FTBFS: pytorch fails to build on riscv64
Jeremy Bícha
2126058 at bugs.launchpad.net
Thu Nov 20 14:27:17 UTC 2025
https://launchpad.net/ubuntu/+source/pytorch/2.6.0+dfsg-9/+latestbuild/riscv64
** Changed in: pytorch (Ubuntu)
Status: Confirmed => 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:
Fix Released
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