[GHC] #10369: arm binaries have an executable stack

GHC ghc-devs at haskell.org
Sun May 3 23:55:02 UTC 2015


#10369: arm binaries have an executable stack
-------------------------------------+---------------------------------
        Reporter:  erikd             |                   Owner:  erikd
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:  7.12.1
       Component:  Compiler          |                 Version:  7.11
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:  arm
 Type of failure:  Other             |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+---------------------------------

Comment (by erikd):

 Tested this on x86_64 by hacking `aclocal.m4` to add `x86_64` to `arm` and
 `aarch64`, then configured and checked that the `settings` file contained:

 {{{
  ("C compiler link flags", " -fuse-ld=gold"),
  ("ld command", "/usr/bin/ld.gold"),
 }}}

 built the compiler and then ran test `T703` and it passed.

 So, when using `ld.gold` on `x86_64` we do not end up with an executable
 stack. This seems like an Arm specific problem.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10369#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list