[Buildroot] where is 'ldd'?
Thomas De Schampheleire
patrickdepinguin+buildroot at gmail.com
Tue Jul 9 18:13:48 UTC 2013
Op 9-jul.-2013 19:43 schreef "Baruch Siach" <baruch at tkos.co.il> het
volgende:
>
> Hi Thomas,
>
> On Tue, Jul 09, 2013 at 07:39:49PM +0200, Thomas De Schampheleire wrote:
> > Op 9-jul.-2013 12:40 schreef "Thomas Petazzoni" <
> > thomas.petazzoni at free-electrons.com> het volgende:
> > >
> > > Dear Thomas De Schampheleire,
> > >
> > > On Mon, 8 Jul 2013 18:49:40 +0200, Thomas De Schampheleire wrote:
> > >
> > > > You really don't need a special ldd.
> > > > ldd is just a script. In its most basic usage (ldd <executable>), it
> > just runs:
> > > > # LD_TRACE_LOADED_OBJECTS=1 <executable>
> > > >
> > > > For example on busybox:
> > > > # LD_TRACE_LOADED_OBJECTS=1 /bin/busybox
> > > > linux-vdso32.so.1 => (0x00100000)
> > > > libc.so.6 => /lib/libc.so.6 (0x0fe70000)
> > > > /lib/ld.so.1 (0x48000000
> > > >
> > > > So for sporadic usage, an ldd script isn't even needed.
> > >
> > > Right, but does this work with the uClibc dynamic loader? Anyway, if
> > > those features don't exist with the uClibc dynamic loader, then
> > > implementing ldd is simply impossible.
> >
> > I haven't tried this on uClibc yet. Anyone that has such a target at
hand
> > willing to give it a shot?
>
> Trying on uClibc (0.9.33.2) xtensa target I see:
>
> # LD_TRACE_LOADED_OBJECTS=1 /bin/busybox
> libc.so.0 => /lib/libc.so.0 (0x20008000)
> ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x20000000)
Thanks! So, it seems to work fine on uClibc as well...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130709/8afdf76a/attachment-0002.html>
More information about the buildroot
mailing list