[GHC] #8909: ppc dyn executable compiled with ghc-7.8.1 RC2 segfaults

GHC ghc-devs at haskell.org
Wed Mar 19 05:31:35 UTC 2014


#8909: ppc dyn executable compiled with ghc-7.8.1 RC2 segfaults
-------------------------------+-------------------------------------
       Reporter:  juhpetersen  |             Owner:
           Type:  bug          |            Status:  new
       Priority:  normal       |         Milestone:
      Component:  Compiler     |           Version:  7.8.1-rc2
       Keywords:               |  Operating System:  Unknown/Multiple
   Architecture:  powerpc      |   Type of failure:  Runtime crash
     Difficulty:  Unknown      |         Test Case:
     Blocked By:               |          Blocking:
Related Tickets:               |
-------------------------------+-------------------------------------
 I built ghc-7.8.1 RC2 on ppc Fedora 21 Development with ghc-7.6.3.

 When I try to run dynamically linked "helloworld", it segfaults.
 I don't have direct access yet to a ppc box to investigate further.
 I guess something about the use of shared libraries on ppc is not
 working properly.

 {{{
 $ cat > hello.hs
 main = putStrLn "hi"
 $ ghc -dynamic hello.hs
 $ ./hello
 Segmentation fault      (core dumped) ./hello
 }}}

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


More information about the ghc-tickets mailing list