glibc-2.8-20080929 build fails in Chapter 5

Robert Connolly robert at linuxfromscratch.org
Wed Oct 15 13:31:24 PDT 2008


On Wednesday October 15 2008 04:21:34 pm Valter Douglas Lisbôa Jr. wrote:
> > When GCC 4.1 released libssp, Glibc copied all of libssp in to Glibc, for
> > better performance.
>
> Statically?

In libc.so. I'm not sure what you mean by statically.

> > This happened in Glibc 2.4 or 2.5. If you're running a
> > new Glibc, libssp can not be used because it will conflict with identical
> > functions in Glibc.
> >
> > The only way I can think of using libssp is when cross compiling...
> > linking to another libc with no ssp support, and libssp.a.

This probably wouldn't work by the way, if libssp.a has symbols from Glibc.

> Let me see if I get the point. The Stack Smash protector run without the
> presence of libssp.{so,a}, is that?!?!

Yes.

robert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-dev/attachments/20081015/29cc84a5/attachment.sig>


More information about the lfs-dev mailing list