This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: compile failure due to undefined symbol


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

Attachment: signature.asc
Description: This is a digitally signed message part.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]