
#16046: -fno-stack-protector still necessary? -------------------------------------+------------------------------------- Reporter: clumens | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.4.3 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- aclocal.m4 has a block of code that checks to see if gcc supports -fno- stack-protector and adds that flag if so. That ends up in /usr/lib/ghc/settings, gets passed in whenever C bits get built, etc. I see that block was moved into place in 2010, but is even older than that. What I'm wondering is: is that still necessary to do, or do ghc and stack protection play nicely together now? I've searched around but can't find much information about it (searching for ghc and stack is a lot harder since that program appeared). The one thing I've found is: https://gitweb.gentoo.org/repo/gentoo.git/commit/dev- lang/ghc?id=8cee49e4a6c8d9ec80faa4054b621467450d3ebb I'm in charge of building Haskell-related stuff for a semi-private Linux distribution and just want to make sure I'm getting things right. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16046 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler