Skip to content

ppc dyn executable compiled with ghc-7.8.1 RC2 segfaults

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
Trac metadata
Trac field Value
Version 7.8.1-rc2
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information