Mold 2.31 Now ~10% Faster When Linking Very Large, Debug Info Enabled Binaries

Written by Michael Larabel in Programming on 3 May 2024 at 07:27 AM EDT. 11 Comments
PROGRAMMING
Rui Ueyama announced the release of Mold 2.31 today as the newest version of this high speed linker alternative to LLVM LLD and GNU Gold.

Most prominent with Mold 2.31 is up to 10% faster for linking very large, debug-info enabled executables. The release announcement explains:
"mold is now up to 10% faster when linking very large, debug info-enabled executables such as Blender (~1.8 GiB) or Clang (~3.8 GiB), thanks to several improvements we've made to the string merging algorithm."

Mold 2.31 also now supports "-z start-stop-visibility=hidden", "-Bsymbolic-non-weak" and "-Bsymbolic-non-weak-functions" are now supported for better LLVM LLD compatibility, and a variety of bug fixes.

Mold performance


Downloads and more details on the Mold 2.31 linker changes via GitHub.
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