GHC panic: Loading temp shared object failed with `--enable-coverage` option
Please see this StackOverflow question and answer for comprehensive description.
http://stackoverflow.com/questions/31937302/ghc-panic-loading-temp-shared-object-failed
In short, when test coverage (via HPC) is enabled (via cabal configure --enable-coverage
) and cabal repl
is started for non-test build target you get a GHC panic when you try to interact with your functions via REPL.
Trac metadata
Trac field | Value |
---|---|
Version | 7.10.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Code Coverage |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | Linux |
Architecture | x86_64 (amd64) |