Ticket #703 (closed merge: fixed), Opened 3 years ago, Last modified 3 months ago
The GNU toolchain supports marking object files that do not need to use an executable stack. Currently all object files produced by GHC lack these notes and so the linker defaults to using an executable stack for the resulting binary.
This makes some people grumpy. In particular it makes the Gentoo QA people grumpy. :-)
The long story:
http://www.gentoo.org/proj/en/hardened/gnu-stack.xml
The quick story:
Every .S file produced by ghc should include:
P.S.: I like Gentoo. Thanks, Daniel!
Non-executable stacks
The GNU toolchain supports marking object files that do not need to use an executable stack. Currently all object files produced by GHC lack these notes and so the linker defaults to using an executable stack for the resulting binary.
This makes some people grumpy. In particular it makes the Gentoo QA people grumpy. :-)
The long story:
http://www.gentoo.org/proj/en/hardened/gnu-stack.xml
The quick story:
Every .S file produced by ghc should include:
Currently this does not happen for either -fasm or -fvia-C..section .note.GNU-stack,"",@progbits
P.S.: I like Gentoo. Thanks, Daniel!
no subject
Date: 2009-01-16 01:14 pm (UTC)I hope you are well - I have an urgent requirement for an ADA 95 Engineer for a contract with my Global client in the Thames Valley / South East.
hi!
Date: 2009-01-19 11:10 pm (UTC)faith