Closed
Description
Hi, first of all congrats for your work with this library.
We are getting an error for the mentioned configuration (and only for that one, cabal builds it succesfully):
haskell-language-server> GHC runtime linker: fatal error: I found a duplicate definition for symbol
haskell-language-server> aToWordzh
haskell-language-server> whilst processing object file
haskell-language-server> D:\bin\stack\x86_64-windows\ghc-8.6.5\lib\ghc-heap-8.6.5\HSghc-heap-8.6.5.o
haskell-language-server> The symbol was previously defined in
haskell-language-server> C:\sr\snapshots\9070fc3e\lib\x86_64-windows-ghc-8.6.5\ghc-lib-parser-8.10.1.20200412-2BSV0WaFUv7bn4MuxkBnD\HSghc-lib-parser-8.10.1.20200412-2BSV0WaFUv7bn4MuxkBnD.o
haskell-language-server> This could be caused by:
haskell-language-server> * Loading two different object files which export the same symbol
haskell-language-server> * Specifying the same object file twice on the GHCi command line
haskell-language-server> * An incorrect `package.conf' entry, causing some object to be
haskell-language-server> loaded twice.
haskell-language-server> ghc.exe: panic! (the 'impossible' happened)
haskell-language-server> (GHC version 8.6.5 for x86_64-unknown-mingw32):
haskell-language-server> loadObj "D:\\bin\\stack\\x86_64-windows\\ghc-8.6.5\\lib\\ghc-heap-8.6.5\\HSghc-heap-8.6.5.o": failed
haskell-language-server>
haskell-language-server> Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
haskell-language-server>
-- While building package haskell-language-server-0.1.0.0 using:
C:\sr\setup-exe-cache\x86_64-windows\Cabal-simple_Z6RU0evB_2.4.0.1_ghc-8.6.5.exe --builddir=.stack-work\dist\e626a42b build
lib:haskell-language-server lib:hls-test-utils exe:haskell-language-server exe:haskell-language-server-wrapper --ghc-options " -fdiagnostics-color=always"
Process exited with code: ExitFailure 1
)
The original issue in haskell-language-server is: haskell/haskell-language-server#90
Same for version ghc-lib-parser-8.10.1.20200518
Metadata
Metadata
Assignees
Labels
No labels