Re: Parallel, Incremental Linking

2010-12-07 Thread Johan Tibell
On Tue, Dec 7, 2010 at 12:00 PM, Bulat Ziganshin wrote: > Hello John, > > Tuesday, December 7, 2010, 11:54:22 AM, you wrote: > >> The bottleneck for building on my multi-core machine is ld, which > > afaik, there was some alternative linker, at least for linux systems gold, developed by Google.

Re: Parallel, Incremental Linking

2010-12-07 Thread Bulat Ziganshin
Hello John, Tuesday, December 7, 2010, 11:54:22 AM, you wrote: > The bottleneck for building on my multi-core machine is ld, which afaik, there was some alternative linker, at least for linux systems -- Best regards, Bulatmailto:bulat.zigans...@gmail.com ___

Re: Parallel, Incremental Linking

2010-12-07 Thread Max Bolingbroke
On 7 December 2010 08:54, John Smith wrote: > Gold in an incremental and multi-threaded linker, but can only output ELF > (not Windows). Is there a cross-platform solution suitable for GHC? Not AFAIK. One thing that would probably help a lot is if GHC-generated code stopped causing the linker to

Parallel, Incremental Linking

2010-12-07 Thread John Smith
The bottleneck for building on my multi-core machine is ld, which spends a considerable time consuming 100% of one core after ghc has finished generating object files. Moreover, GHC is largely IO bound, while ld is CPU bound; incremental linking would enable the two tasks to be performed in paral