build glibc with stack protector all
rogelio.serrano at gmail.com
Wed Jan 16 03:27:07 PST 2008
On Jan 16, 2008 11:27 AM, Rogelio Serrano <rogelio.serrano at gmail.com> wrote:
> On Jan 16, 2008 8:03 AM, Robert Connolly <robert at linuxfromscratch.org> wrote:
> > For a few months -fno-stack-protector is used to build ld.so 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 ld.so with libssp.a but it brings in symbols unneeded by
> ld.so. maybe its better to copy a custom ssp into ld.so.
> 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