There's A Proposal For Making Clang Default To LLVM LLD As The Linker
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
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
7 Comments