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

GHC ghc-devs at haskell.org
Tue Jul 11 19:26:39 UTC 2017


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

Comment (by Ben Gamari <ben@…>):

 In [changeset:"fcd2db14368fc6e0d35b13535a9663cfab7080a7/ghc"
 fcd2db14/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="fcd2db14368fc6e0d35b13535a9663cfab7080a7"
 configure: Ensure that we don't set LD to unusable linker

 Previously if we found an unusable linker in PATH (e.g. ld.lld on OS X)
 we would notice the -fuse-ld=... was broken, but neglected to reset LD
 to a usable linker. This resulted in brokenness on OS X when lld is in
 PATH.

 Test Plan: Validate on OS X with lld in PATH

 Reviewers: austin, hvr, angerman

 Reviewed By: angerman

 Subscribers: rwbarton, thomie, erikd, angerman

 GHC Trac Issues: #13541

 Differential Revision: https://phabricator.haskell.org/D3713
 }}}

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


More information about the ghc-tickets mailing list