Compilation time

Ryan Scott ryan.gl.scott at gmail.com
Fri Jul 7 15:26:09 UTC 2017


Another things to note about 8.2 build times is that a bulk of the time is
probably being spent during the linking phase. This is because GHC 8.2 has
switched over to split-sections by default, but unfortunately, old versions
of the BFD linker take a long time to link code that uses split-sections
(see the discussion at [1]). There is ongoing work (which should hopefully
land before the final 8.2 release) to use gold instead of BFD as the
default linker when available, which will reduce linking times dramatically.

Ryan S.
-----
[1] https://ghc.haskell.org/trac/ghc/ticket/13739
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20170707/6ef190f9/attachment.html>


More information about the ghc-devs mailing list