[GHC] #13810: Gold linker fails

GHC ghc-devs at haskell.org
Sun Jun 11 20:58:07 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):

 Right. And if you try to explicitly add gold linker flags to library B, it
 doesn't help, since GHC thinks (heh, I wish) that it doesn't need to use
 gold linker for project A, even if the project A has defined gold linker
 explicitly.

 Anyone can try to modify the project https://github.com/ksaric/bronze-
 linker-client with the flags and without them, and **it will fail in both
 cases**.

 So:
 - project A is using gold linker
 - project B is using project A

 ''Project B can't compile because it's sending parameters for "regular"
 ld, and not gold linker.''

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


More information about the ghc-tickets mailing list