binutils broken on Debian GNU/Linux 4.0 i686-pc-linux-gnu

Rask Ingemann Lambertsen rask@sygehus.dk
Sun Jun 24 21:36:00 GMT 2007
   I've just run cvs update. Here's my configure line:

$ ~/src/src/configure --target=mipsisa64-unknown-elf --disable-gdb --disable-nls

   Building fails linking size:

make[4]: Entering directory `/home/rask/testbuild/binutils'
/bin/sh ./libtool --tag=CC --mode=link gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2   -o size  size.o bucomm.o version.o filemode.o ../bfd/libbfd.la ../libiberty/libiberty.a
libtool: link: gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -o size size.o bucomm.o version.o filemode.o ../libiberty/libiberty.a  ../bfd/.libs/libbfd.a
../bfd/.libs/libbfd.a(archive.o): In function `_bfd_add_bfd_to_archive_cache':
/home/rask/src/src/bfd/archive.c:324: undefined reference to `htab_find_slot'

   Notice that the libraries are listed in the wrong order:
../libiberty/libiberty.a  ../bfd/.libs/libbfd.a
It works if I manually swap them.

-- 
Rask Ingemann Lambertsen



More information about the Binutils mailing list