[PATCH 03/18] Do not stack-protect ifunc resolvers.

Mike Frysinger vapier@gentoo.org
Wed Mar 9 22:47:00 GMT 2016


On 08 Mar 2016 13:50, Nix wrote:
> +AC_CACHE_CHECK(if $CC accepts -fno-stack-protector with \
> +__attribute__ ((__optimize__)), libc_cv_cc_no_stack_protector, [dnl
> +cat > conftest.c <<EOF
> +void
> +__attribute__ ((__optimize__ ("-fno-stack-protector")))
> +foo (void) {}
> +EOF

actually, which versions of gcc *don't* support this ?  if it's in gcc-4.7
and newer, then we don't need this test as we require that already.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20160309/cbf832a5/attachment.sig>


More information about the Libc-alpha mailing list