Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails with panic on windows with ghc-8.0.1 #2

Open
AndreasPK opened this issue Feb 12, 2017 · 4 comments
Open

Fails with panic on windows with ghc-8.0.1 #2

AndreasPK opened this issue Feb 12, 2017 · 4 comments

Comments

@AndreasPK
Copy link

$ 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

@AndreasPK
Copy link
Author

AndreasPK commented Feb 12, 2017

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.

@mpickering
Copy link
Contributor

Works with 8.0.2 and HEAD for me.

@AndreasPK
Copy link
Author

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.

@Porges
Copy link

Porges commented Jul 5, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants