question about "-fstack-protector" and fedora

Reindl Harald h.reindl at
Thu Jun 30 13:19:10 UTC 2011


as far as i can see fedora is built with "-fstack-protector" and not
"-fstack-protector-all" - is there a specific reason for not using
the "all" variant or is it safe to rebuild server-packages with it?
> The GCC options for SSP are -fstack-protector, -fstack-protector-all, and
> -Wstack-protector. The -fstack-protector option only protects functions with
> character arrays, and is generally not recomended. The -fstack-protector-all
> option protects all functions. The -Wstack-protector option will produce a
> warning about any functions which are not protected. This warning can occure
> in functions with buffers smaller than 8 bytes.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
Url : 

More information about the devel mailing list