Skip to content

Runtime linker failed due to a duplicate symbol definition

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

Trac metadata
Trac field Value
Version 8.0.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler (Linking)
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system Unknown/Multiple
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information