[GHC] #14053: Runtime linker failed due to a duplicate symbol definition
GHC
ghc-devs at haskell.org
Sun Jul 30 14:34:28 UTC 2017
#14053: Runtime linker failed due to a duplicate symbol definition
-------------------------------------+-------------------------------------
Reporter: SwiftsNamesake | Owner: (none)
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Compiler | Version: 8.0.1
(Linking) | Keywords: linker,
Resolution: invalid | windows
Operating System: Windows | Architecture:
Type of failure: Compile-time | Unknown/Multiple
crash or panic | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Changes (by Phyx-):
* status: infoneeded => closed
* resolution: => invalid
Comment:
That... is a very long list of dependencies.. The linker is correct in
complaining. You're loading somehow two different versions of `process` at
the same time in the same program.
This would indeed lead to symbols duplication. You need to find out where
in your project the dependency to `process-1.4.2.0` and `process-1.4.3.0`
come from.
My guess is your package configuration is messed up(check `ghc-pkg
check`). Or a bug I the constraint solver for stack or cabal. But it's not
a GHC bug, it's correctly rejecting loading a duplicate module.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14053#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list