[GHC] #10765: GHC panic: Loading temp shared object failed with `--enable-coverage` option

GHC ghc-devs at haskell.org
Tue Aug 11 13:11:23 UTC 2015


#10765: GHC panic: Loading temp shared object failed with `--enable-coverage`
option
-------------------------------------+-------------------------------------
        Reporter:  mrkkrp            |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Code Coverage     |                 Version:  7.10.1
      Resolution:                    |                Keywords:  hpc
Operating System:  Linux             |            Architecture:  x86_64
                                     |  (amd64)
 Type of failure:  Runtime crash     |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by Yuras):

 I saw the same issue too, but it is `cabal` fault because it passes
 `-fhpc` to `ghci`. Note: `cabal exec ghci` works, but `cabal exec ghci --
 -fhpc` fails.

 Lack of HPC support in interpreter is
 [https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/hpc.html#idp22264416
 documented]. The relevant issue about bad error message from ghc is #9903.

 I propose to open an issue on `cabal`s tracker and close this one as a
 duplicate of #9903.

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


More information about the ghc-tickets mailing list