[GHC] #10301: Plugins/dynamic loading subtly broken (it seems)

GHC ghc-devs at haskell.org
Fri Apr 17 09:53:15 UTC 2015


#10301: Plugins/dynamic loading subtly broken (it seems)
-------------------------------------+-------------------------------------
        Reporter:  thoughtpolice     |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:  7.10.2
       Component:  Compiler          |                 Version:  7.8.2
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  crash                              |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:  #8276             |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by darchon):

 A similar panic also happens when you run doctest
 http://hackage.haskell.org/package/doctest on a file that uses a type-
 checker plugin https://github.com/christiaanb/ghc-typelits-
 natnormalise/blob/master/tests/Tests.hs

 {{{
 doctest: doctest: panic! (the 'impossible' happened)
   (GHC version 7.10.1 for x86_64-apple-darwin):
         Static flags have not been initialised!
         Please call GHC.parseStaticFlags early enough.
 }}}

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


More information about the ghc-tickets mailing list