Linux-Next discussions
 help / color / mirror / Atom feed
From: Geert Uytterhoeven <geert@linux-m68k.org>
To: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: linux-next@vger.kernel.org, Linux/m68k <linux-m68k@vger.kernel.org>
Subject: m68k ICE on drivers/net/wimax/i2400m/fw.c
Date: Thu, 19 Mar 2009 14:02:55 +0100 (CET)	[thread overview]
Message-ID: <Pine.LNX.4.64.0903191359130.7092@anakin> (raw)

	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

                 reply	other threads:[~2009-03-19 13:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.64.0903191359130.7092@anakin \
    --to=geert@linux-m68k.org \
    --cc=linux-m68k@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    --cc=sfr@canb.auug.org.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox