[GHC] #10458: GHCi fails to load shared object (the 'impossible' happened)

GHC ghc-devs at haskell.org
Tue Jun 9 02:50:12 UTC 2015


#10458: GHCi fails to load shared object (the 'impossible' happened)
---------------------------------+-----------------------------------------
        Reporter:  rleslie       |                   Owner:
            Type:  bug           |                  Status:  new
        Priority:  normal        |               Milestone:  7.10.2
       Component:  GHCi          |                 Version:  7.10.1
      Resolution:                |                Keywords:
Operating System:  Linux         |            Architecture:  x86_64 (amd64)
 Type of failure:  None/Unknown  |               Test Case:
      Blocked By:                |                Blocking:
 Related Tickets:                |  Differential Revisions:
---------------------------------+-----------------------------------------
Changes (by rwbarton):

 * milestone:   => 7.10.2


Comment:

 Actually I was wrong about the exact issue being discussed in #10442, but
 the rest of my comment still applies.

 Do you have `-fobject-code` set in your cabal file somewhere? Of course
 what you are trying to do should work even so, but as a workaround you can
 use the bytecode interpreter.

 You do need to build your cbits with `-fPIC` here. I thought that Cabal
 was smart enough to do that automatically, but I guess not? Anyways, a
 Cabal issue and not a GHC one.

 Tentatively re-milestoning for 7.10.2.

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


More information about the ghc-tickets mailing list