[GHC] #13810: Gold linker fails

GHC ghc-devs at haskell.org
Sun Jun 11 11:29:10 UTC 2017


#13810: Gold linker fails
---------------------------------+----------------------------------------
        Reporter:  ksaric        |                Owner:  (none)
            Type:  bug           |               Status:  new
        Priority:  normal        |            Milestone:
       Component:  Compiler      |              Version:  8.0.1
      Resolution:                |             Keywords:  linker
Operating System:  Linux         |         Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown  |            Test Case:
      Blocked By:                |             Blocking:
 Related Tickets:                |  Differential Rev(s):
       Wiki Page:                |
---------------------------------+----------------------------------------

Comment (by ksaric):

 @domenkozar
 Ok, now I added the project https://github.com/ksaric/bronze-linker-client
 to try out. It depends on the project https://github.com/ksaric/bronze-
 linker and it doesn't compile.

 Also, I added three branches to the original project in question:
 - `demo/failing-example`
 - `demo/working-counter-example`
 - `demo/full-working`

 You can see that when using gold linker in the executable only, things
 work correctly - `demo/working-counter-example`.

 I'm not sure this is intentional, and I thought it's connected to the
 actual bug I found, which is that when you try to compile a project that
 has a dependency that uses gold linker, the aforementioned error occurs -
 you can reproduce that with the project I added -
 https://github.com/ksaric/bronze-linker-client.

 I hope this is clearer, and yes, I'm confused as well, this is kind of
 strange.

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


More information about the ghc-tickets mailing list