m68k ICE on drivers/net/wimax/i2400m/fw.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



	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@xxxxxxxxxxxxxx

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
--
To unsubscribe from this list: send the line "unsubscribe linux-next" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux