why does -flto remove stack-protector
Reindl Harald
h.reindl at thelounge.net
Mon Apr 27 19:28:41 UTC 2015
Fedora 21 - GCC 4.9.2
why are shared libraries with -flto no longer have stack protection?
______________________________________________
with -flto
/usr/lib64/httpd/modules/libphp5.so:
Position Independent Executable: no, regular shared library (ignored)
Stack protected: no, not found!
Fortify Source functions: yes (some protected functions found)
Read-only relocations: yes
Immediate binding: yes
without -flto
/usr/lib64/httpd/modules/libphp5.so:
Position Independent Executable: no, regular shared library (ignored)
Stack protected: yes
Fortify Source functions: yes (some protected functions found)
Read-only relocations: yes
Immediate binding: yes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20150427/93adc518/attachment.sig>
More information about the devel
mailing list