building lens-4.12.3 impossible happened: dupe _hs_primitive_memcpy
I issued the command:
stack install lens
hoping to upgrade to lens-4.13 and I received the following error log:
GHC runtime linker: fatal error: I found a duplicate definition for symbol
_hsprimitive_memcpy
whilst processing object file
C:\apps\HaskellPlatform\7.10.2-a\lib\extralibs\primitive-0.6\HSprimitive-0.6-3d4UsQu7pJCEtlsxN3gLjk.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: panic! (the 'impossible' happened)
(GHC version 7.10.2 for i386-unknown-mingw32):
loadObj "C:\\apps\\HaskellPlatform\\7.10.2-a\\lib\\extralibs\\primitive-0.6\\HSprimitive-0.6-3d4UsQu7pJCEtlsxN3gLjk.o": failed
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
Trac metadata
Trac field | Value |
---|---|
Version | 7.10.2 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | libraries (other) |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |