build glibc with stack protector all

Rogelio Serrano rogelio.serrano at
Wed Jan 16 03:27:07 PST 2008

On Jan 16, 2008 11:27 AM, Rogelio Serrano <rogelio.serrano at> wrote:
> On Jan 16, 2008 8:03 AM, Robert Connolly <robert at> wrote:
> > For a few months -fno-stack-protector is used to build and the
> > libraries, using the 'configparms' file to reset some build
> > rules. -fstack-protector-all can be used when building the utilities.
> >
> > robert
> >
> why? is it because the build system makes it hard? i know stack
> protection has some overhead but i dont mind.
> i think its possible to build everything with stack-protector-all. but
> does it make sense to do that? i cant think of any reason why not
> though.
> maybe all thats needed is tweaking the configparms file. i tried
> linking with libssp.a but it brings in symbols unneeded by
> maybe its better to copy a custom ssp into
> i wonder how openbsd does it.

Glibc by itself know when ssp works and uses it respectively and glibc
code is so opaque to me that i cant fix it.

Lay low and nourish in obscurity

More information about the hlfs-dev mailing list