[Buildroot] libssp missing from target

Grant Edwards grant.b.edwards at gmail.com
Tue Aug 31 18:39:01 UTC 2010


On 2010-08-31, Thomas Petazzoni <thomas.petazzoni at free-electrons.com> wrote:
> On Tue, 31 Aug 2010 14:52:34 +0000 (UTC)
> Grant Edwards <grant.b.edwards at gmail.com> wrote:
>
>> I just added a package (systemtap) that uses libssp.  I find libssp.so
>> et al. are present in output/staging/lib but missing from
>> output/target/lib. Is there something I need to do in my package
>> makefile to tell buildroot that my package needs libssp to be copied
>> from staging into target?
>
> What is libssp?

I don't really know.  Here are the text symbols it defines:

 __chk_fail
 __stack_chk_fail
 __stack_chk_fail_local
 __gets_chk
 __memcpy_chk
 __memmove_chk
 __mempcpy_chk
 __memset_chk
 __stpcpy_chk
 __strcat_chk
 __strcpy_chk
 __strncat_chk
 __strncpy_chk

My guess is it's some internal uClibc stuff.

> Who needs it (besides systemtap)

Nothing that I happen to be building (as far as I know).

> and for what?

I don't know.  Does it matter?

> It seems to exist in uClibc toolchains, but not in glibc toolchains.

OK.

Why not run "ldd" on the binaries in output/target/bin and
output/target/usr/bin and just copy whatever libraries they need?

Does buildroot need to know exactly for what a library is used by each
binary?

-- 
Grant Edwards               grant.b.edwards        Yow! I want to kill
                                  at               everyone here with a cute
                              gmail.com            colorful Hydrogen Bomb!!



More information about the buildroot mailing list