Linux-Next discussions
 help / color / mirror / Atom feed
* m68k ICE on drivers/net/wimax/i2400m/fw.c
@ 2009-03-19 13:02 Geert Uytterhoeven
  0 siblings, 0 replies; only message in thread
From: Geert Uytterhoeven @ 2009-03-19 13:02 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: linux-next, Linux/m68k

	Hi Stephen,

http://kisskb.ellerman.id.au/kisskb/buildresult/225979/
| drivers/net/wimax/i2400m/fw.c:892: internal compiler error: in splice_child_die, at dwarf2out.c:5347
| distcc[11452] ERROR: compile drivers/net/wimax/i2400m/fw.c on sprygo/32 failed

If upgrading your m68k-unknown-linux-gnu-gcc (GCC) 4.0.2 is not an option (my
4.1.2 20061115 (prerelease) (Debian 4.1.1-21) has no problems with this file),
does the patch below help?

diff --git a/drivers/net/wimax/i2400m/Makefile b/drivers/net/wimax/i2400m/Makefile
index 5d9e018..048e8dd 100644
--- a/drivers/net/wimax/i2400m/Makefile
+++ b/drivers/net/wimax/i2400m/Makefile
@@ -28,3 +28,7 @@ i2400m-sdio-y := 		\
 	sdio-tx.o   		\
 	sdio-fw.o	 	\
 	sdio-rx.o
+
+ifeq ($(ARCH),m68k)
+CFLAGS_fw.o	+= -O1
+endif

Note that you cannot lower the optimization level to -O0, because of
BUILD_BUG_ON().

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-03-19 13:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-19 13:02 m68k ICE on drivers/net/wimax/i2400m/fw.c Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox