Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Gcc 4.2.2 broken for kernel builds
@ 2007-10-12 17:22 Ralf Baechle
  2007-10-12 17:48 ` David Daney
  2007-10-12 22:42 ` David Daney
  0 siblings, 2 replies; 14+ messages in thread
From: Ralf Baechle @ 2007-10-12 17:22 UTC (permalink / raw)
  To: linux-mips

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[2]: *** [drivers/mtd/mtd_blkdevs.o] Error 1
make[1]: *** [drivers/mtd] Error 2
make: *** [drivers] Error 2

Just as heads up ...

  Ralf

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2007-10-24 19:47 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-12 17:22 Gcc 4.2.2 broken for kernel builds Ralf Baechle
2007-10-12 17:48 ` David Daney
2007-10-12 17:53   ` Ralf Baechle
2007-10-12 18:33     ` David Daney
2007-10-12 18:49       ` Ralf Baechle
2007-10-12 19:14         ` Martin Michlmayr
2007-10-12 19:16           ` Ralf Baechle
2007-10-13 10:51             ` Richard Sandiford
2007-10-15 14:59               ` Maciej W. Rozycki
2007-10-15 16:19                 ` Richard Sandiford
2007-10-24 19:46             ` Martin Michlmayr
2007-10-12 20:33           ` Martin Michlmayr
2007-10-12 18:45     ` Martin Michlmayr
2007-10-12 22:42 ` David Daney

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