uclibc segfault in ldso

Nigel Kukard nkukard at lbsd.net
Thu Mar 27 22:17:43 UTC 2008


Hi,

> > > > This trace looks like it is missing LD_DEBUG=1 rpm or LD_DEBUG=all rpm,
> > > > such a trace can get very big so you need to trim it down before
> > > > posting. You also need SUPPORT_LD_DEBUG=y in .config
> > >
> > > Stupid busybox, it didn't export the env variable .... I'm rebuilding a
> > > static sh now.
> > >
> > > Uploaded RPM debug to ... http://www.linuxrulz.org/nkukard/rpm.log
> > >
> > > Uploaded my test PIE app to ... http://www.linuxrulz.org/nkukard/rpm.log
> > >
> > 
> > http://www.linuxrulz.org/nkukard/rpm.readelf
> > 
> > Here is a readelf -a from the host system on the target system rpm.
> > 
> > -N
> 
> hmm, this looks fishy:
>      1: 00000000   210 FUNC    GLOBAL DEFAULT  UND rpmcliFini at LIBRPM_0 (2)
>      2: 00000000    22 FUNC    GLOBAL DEFAULT  UND rpmFreeSignature at LIBRPM_0 (2)
>      3: 00000000     4 OBJECT  GLOBAL DEFAULT  UND hdrVec at LIBRPMDB_0 (3)
>      4: 00000000    58 FUNC    GLOBAL DEFAULT  UND freeStringBuf at LIBRPM_0 (2)
>      5: 00000000   454 FUNC    GLOBAL DEFAULT  UND rpmcliQuery at LIBRPM_0 (2)
>      6: 00000000  1484 OBJECT  GLOBAL DEFAULT  UND rpmInstallPoptTable at LIBRPM_0 (2)
>      7: 00000000   281 FUNC    GLOBAL DEFAULT  UND rpmcliSign at LIBRPM_0 (2)
>      8: 00000000   102 FUNC    GLOBAL DEFAULT  UND xstrdup at LIBRPMIO_0 (4)
> ...
> 
> You got GNU ldso symbol version stuff in there. I think you should get rid of
> that first.
> 

Fixed.

Updated the below logs:
RPM debug ... http://www.linuxrulz.org/nkukard/rpm.log
test PIE app ... http://www.linuxrulz.org/nkukard/test.log
RPM readelf ... http://www.linuxrulz.org/nkukard/rpm.readelf

-N
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20080327/1d878e5b/attachment-0002.pgp 


More information about the uClibc mailing list