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

GHC ghc-devs at haskell.org
Tue Aug 11 15:46:59 UTC 2015


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

 * status:  new => closed
 * resolution:   => duplicate
 * os:  Linux => Unknown/Multiple
 * architecture:  x86_64 (amd64) => Unknown/Multiple
 * related:   => #9903


Comment:

 Replying to [comment:3 mrkkrp]:
 > 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.

 They are right, ghc should fail with polite error message instead of a
 panic, but that is exactly why #9903 exists. Cabal's fault is to pass
 `-fhpc` to `ghci`.

 I sent a fix to Cabal, so closing.
 Thank you for reporting the issue.

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


More information about the ghc-tickets mailing list