This is the mail archive of the
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?
Setting HOST_LIB_PATH_bfd/HOST_LIB_PATH_opcodes causes:
as: error while loading shared libraries:
file too short
make: *** [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.