Skip to content

mold 0.1.1

Compare
Choose a tag to compare
@rui314 rui314 released this 21 May 04:59
· 4689 commits to main since this release

mold is a multi-threaded, high-performance linker that is developed as a drop-in replacement for GNU ld, GNU gold and LLVM lld. It is several times faster than these linkers and command-line compatible with them with a few exceptions. Note that even though mold can compiler large user-land programs, such as Chrome, Firefox or Rustc, it is still experimental. Do not use mold for production unless you know what you are doing.

To use mold, download source using git clone and follow the instructions on README.

Changes

  • More command-line options were added for compatibility with GNU linkers
  • A man page was added
  • mold executable no longer has a dependency to shared object files in a build directory, which enables us to install mold under /usr/bin and clean a build directory
  • A script to build a statically-linked mold executable in a Docker environment was added, so that it is easy to build mold on any machine as long as Docker works
  • Git subrepositories are automatically checked out by make now
  • Various bugs were fixed