[klibc] Adding -nostdlib to REQFLAGS

H. Peter Anvin hpa at zytor.com
Thu Sep 1 20:11:42 PDT 2005

Martin Schlemmer wrote:
> Hi,
> For our hardened profiles (gcc with SSP among things), its specs file
> tries to figure out when it should disable SSP for kernel/whatever
> builds by checking if -nostdlib was passed.  KLIBC however do not pass
> this, so it tries to compile with -fno-stack-protector, and then fails
> to link as it cannot resolve the __guard, etc symbols (in glibc).
>   http://bugs.gentoo.org/show_bug.cgi?id=103437
> Any objection to attached patch?

I have committed this; however, in the future, please don't send 
base64-encoded patches; I'd rather be able to use git-applymbox to get 
the author info correct.


More information about the klibc mailing list