[GHC] #14053: Runtime linker failed due to a duplicate symbol definition
GHC
ghc-devs at haskell.org
Sat Jul 29 08:30:25 UTC 2017
#14053: Runtime linker failed due to a duplicate symbol definition
-------------------------------------+-------------------------------------
Reporter: | Owner: (none)
SwiftsNamesake |
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.0.1
(Linking) |
Keywords: linker, | Operating System: Unknown/Multiple
windows |
Architecture: | Type of failure: Compile-time
Unknown/Multiple | crash or panic
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
{{{
Preprocessing library Pixels-0.1.0.0...
[1 of 9] Compiling Pixels.Walker ( src\Pixels\Walker.hs, .stack-
work\dist\ca59d0ab\build\Pixels\Walker.o )
[2 of 9] Compiling Pixels.Types ( src\Pixels\Types.hs, .stack-
work\dist\ca59d0ab\build\Pixels\Types.o )
GHC runtime linker: fatal error: I found a duplicate definition for
symbol
runInteractiveProcess
whilst processing object file
C:\Users\Jonatan\AppData\Local\Programs\stack\x86_64-windows\ghc-8.0.2\lib\process-1.4.3.0\HSprocess-1.4.3.0.o
The symbol was previously defined in
C:\sr\snapshots\55a68d16\lib\x86_64-windows-
ghc-8.0.2\process-1.4.2.0-KoK49SuYVPk1TQ4YVt6ZK5\HSprocess-1.4.2.0-KoK49SuYVPk1TQ4YVt6ZK5.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.EXE: panic! (the 'impossible' happened)
(GHC version 8.0.2 for x86_64-unknown-mingw32):
loadObj
"C:\\Users\\Jonatan\\AppData\\Local\\Programs\\stack\\x86_64-windows\\ghc-8.0.2\\lib\\process-1.4.3.0\\HSprocess-1.4.3.0.o":
failed
CallStack (from HasCallStack):
error, called at libraries\ghci\GHCi\ObjLink.hs:97:21 in
ghci-8.0.2:GHCi.ObjLink
Please report this as a GHC bug:
http://www.haskell.org/ghc/reportabug
}}}
OS: Windows 10
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14053>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list