Why do we need to set HOST_LIB_PATH_bfd/HOST_LIB_PATH_opcodes?
H.J. Lu
hjl.tools@gmail.com
Sat Aug 25 15:32:00 GMT 2012
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.
More information about the Gcc
mailing list