compile failure due to undefined symbol

Mike Frysinger vapier@gentoo.org
Tue Oct 2 20:49:00 GMT 2007


On Tuesday 02 October 2007, Maciej W. Rozycki wrote:
>  We have this RPATH_ENVVAR setting in the top-level directory.  It breaks
> things.  For my setup (Linux configurations) it adds some build
> directories to LD_LIBRARY_PATH.  It breaks system-installed tools when
> building a cross-toolchain, because the newly-built BFD library, although
> for the same host, has a different target.  But for a libtool-based setup
> there should be no need to use LD_LIBRARY_PATH or anything like this at
> all.  This is because libtool has explicit support for running uninstalled
> newly-built binaries via the "--mode=execute" option.  This option, under
> the bonnet, does all the relinking/rpath/whatever hassle is required for
> the given platform.  All that is required is that .la files are used to
> refer to libraries dependent on during the build and libtool.

this is what we came to in a previous thread as well:
http://sourceware.org/ml/binutils/2007-07/msg00401.html

ive been simply deleting RPATH_ENVVAR in the toplevel configure for Gentoo ...
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
URL: <https://sourceware.org/pipermail/binutils/attachments/20071002/a29242b8/attachment.sig>


More information about the Binutils mailing list