Skip to content

mold 0.9.3

Compare
Choose a tag to compare
@rui314 rui314 released this 21 Jul 11:17
· 4414 commits to main since this release

mold is a new linker that is optimized for modern multi-core machines. mold is command-line compatible with the other major linkers, GNU ld, GNU gold and LLVM lld, yet it is several times faster than them. Its goal is to increase programmer productivity by speeding up program build time, especially for rapid edit-build-test-debug cycles.

Highlights of mold 0.9.3

  • The --sysroot option is improved so that it's behavior is compatible with GNU ld.
  • Intel TBB concurrency library is now statically-linked to the mold executable.
  • mold gained the initial AArch64 (ARM64) support. It is still in alpha and not usable for production though.
  • mold can now be built with musl libc instead of with GNU libc.
  • The VERSION linker script command is now supported.
  • mold is now even faster for object files containing a lot of mergeable string contents. Clang-13 with debug info is an example of such input. mold used to take ~3.6 seconds to link it on a simulated 10-core machine. mold v0.9.3 can link it in ~2.3 seconds. That is ~35% speedup.
  • Other various minor compatibility issues have been fixed.