Trying Out LLVM 4.0's LLD Linker On Ubuntu 17.04 vs. GNU LD, GNU Gold
Parallel BZIP2's install time was slightly lower with LLD 4.0.
Stockfish was one of the few tests that failed to link under LLD.
PostgreSQL didn't see much impact by switching to LLD.
GNU Gold and LLD were faster than LD at the time for Redis.
The TTSIOD renderer is another program that ran into linking problems with LLD.
About one second was shaved off the link time with LLD and Gold compared to GNU LD.
Libjpeg-turbo's tjbench also ran into linking problems with LLD 4.0.
Those are my initial results after playing around with LLD 4.0 on an Ubuntu 17.04 x86_64 box since yesterday. Obviously with the larger code-bases that have a lot more linking to do, LLD has the potential for yielding noticeably faster link/build times while for smaller programs the difference can be negligible. I'll have more results to share shortly, including when switching out the compilers, and with GCC 7 vs. LLVM Clang 4 looking at a binary size comparison and some other interesting highlights.
If you enjoyed this article consider joining Phoronix Premium to view this site ad-free, multi-page articles on a single page, and other benefits. PayPal or Stripe tips are also graciously accepted. Thanks for your support.