Use system runtime linker in GHCi on PowerPC 64 bit
Teach GHCi to use the system runtime linker to load Haskell libraries on powerpc64.
See the following test failures.
ghcilink004:
ghc-stage2: dir004/libfoo.a: unknown architecture (e_machine == 21)
ghc-stage2: panic! (the 'impossible' happened)
(GHC version 7.11.20151219 for powerpc64-unknown-linux):
loadArchive "dir004/libfoo.a": failed
CallStack (from ImplicitParams):
error, called at libraries/ghci/GHCi/ObjLink.hs:91:21 in ghci-0.0:GHCi.ObjLink
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
prog001:
ghc-iserv.bin: /home/peter/ghc/libraries/ghc-prim/dist-install/build/libHSghc-prim-0.5.0.0.a: unknown architecture (e_machine == 21)
ghc-iserv.bin: loadArchive "/home/peter/ghc/libraries/ghc-prim/dist-install/build/libHSghc-prim-0.5.0.0.a": failed
CallStack (from ImplicitParams):
error, called at libraries/ghci/GHCi/ObjLink.hs:91:21 in ghci-0.0:GHCi.ObjLink
ghc-stage2: ghc-iserv terminated (1)
Using the system runtime linker fixes 13 failing tests.
Trac metadata
Trac field | Value |
---|---|
Version | 7.11 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | GHCi |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |