|To:||Ralf Baechle <email@example.com>|
|Subject:||Re: Gcc 4.2.2 broken for kernel builds|
|From:||David Daney <firstname.lastname@example.org>|
|Date:||Fri, 12 Oct 2007 10:48:54 -0700|
|User-agent:||Thunderbird 188.8.131.52 (X11/20070719)|
Ralf Baechle wrote:
So it looks as if gcc 4.2.2 is broken for kernel builds resulting in the following error message with binutils 2.18: CC drivers/mtd/mtd_blkdevs.o mipsel-linux-ld: drivers/mtd/.tmp_mtd_blkdevs.o: Can't find matching LO16 reloc against `$LC6' for R_MIPS_HI16 at 0x9e0 in section `.text' CC drivers/mtd/chips/chipreg.o Older binutils throw a more cryptic error message about the bad assembler code generated by gcc: CC drivers/mtd/mtd_blkdevs.o mipsel-linux-ld: final link failed: Bad value make: *** [drivers/mtd/mtd_blkdevs.o] Error 1 make: *** [drivers/mtd] Error 2 make: *** [drivers] Error 2 Just as heads up ...
Could you file a bug report here: http://gcc.gnu.org/bugzilla/If you could include a pointer to the kernel sources you were using and perhaps attach your .config to the bug that might be useful as well.
Thanks, David Daney
|<Prev in Thread]||Current Thread||[Next in Thread>|
|Previous by Date:||Re: [PATCH] Discardable strings for init and exit sections, Sam Ravnborg|
|Next by Date:||Re: [PATCH] Discardable strings for init and exit sections, Ralf Baechle|
|Previous by Thread:||Gcc 4.2.2 broken for kernel builds, Ralf Baechle|
|Next by Thread:||Re: Gcc 4.2.2 broken for kernel builds, Ralf Baechle|
|Indexes:||[Date] [Thread] [Top] [All Lists]|