There's A Proposal For Making Clang Default To LLVM LLD As The Linker

Written by Michael Larabel in LLVM on 30 October 2016 at 06:40 PM EDT. 7 Comments
LLVM
Nothing is set in stone yet but since Friday there's been an active discussion on the LLVM mailing list about having Clang default to LLVM's LLD sub-project linker.

The proposal goes that on systems where LLD is present, this LLVM linker should be used over GNU LD or other alternatives. The proposal by Renato Golin can be found on the LLVM mailing list. LLD aims for high-performance linking of ELF, COFF, and Mach-O formats. LLD is also licensed the same as the rest of LLVM.

From the comments so far, there has been responses from both sides of the fence. It does look though like LLD is about ready for prime-time on supported systems/architectures but not all are in favor of LLVM using it by default as opposed to whatever the default system ld is pointed toward. It's also worth noting that FreeBSD is working towards using LLD as its official linker on multiple platforms.

See that mailing list thread for more details on this active discussion topic. If you want to learn more about LLVM LLD as a linker, see the sub-project site. Great to see this happening when months ago
Related News
About The Author
Michael Larabel

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 20,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, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week