[PATCH] ntpl: fix static linking by not leaking SSP_ALL_CFLAGS
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Thu Nov 11 15:55:42 UTC 2010
On Thu, Nov 11, 2010 at 03:10:01PM +0000, Natanael Copa wrote:
>The SSP_ALL_CFLAGS in nptl arch CFLAGS leaks out and forces things
>like dl-support.c, brk.c, sbrk.c memcpy, etc to be built with
>-fstack-protector-all. This is bad when linking statically since
>initializing TLS will call those functions before SSP is initialized.
>
>The libpthread itself will still be built with -fstack-protector-all
>due to CFLAGS-nptl has SSP_ALL_CFLAGS in libpthread/nptl/Makefile.in
>
>Thanks to Timo Teras for helping with this.
applied, thanks!
More information about the uClibc
mailing list