[GHC] #703: all binaries built by ghc have executable stacks

GHC ghc-devs at haskell.org
Wed Jun 12 07:55:29 CEST 2013


#703: all binaries built by ghc have executable stacks
---------------------------+------------------------------------------------
  Reporter:  duncan        |          Owner:                            
      Type:  merge         |         Status:  new                       
  Priority:  normal        |      Milestone:  6.6.1                     
 Component:  Compiler      |        Version:  7.6.3                     
Resolution:                |       Keywords:                            
        Os:  Linux         |   Architecture:  Unknown/Multiple          
   Failure:  None/Unknown  |     Difficulty:  Moderate (less than a day)
  Testcase:  N/A           |      Blockedby:                            
  Blocking:                |        Related:                            
---------------------------+------------------------------------------------

Comment(by fpishard):

 {{{

 ✗ /opt/haskell/bin/ghc --version
 The Glorious Glasgow Haskell Compilation System, version 7.6.3

 ✗ cat hello.hs
 module Main where

 main = putStrLn "Hello, World!"

 ✗ /opt/haskell/bin/ghc hello.hs
 Linking hello ...

 ✗ checksec.sh --file hello
 RELRO           STACK CANARY      NX            PIE             RPATH
 RUNPATH      FILE
 Partial RELRO   No canary found   NX disabled   No PIE          No RPATH
 No RUNPATH   hello

 ✗ cat /etc/redhat-release
 Fedora release 18 (Spherical Cow)

 ✗ gcc --version
 gcc (GCC) 4.7.2 20121109 (Red Hat 4.7.2-8)
 ...

 }}}

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



More information about the ghc-tickets mailing list