gcc 4.8.x does not compile a working kernel for sparc
PATCH 1/1 gcc 4.8.x does not compile a working kernel for sparc
Since the switch to 4.8.x as default, the qemu-sparc target is broken. For a gcc bug report see here:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60624
Switch back to gcc 4.7.x as default for sparc.
Signed-off-by Waldemar Brodkorb <[email protected]>
--- package/gcc/Config.in.host | 1 + 1 file changed, 1 insertion(+)
package/gcc/Config.in.host +1 -0
@@ -10,6 +10,7 @@ choice prompt "GCC compiler Version" default BR2_GCC_VERSION_4_4_X if BR2_sparc_sparchfleon || BR2_sparc_sparchfleonv8 || BR2_sparc_sparcsfleon || BR2_sparc_sparcsfleonv8 default BR2_GCC_VERSION_4_2_2_AVR32_2_1_5 if BR2_avr32 + default BR2_GCC_VERSION_4_7_X if BR2_sparc default BR2_GCC_VERSION_4_8_X if BR2_aarch64 default BR2_GCC_VERSION_4_8_ARC if BR2_arc default BR2_GCC_VERSION_4_9_X if BR2_microblaze || BR2_powerpc64le
Signature · 1 line
1.7.10.4
PATCH 1/1 gcc 4.8.x does not compile a working kernel for sparc
Dear Waldemar Brodkorb,
Quoted 10 lines · Waldemar Brodkorb
Since the switch to 4.8.x as default, the qemu-sparc target is broken. For a gcc bug report see here:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60624Switch back to gcc 4.7.x as default for sparc.
Signed-off-by Waldemar Brodkorb <[email protected]>--- package/gcc/Config.in.host | 1 + 1 file changed, 1 insertion(+)
If gcc 4.8.x is indeed broken on sparc, shouldn't we completely prevent the selection of 4.8.x on SPARC ?
Have you tested 4.9.x ?
Thanks for the report and patch!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com