Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #93447
| From | John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> |
|---|---|
| Newsgroups | linux.debian.bugs.dist, linux.debian.ports.superh, linux.debian.kernel |
| Subject | Bug#1141885: linux: FTBFS on sh4 due to internal compiler error, works with gcc-16 |
| Date | 2026-07-25 08:10 +0200 |
| Message-ID | <NkDK9-6Pae-3@gated-at.bofh.it> (permalink) |
| References | <NfYcx-4glS-1@gated-at.bofh.it> <NfYcx-4glS-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Cross-posted to 3 groups.
retitle -1 linux: FTBFS on sh4 due to internal compiler error, works with wireless stack disabled Hi, On Sun, 2026-07-12 at 10:58 +0200, John Paul Adrian Glaubitz wrote: > 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. 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 -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Back to linux.debian.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Bug#1141885: linux: FTBFS on sh4 due to internal compiler error, works with gcc-16 John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> - 2026-07-12 11:00 +0200 Bug#1141885: linux: FTBFS on sh4 due to internal compiler error, works with gcc-16 John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> - 2026-07-25 08:10 +0200 Bug#1141885: marked as done (linux: FTBFS on sh4 due to internal compiler error, works with wireless stack disabled) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2026-07-28 07:40 +0200
csiph-web