All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] gcc 4.8.x does not compile a working kernel for sparc
@ 2014-06-12 16:51 Waldemar Brodkorb
  2014-06-12 18:46 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Waldemar Brodkorb @ 2014-06-12 16:51 UTC (permalink / raw)
  To: buildroot

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 <wbx@openadk.org>
---
 package/gcc/Config.in.host |    1 +
 1 file changed, 1 insertion(+)

diff --git a/package/gcc/Config.in.host b/package/gcc/Config.in.host
index b6d4b5e..ecb98fc 100644
--- a/package/gcc/Config.in.host
+++ b/package/gcc/Config.in.host
@@ -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
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH] gcc 4.8.x does not compile a working kernel for sparc
  2014-06-12 16:51 [Buildroot] [PATCH] gcc 4.8.x does not compile a working kernel for sparc Waldemar Brodkorb
@ 2014-06-12 18:46 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2014-06-12 18:46 UTC (permalink / raw)
  To: buildroot

Dear Waldemar Brodkorb,

On Thu, 12 Jun 2014 18:51:38 +0200, Waldemar Brodkorb wrote:
> 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 <wbx@openadk.org>
> ---
>  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
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-06-12 18:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-12 16:51 [Buildroot] [PATCH] gcc 4.8.x does not compile a working kernel for sparc Waldemar Brodkorb
2014-06-12 18:46 ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.