BSD Ports

Vulnerable: version 2.42.1 is affected by 1 known vulnerability. See below.

devel/mold 2.42.1 NetBSD

High performance drop-in replacement for existing Unix linkers

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
5a584cefb7
License
mit
Categories
devel
Package size
2582.4 KiB, 30578.4 KiB installed

Description

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.

In the other systems

SystemPortVersion
NetBSDdevel/mold2.42.1
FreeBSDdevel/mold2.40.3
HardenedBSDdevel/mold2.40.3
GhostBSDdevel/mold2.40.3

Install

Binary package:

pkgin install mold

From pkgsrc:

cd /usr/pkgsrc/devel/mold && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_642.42.1
NetBSD 10.1 aarch642.41.0
SmartOS / illumos x86_642.42.1
macOS 15 arm642.42.1

Dependencies

Run dependencies 4

No port depends on this one.

Known vulnerabilities 1

Commit history 2

DateCommitCreditsLog message
5a584cefb7 adam mold: updated to 2.42.1
mold 2.42.1 is a new release of the high-speed linker. This release includes further performance improvements. Along with improvements made in recent releases, mold is as fast as or faster than other high-performance linkers, including LLVM lld and wild. We have also fixed several problems with LTO builds, debugging, and C++ exception handling in this release.
ea13360318 adam mold: updated to 2.42.0
2.42.0 New Features We have made numerous optimizations throughout the linker during this release cycle. mold 2.42.0 should be noticeably faster than previous versions, especially when linking large programs on machines with many cores. --pack-dyn-relocs=android and --pack-dyn-relocs=android+relr are now supported. These options encode dynamic relocations in the Android packed relocation format (APS2), which significantly reduces the size of the dynamic relocation table of Android binaries. (59957fc, 7a66f71, 400dfad) --compress-debug-sections now accepts a compression level, such as zstd:9 or zlib:6. Plain zstd and zlib remain equivalent to zstd:3 and zlib:1, respectively, which were the previous hardcoded defaults. (56fc571, 0420959, 6695f13) …