[GHC] #16046: -fno-stack-protector still necessary?
GHC
ghc-devs at haskell.org
Mon Dec 17 19:36:27 UTC 2018
#16046: -fno-stack-protector still necessary?
-------------------------------------+-------------------------------------
Reporter: clumens | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Build System | Version: 8.4.3
(make) |
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Changes (by slyfox):
* cc: slyfox (added)
Comment:
Interesting. Initially this change was added for openbsd specifically for
ghc-6.5:
changeset:f638fdfe1d9de1307355c8074fbff9c28342c0ef (2006)
and later it was extended to cover osx:
changeset:c2cd83e7d85c11e6a33e1cde263eb2312566d535 (2009)
None of the reports hint at exact breakage.
I guess both happened in -fvia-C mode where GHC's Evil Mangler had a
chance to mangle stack canaries generated by fstack-protector.
As ghc has no evil mangler anymore it could work. I'll prepare a patch.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/16046#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list