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 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


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