This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
binutils broken on Debian GNU/Linux 4.0 i686-pc-linux-gnu
- From: Rask Ingemann Lambertsen <rask at sygehus dot dk>
- To: binutils at sourceware dot org
- Date: Sun, 24 Jun 2007 23:36:42 +0200
- Subject: 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