
#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 mrkkrp): Replying to [comment:2 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#idp... 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.
I opened an issue on Cabal's GitHub page before reporting it here: https://github.com/haskell/cabal/issues/2757 where I was told that "GHC Panic" is usually signifies a GHC bug. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10765#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler