[GHC] #703: all binaries built by ghc have executable stacks
GHC
ghc-devs at haskell.org
Sat Aug 31 02:58:37 UTC 2013
#703: all binaries built by ghc have executable stacks
----------------------------+----------------------------------------------
Reporter: duncan | Owner: ezyang
Type: merge | Status: merge
Priority: normal | Milestone: 6.6.1
Component: | Version: 7.6.3
Compiler (NCG) | Keywords:
Resolution: | Architecture: Unknown/Multiple
Operating System: Linux | Difficulty: Moderate (less than a day)
Type of failure: | Blocked By:
None/Unknown | Related Tickets:
Test Case: N/A |
Blocking: |
----------------------------+----------------------------------------------
Comment (by ezyang):
Sorry about not following up sooner. If any object that will be linked in
has executable stack set, then the whole binary will have an executable
stack. So it would seem HSbase*.o is at fault. However, in GHC HEAD I
have no problem:
{{{
ezyang at javelin:~/Dev/ghc-build-alloc$ readelf -W -l libraries/base/dist-
install/build/libHSbase-4.7.0.0-ghc7.7.20130830.so | grep GNU_STACK
GNU_STACK 0x000000 0x0000000000000000 0x0000000000000000 0x000000
0x000000 RW 0x8
}}}
Perhaps some library HSbase is using has an executable stack?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/703#comment:26>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list