9.2.6 linker on windows fails to build ghcide
This is a regression (9.2.5 worked).
[17 of 73] Compiling Development.IDE.Session.VersionCheck ( session-loader\Development\IDE\Session\VersionCheck.hs, D:\\a\haskell-language-server\haskell-language-server\dist-newstyle\build\x86_64-windows\ghc-9.2.6\ghcide-1.9.1.0\opt\build\Development\IDE\Session\VersionCheck.o )
ghc-9.2.6.exe: | C:\ghcup\ghc\9.2.6\lib\x86_64-windows-ghc-9.2.6\ghc-9.2.6\libHSghc-9.2.6.a: unknown symbol `setKeepCAFs'
ghc-9.2.6.exe: | C:\ghcup\ghc\9.2.6\lib\x86_64-windows-ghc-9.2.6\ghc-9.2.6\libHSghc-9.2.6.a: unknown symbol `keepCAFsForGHCi'
ghc-9.2.6.exe: | C:\Users\runneradmin\AppData\Roaming\cabal\store\ghc-9.2.6\ghc-check-0.5.0.8-0e8e36b7edab7a20a9de317840dc9f061cff21bd\lib\libHSghc-check-0.5.0.8-0e8e36b7edab7a20a9de317840dc9f061cff21bd.a: unknown symbol `ghc_GHC_setSessionDynFlags_closure'
ghc-9.2.6.exe: ^^ Could not load 'ghczmcheckzm0zi5zi0zi8zm0e8e36b7edab7a20a9de317840dc9f061cff21bd_GHCziCheck_makeGhcVersionChecker_closure', dependency unresolved. See top entry above.
GHC.ByteCode.Linker.lookupCE
During interactive linking, GHCi couldn't find the following symbol:
ghczmcheckzm0zi5zi0zi8zm0e8e36b7edab7a20a9de317840dc9f061cff21bd_GHCziCheck_makeGhcVersionChecker_closure
This may be due to you not asking GHCi to load extra object files,
archives or DLLs needed by your current session. Restart GHCi, specifying
the missing library using the -L/path/to/object/dir and -lmissinglibname
flags, or simply by naming the relevant files on the GHCi command line.
Alternatively, this link failure might indicate a bug in GHCi.
If you suspect the latter, please report this as a GHC bug:
https://www.haskell.org/ghc/reportabug
Error: cabal-3.8.1.0.exe: Failed to build ghcide-1.9.1.0 (which is required by
exe:hls-wrapper from hls-1.9.1.0 and exe:hls from hls-1.9.1.0).
Full log: https://github.com/haskell/haskell-language-server/actions/runs/4151253439/jobs/7183089602