This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
binutils/ld: mips linux build broken in latest -git head
- From: Manuel Lauss <manuel dot lauss at gmail dot com>
- To: binutils at sourceware dot org, Andrew Bennett <andrew dot bennett at imgtec dot com>
- Date: Sat, 6 Dec 2014 20:34:41 +0100
- Subject: binutils/ld: mips linux build broken in latest -git head
- Authentication-results: sourceware.org; auth=none
Hi Andrew,
your commit 538baf8b7e6d17a490f126f8565638469da70204
([MIPS] When calculating a relocation using an undefined weak symbol
don't check for overflow.) to ld causes a ton of the following warnings when
building linux, along with an unbootable kernel:
mipsel-softfloat-linux-gnu-ld: drivers/video/built-in.o: Can't find
matching LO16 reloc against `num_registered_fb' for R_MIPS_HI16 at
0x9cd0 in section `.text'
mipsel-softfloat-linux-gnu-ld: drivers/video/built-in.o: Can't find
matching LO16 reloc against `mem_map' for R_MIPS_HI16 at 0x13160 in
section `.text'
mipsel-softfloat-linux-gnu-ld: drivers/video/built-in.o: Can't find
matching LO16 reloc against `$LC21' for R_MIPS_HI16 at 0x13230 in
section `.text'
mipsel-softfloat-linux-gnu-ld: drivers/tty/built-in.o: Can't find
matching LO16 reloc against `$LC21' for R_MIPS_HI16 at 0x28b0 in
section `.text'
mipsel-softfloat-linux-gnu-ld: drivers/tty/built-in.o: Can't find
matching LO16 reloc against `platform_sysrq_reset_seq' for R_MIPS_HI16
at 0xf060 in section `.text'
A simple revert fixes all.
Please have a look!
Thanks,
Manuel Lauss