mold 2.1.0 released, a high-performance alternative to the Unix linker

mold is a high-performance alternative to the existing Unix linker, several times faster than the LLVM lld linker. mold aims to increase developer productivity by reducing build times, especially during fast debug-edit-rebuild cycles.

Last month, mold officially released version 2.0.0 and changed the open source license from AGPL to MIT. This weekend, mold released version 2.1.0.

new features

  • Preliminary support for Godson LoongArch (Dragon Architecture) CPU. This feature was submitted by Loongson engineers and implemented based on LLVM LoongArch support and public LoongArch documents. It is said that Loongson will also provide the LoongArch system to the mold project to help test/improve CPU support.
  • Added -z nosectionheadersupport to eliminate section headers in output files, and made numerous fixes for ARM64 and RISC-V

See the release announcement for details .

mold is a high-performance alternative to the existing Unix linker, several times faster than the LLVM lld linker. mold aims to increase developer productivity by reducing build times, especially during fast debug-edit-rebuild cycles.

Below is a performance comparison of GNU gold, LLVM lld, and mold when linking the final debug information executable of a mainstream large program on a simulated 8-core, 16-thread machine.

Guess you like

Origin www.oschina.net/news/253699/mold-2-0-1-released