Trying Out LLVM 4.0's LLD Linker On Ubuntu 17.04 vs. GNU LD, GNU Gold
Written by Michael Larabel in Software on 16 March 2017. Page 3 of 3. 14 Comments

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.


About The Author
Author picture

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter or contacted via MichaelLarabel.com.


Related Articles
Trending Linux News