[GHC] #13541: Make it easier to use the gold linker

GHC ghc-devs at haskell.org
Sat Jun 24 19:37:18 UTC 2017


#13541: Make it easier to use the gold linker
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:  (none)
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #13810            |  Differential Rev(s):  Phab:D3449
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by bgamari):

 I've updated Phab:D3449 to reflect my current thinking on this. Namely, we
 provide a `configure` flag that indicates that the user doesn't mind if
 GHC overrides the system's default linker. If this flag is passed, we use
 either `gold` or `lld`, if available. The user can explicitly request one
 or the other by passing the `LD=...` variable to `configure`.

 Does this seem reasonable?

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


More information about the ghc-tickets mailing list