recent mips-elf linker "architecture ... incompatible" regressions
cgd@broadcom.com
cgd@broadcom.com
Wed Mar 13 15:59:00 GMT 2002
Recently -- not quite sure when, haven't tracked it down -- building
on host sparc-solaris for --target=mips-elf started showing the
following ld testsuite errors:
FAIL: MIPS 32-bit ELF embedded-pic relocs #1-ln (large negative)
FAIL: MIPS 32-bit ELF embedded-pic relocs #1-lp (large positive)
FAIL: MIPS 32-bit ELF embedded-pic relocs #1-mn (medium negative)
FAIL: MIPS 32-bit ELF embedded-pic relocs #1-mp (medium positive)
FAIL: MIPS 32-bit ELF embedded-pic relocs #1-sn (small negative)
FAIL: MIPS 32-bit ELF embedded-pic relocs #1-sp (small positive)
FAIL: MIPS 32-bit ELF embedded-pic relocs #2-fwd-0 (0x7ffc forward edge case)
FAIL: MIPS 32-bit ELF embedded-pic relocs #2-fwd-1 (0xfffc forward edge case)
FAIL: MIPS 32-bit ELF embedded-pic relocs #2-rev-0 (0x0004 backward edge case)
FAIL: MIPS 32-bit ELF embedded-pic relocs #2-rev-1 (0x8004 backward edge case)
Looking deeper at the logs, those are caused by linker errors like:
./ld-new: warning: mips:4000 architecture of input file `tmpdir/dump0.o' is incompatible with mips output
./ld-new: warning: mips:4000 architecture of input file `tmpdir/dump1.o' is incompatible with mips output
./ld-new: warning: mips:4000 architecture of input file `tmpdir/dump2.o' is incompatible with mips output
./ld-new: warning: mips:4000 architecture of input file `tmpdir/dump3.o' is incompatible with mips output
These tests used to work, and we're extenstively using code not too
unlike them. Anybody got any ideas what broken here, or do i get to
track it down myself? 8-)
chris
More information about the Binutils
mailing list