Duplicate symbol error on Windows
T11072gcc
is failing on Windows with
Wrong exit code for T11072gcc()(expected 0 , actual 2 )
Stderr ( T11072gcc ):
GHC runtime linker: fatal error: I found a duplicate definition for symbol
ghczmprim_GHCziClasses_zdp31ZLzvz2cUz2cUz2cUz2cUz2cUz2cUz2cUz2cUz2cUz2cUz2cUz2cUz2cUz2cUz2cUz2cUz2cUz2cUz2cUz2cUz2cUz2cUz2cUz2cUz2cUz2cUz2cUz2cUz2cUz2cUzvZR_info
whilst processing object file
C:\GitLabRunner\builds\78d7d3f9\0\ghc\ghc\testsuite\tests\ghci\linking\dyn\T11072gcc.run\bin_impl_gcc\libASx.dll.a
The symbol was previously defined in
C:\GitLabRunner\builds\78d7d3f9\0\ghc\ghc\libraries\ghc-prim\dist-install\build\HSghc-prim-0.5.3.o
This could be caused by:
* Loading two different object files which export the same symbol
* Specifying the same object file twice on the GHCi command line
* An incorrect `package.conf' entry, causing some object to be
loaded twice.
ghc-stage2.exe: panic! (the 'impossible' happened)
(GHC version 8.7.20190106 for x86_64-unknown-mingw32):
loadArchive "C:\\GitLabRunner\\builds\\78d7d3f9\\0\\ghc\\ghc\\testsuite\\tests\\ghci\\linking\\dyn\\T11072gcc.run\\bin_impl_gcc\\libASx.dll.a": failed
Please report this as a GHC bug: https://www.haskell.org/ghc/reportabug
make[2]: *** [Makefile:85: compile_libAS_impl_gcc] Error 1
Trac metadata
Trac field | Value |
---|---|
Version | 8.6.3 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |