powerpc: Work around little endian gcc bug
authorAnton Blanchard <anton@samba.org>
Mon, 23 Sep 2013 02:05:13 +0000 (12:05 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 11 Oct 2013 05:48:57 +0000 (16:48 +1100)
Temporarily work around an ICE we are seeing while building
in little endian mode:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57134

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/Makefile

index d3c91bf923b769264384684a0b67ef561e5d34b3..607acf54a425b2b50913ea6b4f48024a5d21aadc 100644 (file)
@@ -66,7 +66,7 @@ endif
 UTS_MACHINE := $(OLDARCH)
 
 ifeq ($(CONFIG_CPU_LITTLE_ENDIAN),y)
-override CC    += -mlittle-endian
+override CC    += -mlittle-endian -mno-strict-align
 override AS    += -mlittle-endian
 override LD    += -EL
 override CROSS32CC += -mlittle-endian