build glibc with stack protector all

Rogelio Serrano rogelio.serrano at
Tue Jan 15 19:27:03 PST 2008

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

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.

Lay low and nourish in obscurity

More information about the hlfs-dev mailing list