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

GHC ghc-devs at haskell.org
Tue Jun 9 03:38:15 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:
---------------------------------+-----------------------------------------

Comment (by rleslie):

 I do not have `-fobject-code` set in my cabal file.

 Adding `cc-options: -fPIC` to the cabal file does avoid the first problem
 I encountered, but the second one remains (with GHCi imploring me to
 report this as a GHC bug).

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


More information about the ghc-tickets mailing list