DanielG / ghc-mod

Happy Haskell Hacking for editors. DEPRECATED
Other
676 stars 175 forks source link

Dynamic linker not initialised #939

Open afraca opened 6 years ago

afraca commented 6 years ago
Got error while processing diagnostics: GHC panic! (the 'impossible' happened) ghc-mod version 5.9.0.0 GHC library version 8.2.2 for x86_64-unknown-mingw32: Dynamic linker not initialised

I haven't yet figured out how all the parts work together under the hood, so I hope some details are relevant: OS : Windows 10 Editor: VS Code Extension: Haskell Language Server

Maybe it's relevant, but I've got a Powershell window open with stack build --fast --file-watch --ghc-options "-fno-code"

Rhywun commented 6 years ago

Same here but on macOS:

Got error while processing diagnostics: GHC panic! (the 'impossible' happened) ghc-mod version 
5.9.0.0 GHC library version 8.4.3 for x86_64-apple-darwin: Dynamic linker not initialised Please report 
this as a bug: https://github.com/kazu-yamamoto/ghc-mod/issues

Update: this workaround seems to make the issue go away for me

DanielG commented 6 years ago

If this is indeed a GHC issue as the HIE issues seem to suggest then there isn't much we can do about it in ghc-mod.

These things tend to happen when a release process suddenly has to go 4x faster though ;)