This is the mail archive of the
mailing list for the glibc project.
Mike Frysinger <firstname.lastname@example.org> wrote:
> On Monday 05 May 2008, Mark Seaborn wrote:
> > It would be useful if glibc knew how to turn gcc's stack-protector
> > option off. This patch should do the trick. If -fno-stack-protector
> > is available it adds it to CFLAGS:
> ugh, no. this is the opposite of what we should do. glibc should
> detect that it's being built with SSP and so account for it. we
> build glibc with SSP in Hardened Gentoo. we havent bothered posting
> the changes to the libc lists though as we've always been told that
> what we want to do (build glibc with SSP) is stupid.
OK, I found the changes you were referring to. This file makes ld.so
build with -fstack-protector:
and this adds it into the glibc source tree:
Not sure I like the idea of having ld.so know about syslog.
I think you should post changes like this. It helps the rest of us
understand glibc if nothing else.