Fedora 31 Looking At Making It Easy To Use LLVM's LLD Linker

Written by Michael Larabel in Fedora on 23 July 2019 at 09:15 PM EDT. 7 Comments
FEDORA
Another late change proposal coming in for Fedora 31 is to allow update-alternatives to optionally point /usr/bin/ld as the default linker to /usr/bin/lld for the LLVM linker.

This change would make it much easier for Fedora users wanting to switch from the GNU BFD linker over to LLVM's LLD via the update-alternatives tool. This tool already supports using the GNU Gold linker while this late proposal by Red Hat's Tom Stellard is to handle LLVM's increasingly used LLD linker.

If this proposal is approved by FESCo, beginning in Fedora 31 it could be as easy as update-alternatives --set ld /usr/bin/lld.

The LLVM Linker is known for being a drop-in replacement to the GNU linkers while generally being much faster. LLD can also be embedded directly into programs, LTO is supported by default, and is designed to support modern use-cases. More details on LLD at LLVM.org.
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