[GHC] #11748: GHC runtime linker: fatal error: I found a duplicate definition for symbol

GHC ghc-devs at haskell.org
Fri Jan 27 01:09:09 UTC 2017


#11748: GHC runtime linker: fatal error: I found a duplicate definition for symbol
-------------------------------------+-------------------------------------
        Reporter:  jeiea             |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Template Haskell  |              Version:  7.10.3
      Resolution:                    |             Keywords:
Operating System:  Windows           |         Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  crash                              |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #11223            |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by rwbarton):

 Also, what Phyx- says about TH loading the `.a` file instead of the `.o`
 file is probably true, since you don't actually use the object file that
 defines `rgb`. I guess it's possible that without TH your program would
 actually link successfully, for the same reason.

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


More information about the ghc-tickets mailing list