dump-core
dump-core copied to clipboard
Fails with panic on windows with ghc-8.0.1
$ stack ghc -- -O0 test.hs -fplugin=DumpCore -fplugin-opt DumpCore:core-html
[1 of 1] Compiling Test ( test.hs, test.o ) [DumpCore changed]
ghc.EXE: panic! (the 'impossible' happened)
(GHC version 8.0.1 for x86_64-unknown-mingw32):
Static flags have not been initialised!
Please call GHC.parseStaticFlags early enough.
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
I've found an older ticket which might be the reason: https://ghc.haskell.org/trac/ghc/ticket/10301
Hasn't landed in GHC 8.0.2 yet so can't tell if this fixes this instance as well.
Update: I've tested it with GHC HEAD and it works there. So it's just a matter of waiting until the fix makes it into stable.
Works with 8.0.2 and HEAD for me.
I've just confirmed this again on my Notebook [W10 64Bit (Build 14393) with GHC-8.0.2] What version of windows are you running?
I don't have GHC-Head configured here so can't test that now, but I assume that would work.
I'm also using 8.0.2 and getting this panic:
ghc.EXE: panic! (the 'impossible' happened)
(GHC version 8.0.2 for x86_64-unknown-mingw32):
Static flags have not been initialised!
Please call GHC.parseStaticFlags early enough.
Windows x64, package version is 0.1.3.