Are my libs correct?
Ed W
lists at wildgooses.com
Fri Jul 3 10:47:53 UTC 2009
Mike Frysinger wrote:
> On Thursday 02 July 2009 14:53:03 Ed W wrote:
>
>> Mike Frysinger wrote:
>>
>>> On Thursday 02 July 2009 13:04:02 Ed W wrote:
>>>
>>>> Hi, I'm using a gentoo uclibc system and just updated it to 0.9.30.1
>>>>
>>>> I notice a curious feature of binaries which is causing problems with
>>>> some other gentoo ebuilds.
>>>>
>>>> Essentially if I use readelf -d, this gives me (amongst other things):
>>>>
>>>> 0x00000001 (NEEDED) Shared library: [libc.so.0]
>>>> 0x00000001 (NEEDED) Shared library: [ld-uClibc.so.0]
>>>>
>>>> ...however, other uclibc users don't get the second line
>>>>
>>>> Can anyone shed some light on the second line (ld-uClibc.so.0) and
>>>> whether it's correct, due to some facet of my toolchain and whether it
>>>> represents a problem I should resolve?
>>>>
>>> the answer is "it depends". it could be correct, and it could be wrong.
>>> a few symbols are provided by the loader and that is why the C library
>>> linker script reads "AS_NEEDED ( ld-uClibc.so.0 )". glibc operates the
>>> same way.
>>>
>> I filed a bug here (and suggested patch):
>> http://bugs.gentoo.org/show_bug.cgi?id=275725
>>
>> I guess I'm just trying to get to the bottom of whether my toolchain is
>> incorrect right now or whether this is a valid thing to fix in the
>> gentoo sandbox configure script?
>>
>
> i'm pretty sure that behavior is correct because you're using a hardened
> system and the SSP symbol is in the ldso
> -mike
>
Aha! That would make sense. So it's the hardened aspect which is
showing this extra lib? Super
Note I commented on your patch on the gentoo bug tracker - I can imagine
where you are going with it, but I don't understand your grep regexp
specifically and it's not currently matching anything (here)?
Thanks!
Ed W
More information about the uClibc
mailing list