This is the mail archive of the binutils@sources.redhat.com 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: Compiling binutils-2.14: -dynamic-linker ignored for libraries


On Sat, Jun 14, 2003 at 09:47:58PM +0000, Peter Hartlich wrote:
> Daniel Jacobowitz wrote:
> 
> >> Is there any way to get lib/* to use the right dynamic linker?
> 
> > -dynamic-linker sets the value of the .interp section in binaries. 
> > Libraries don't get one (libc.so.6 is an exception, due to some magic).
> > The entry you're seeing above probably has nothing to do with
> > -dynamic-linker, and everything to do with -rpath.
> > 
> > Try using objdump -p and readelf; they are much more informative than
> > ldd.
> 
> Both correctly show RPATH as /pkg/glibc/lib. So, can I be safe that
> if someday /pkg/glibc links to e.g. /pkg/glibc-2.3.3, things won't break?

Presumably... you'll have to wait and see :)

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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