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

GHC ghc-devs at haskell.org
Wed Apr 12 21:12:25 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:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by nh2):

 Replying to [comment:5 angerman]:
 > I'm also a bit confused why gcc would not respect the LD env var.

 I guess this may be controversial, but I have always liked the fact that
 cabal and GHC rely as little as possible on environment variables.

 It has made it much easier many times for me to debug ghc issues (funnily,
 especially the linker investigation) because I can see all relevant inputs
 to a ghc invocation simply in `ps` or `strace`, and re-run them to isolate
 problems without accidentally not replicating the environment correctly.

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


More information about the ghc-tickets mailing list