[GHC] #9625: ghc: panic using --enable-executable-dynamic

GHC ghc-devs at haskell.org
Mon Sep 22 18:26:00 UTC 2014


#9625: ghc: panic  using --enable-executable-dynamic
-------------------------------------+-------------------------------------
       Reporter:  CoreyOConnor       |                   Owner:
           Type:  bug                |                  Status:  new
       Priority:  normal             |               Milestone:
      Component:  Compiler           |                 Version:  7.8.3
       Keywords:                     |        Operating System:
   Architecture:  Unknown/Multiple   |  Unknown/Multiple
     Difficulty:  Unknown            |         Type of failure:  Compile-
     Blocked By:                     |  time crash
Related Tickets:                     |               Test Case:
                                     |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------
 (from: https://github.com/haskell/cabal/issues/2039)

 Using --enable-executable-dynamic leads to a ghc panic.

 Reproduction steps:

 1. clone https://github.com/coreyoconnor/executable-dynamic-issue
 2. cabal configure --enable-tests --enable-executable-dynamic
 3. cabal test

 Expected results: Test executes and passes.

 Actual results:

 {{{
 ghc: panic! (the 'impossible' happened) (GHC version 7.8.2 for x86_64
 -unknown-linux): Don't understand library name verify-foo
 }}}

 Actual results varies based on the name of "verify-foo" test suite. Other
 names tried: "verifyFoo", "VerifyFoo". All of which also fail.

 Removing "--enable-executable-dynamic" results in a pass regardless of
 test suite name.

 Reproduced on GHC 7.8.2, GHC 7.8.3, Cabal 1.18, Cabal 1.20. Ubuntu.

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


More information about the ghc-tickets mailing list