[Bug 2126058] [NEW] FTBFS: pytorch fails to build on riscv64
Heinrich Schuchardt
2126058 at bugs.launchpad.net
Tue Sep 30 11:08:12 UTC 2025
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
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-15 package in Ubuntu:
New
Status in pytorch package in Ubuntu:
New
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/ubuntu/+source/gcc-15/+bug/2126058/+subscriptions
More information about the foundations-bugs
mailing list