Download Latest Version mold-2.41.0-s390x-linux.tar.gz (7.8 MB)
Email in envelope

Get an email when there's a new version of mold

Home / v2.40.1
Name Modified Size InfoDownloads / Week
Parent folder
mold-2.40.1-aarch64-linux.tar.gz 2025-06-09 5.0 MB
mold-2.40.1-arm-linux.tar.gz 2025-06-09 5.1 MB
mold-2.40.1-loongarch64-linux.tar.gz 2025-06-09 5.1 MB
mold-2.40.1-ppc64le-linux.tar.gz 2025-06-09 6.7 MB
mold-2.40.1-riscv64-linux.tar.gz 2025-06-09 5.0 MB
mold-2.40.1-s390x-linux.tar.gz 2025-06-09 7.8 MB
mold-2.40.1-x86_64-linux.tar.gz 2025-06-09 5.1 MB
mold 2.40.1 source code.tar.gz 2025-06-08 11.0 MB
mold 2.40.1 source code.zip 2025-06-08 12.7 MB
README.md 2025-06-08 1.1 kB
Totals: 10 Items   63.7 MB 0

mold 2.40.1 is a maintenance release of the high-speed linker. Although there are no new features in this release, it includes a few performance improvements as below.

Performance improvements

  • We've eliminated unnecessary memory zero-initialization for the --compress-debug-sections option to make debug section compression faster. With this change, mold sometimes runs faster with --compress-debug-sections than without it due to reduced file I/O. (d59c55959c6a617f0a6474902de8e21b4b290f53)
  • Previously, mold used an exponential pattern-matching algorithm for glob matching, which could significantly slow down version scripts or dynamic list processing for certain glob patterns. Now, we use a linear-time algorithm that is guaranteed to run efficiently for any glob pattern. (dac20fa24373f35b5dec44e4740db85c3eb7b3dd)

Bug Fixes and Compatibility Improvements

  • mold now reports an error if the output .dynsym refers to a section whose section index is ≥65280, since such a dynamic symbol is not representable in ELF. Previously, mold crashed with an assertion failure. (0d8334e5a26c34b7b2142dd6b6af2751eb9391e3)
Source: README.md, updated 2025-06-08