ghc-mod icon indicating copy to clipboard operation
ghc-mod copied to clipboard

Dynamic linker not initialised

Open afraca opened this issue 7 years ago • 2 comments

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"

afraca avatar Aug 25 '18 06:08 afraca

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

Rhywun avatar Aug 27 '18 14:08 Rhywun

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 ;)

DanielG avatar Aug 27 '18 18:08 DanielG