[GHC] #11259: Use system runtime linker in GHCi on PowerPC 64 bit

GHC ghc-devs at haskell.org
Sat Dec 19 19:30:37 UTC 2015


#11259: Use system runtime linker in GHCi on PowerPC 64 bit
-------------------------------------+-------------------------------------
           Reporter:  trommler       |             Owner:  trommler
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:  8.2.1
          Component:  GHCi           |           Version:  7.11
           Keywords:                 |  Operating System:  Linux
       Architecture:  powerpc64      |   Type of failure:  GHCi crash
          Test Case:  ghcilink004,   |        Blocked By:
  prog001, and 11 more               |
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 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.

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


More information about the ghc-tickets mailing list