Hello, the kernel build on sh4 fails with an internal compiler error as manual builds have shown. This issue is fixed by updating to at least gcc-16 which contains a lot of fixes for the GCC SH backend, including a switch to the new register allocator LRA. After the switch, GCC may still run out of virtual memory on sh4 when building large kernel modules, so the kernel config will just have to be adjusted. I'm currently testing a modified kernel config for sh4 and will report back. Thanks, Adrian
retitle -1 linux: FTBFS on sh4 due to internal compiler error, works with wireless stack disabled Hi, OK, so I got this sorted out: (unstable-sh4-sbuild)glaubitz@esk:~/linux-sh4-3$ ls -l linux-image*deb -rw-r--r-- 1 glaubitz glaubitz 459630732 Jul 24 17:08 linux-image-7.1.4+deb14-sh7751r-dbg_7.1.4-1_sh4.deb -rw-r--r-- 1 glaubitz glaubitz 1840 Jul 24 17:13 linux-image-7.1.4+deb14-sh7751r_7.1.4-1_sh4.deb -rw-r--r-- 1 glaubitz glaubitz 1168 Jul 24 17:14 linux-image-sh7751r-dbg_7.1.4-1_sh4.deb -rw-r--r-- 1 glaubitz glaubitz 1648 Jul 24 17:14 linux-image-sh7751r_7.1.4-1_sh4.deb (unstable-sh4-sbuild)glaubitz@esk:~/linux-sh4-3$ Disabling the wireless stack is enough. Since we don't use wireless support on sh4 anyway, I will open a pull request shortly pending an additional build test of the patch. I've also found a way to resolve the GCC OOM issues on sh4 which I will implement on all sh4 buildds shortly. Adrian
We believe that the bug you reported is fixed in the latest version of
linux, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1141885@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Salvatore Bonaccorso <carnil@debian.org> (supplier of updated linux package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Tue, 28 Jul 2026 06:55:11 +0200
Source: linux
Architecture: source
Version: 7.2~rc5-1~exp1
Distribution: experimental
Urgency: medium
Maintainer: Debian Kernel Team <debian-kernel@lists.debian.org>
Changed-By: Salvatore Bonaccorso <carnil@debian.org>
Closes: 1140762 1141885 1142672 1142767
Changes:
linux (7.2~rc5-1~exp1) experimental; urgency=medium
.
* New upstream release candidate.
.
[ Ben Hutchings ]
* Include rsync in Build-Depends-Arch for any build including tools
.
[ Alper Nebi Yasak ]
* [arm64] drivers/regulator: Enable REGULATOR_QCOM_REFGEN as module
(Closes: #1142672)
.
[ Aurelien Jarno ]
* [riscv64] Enable RISCV_USER_CFI
.
[ Han Gao ]
* [riscv64] Enable CONFIG_DRM_AST as module (Closes: #1142767)
.
[ Christopher Obbard ]
* drivers/gpio: Enable GPIO_SIM as module (Closes: #1140762)
.
[ John Paul Adrian Glaubitz ]
* [sh4] Disable wireless support to reduce kernel size (Closes: #1141885)
Checksums-Sha1:
9d534a4532b4215ad480463039695e4d0a4cef60 183244 linux_7.2~rc5-1~exp1.dsc
05a15df5590ee1fabc02749d3933adc5f5c86ce1 163266440 linux_7.2~rc5.orig.tar.xz
89f77a4ffa0426412d5531be45b2e70a195e1727 1459888 linux_7.2~rc5-1~exp1.debian.tar.xz
e429b961f525e6f98cccb03da40a241945945248 6928 linux_7.2~rc5-1~exp1_source.buildinfo
Checksums-Sha256:
ede239c565d82f8138c07fd2756f2e5d712b197826ef620b0741620a39711ac2 183244 linux_7.2~rc5-1~exp1.dsc
91d0996d83cca5865b070e237c0e0850beeaed7a056d02f27b683e6075d32b6a 163266440 linux_7.2~rc5.orig.tar.xz
4bd741c709aff14bcac43b24a058f0454df72258c3c8112b572582a8f490a060 1459888 linux_7.2~rc5-1~exp1.debian.tar.xz
15c225573f56ff8bedf97a2099a289ceb272b11e75f99a0be3b5e92156f5eec9 6928 linux_7.2~rc5-1~exp1_source.buildinfo
Files:
558b562113ba6d4e7a1de8dfdb869991 183244 kernel optional linux_7.2~rc5-1~exp1.dsc
8ff7459c8c73359e6ea4f480731f3136 163266440 kernel optional linux_7.2~rc5.orig.tar.xz
0880a093d11eb32fd7c66b9e063078e8 1459888 kernel optional linux_7.2~rc5-1~exp1.debian.tar.xz
dc694fcf495b0b2e94c4b2582a176727 6928 kernel optional linux_7.2~rc5-1~exp1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQKmBAEBCgCQFiEERkRAmAjBceBVMd3uBUy48xNDz0QFAmpoOIZfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDQ2
NDQ0MDk4MDhDMTcxRTA1NTMxRERFRTA1NENCOEYzMTM0M0NGNDQSHGNhcm5pbEBk
ZWJpYW4ub3JnAAoJEAVMuPMTQ89EtooP/1jsLGbwj4x17SKIeL8Zxx7mvKSWmgSh
odAhrT5hwmGpo9HxIdGlduc9t1TcWLjUcpsEqb1TTDHtJEMgEphFZfeqEI1rVshw
GGrOHv3lLMqTeKkd+fRfrsJ0+CpgJgd5oitVff/4DHSeEpu2UypBVDbHYBX+lPTq
04/+MaDeAgSZthvGJD7T7AxVTCV4RPrwNSpk0a33ls1WDtSZYgRfRwL3azUnb6qN
tVpqiIOglc0b0X2WlzOtc+O8JEliJTTi61AHeEgsxlBq0jr0C7NHw2abRDyDNPQK
5WiQkLVOL2PFhn9KKnpgpfidip4+1D5Wc18q+yG0gDANuh1oktZfHD8NglcdNBjP
amyyBd6BxLlHw1BRY8GDv/snHcjmfkIcKyp2WVX+WkvCZeqeqfpRvhVeZdody3/h
191eIjP4JnyBZzeU600/bem3xBiB55ydeFy/yXDlZ5Vl0eZIEk8ruhTW3Seb4o/y
JIs2DrJfwaKDbn1naBCtoe4gzxx9QT+wKpQE8DZ0OL51bBLijbwWGRXumZ4eG8Mc
FcRkotM2HPLoZgWcD9owqnFOPIOHe/+2hbfNgENG56lznc3XMKyZvzaPfsCTudm2
a5ERBhRH84gEOawycpKLguTh03gEFmzmrf5xLHAAApZd/gc2KAq8aaZfFp6f+WM4
KVKbFwm31LHk
=8nMR
-----END PGP SIGNATURE-----