This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Why do we need to set HOST_LIB_PATH_bfd/HOST_LIB_PATH_opcodes?
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Binutils <binutils at sourceware dot org>, GCC Development <gcc at gcc dot gnu dot org>
- Date: Sat, 25 Aug 2012 08:31:58 -0700
- Subject: Why do we need to set HOST_LIB_PATH_bfd/HOST_LIB_PATH_opcodes?
Hi,
Setting HOST_LIB_PATH_bfd/HOST_LIB_PATH_opcodes causes:
as: error while loading shared libraries:
/builddir/build/BUILD/binutils/./opcodes/.libs/libopcodes-2.23.51.0.2-0.1.fc17.so:
file too short
make[4]: *** [gold-threads.o] Error 2
when compiling gold using binutils linked with the same versions of libbfd
and libopcodes. As far as I can tell, one can run the newly built binutils
without setting them since libtool already sets up proper DT_RPATH.
--
H.J.