This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


   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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]