[GHC] #11153: building lens-4.12.3 impossible happened: dupe _hs_primitive_memcpy

GHC ghc-devs at haskell.org
Wed Dec 2 12:54:59 UTC 2015


#11153: building lens-4.12.3 impossible happened: dupe _hs_primitive_memcpy
-----------------------------------------+---------------------------------
           Reporter:  blippy             |             Owner:
               Type:  bug                |            Status:  new
           Priority:  normal             |         Milestone:
          Component:  libraries (other)  |           Version:  7.10.2
           Keywords:                     |  Operating System:  Windows
       Architecture:  x86                |   Type of failure:  None/Unknown
          Test Case:                     |        Blocked By:
           Blocking:                     |   Related Tickets:
Differential Rev(s):                     |         Wiki Page:
-----------------------------------------+---------------------------------
 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

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11153>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list