compile failure due to undefined symbol

Daniel Jacobowitz drow@false.org
Tue Oct 2 15:30:00 GMT 2007


On Tue, Oct 02, 2007 at 04:08:08PM +0100, Nick Clifton wrote:
> Hi Daniel,
> 
> >  0x000000000000000f (RPATH)              Library rpath: 
> > [/work/builds/binutils/current/shared-build/opcodes/../bfd/.libs]
> 
> >> But if it adds an rpath to the installed libraries, I think we should avoid 
> >> that.
> > No, it does not do that. :-)
> 
> Umm, make that, it does add an rpath.  Hmm, so why do the binaries still work 
> if I rename my build bfd directory ?  I am confused:

If the RPATH directory is missing, it's ignored.  But if it's present,
it will be used - so putting some other libbfd there will break your
installed assembler and linker.  Potential security hole and definite
nuisance.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Binutils mailing list