[GHC] #16084: Improve link times on Windows

GHC ghc-devs at haskell.org
Tue Dec 25 04:00:51 UTC 2018


#16084: Improve link times on Windows
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:  (none)
            Type:  bug               |               Status:  upstream
        Priority:  high              |            Milestone:
       Component:  Compiler          |              Version:  8.6.3
      Resolution:                    |             Keywords:
Operating System:  Windows           |         Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  performance bug                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by bgamari):

 > LLD won't magically help here. Latest improvements by Martin Storsjö
 (mstorsjo) have made LLD able to link some mingw gcc-generated code, but,
 alas, when assembling GHC-generated assembly, mingw gas produces  (I
 believe this is a sort of "optimisation") non-standard relocations.

 Frankly I wonder how difficult it would be to add support for these
 relocations. Given that LLVM code is generally pretty approachable I
 suspect that would be the easiest path forward.

 In the meantime I have been pursuing testing Tamar's binutils patch.

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


More information about the ghc-tickets mailing list