Skip to content

new(github.com/rui314/mold): mold 2.41.0#13352

Merged
jhheider merged 5 commits into
pkgxdev:mainfrom
tannevaled:new/mold
Jun 16, 2026
Merged

new(github.com/rui314/mold): mold 2.41.0#13352
jhheider merged 5 commits into
pkgxdev:mainfrom
tannevaled:new/mold

Conversation

@tannevaled

Copy link
Copy Markdown
Contributor

Adds mold (https://github.com/rui314/mold) — Rui Ueyama's fast drop-in ELF linker. CMake build (cmake.org only dep — mold vendors zlib/zstd/blake3/tbb under third-party/). Linux-only (linux/x86-64, linux/aarch64): mold is an ELF linker and upstream dropped macOS/Mach-O support; there are no macOS release assets.

tannevaled and others added 5 commits June 15, 2026 21:19
Fast drop-in ELF linker. CMake build; vendors its third-party deps. Linux-only (ELF; macOS support dropped upstream).
The runner's default g++ is too old for C++20 — '#include <bit>' fatal:
file not found. Build with gnu.org/gcc 14 (CC/CXX) and depend on its
libstdc++ at runtime, the established pantry pattern for C++20 (poppler,
openexr).
Forcing CC to gnu.org/gcc's absolute path broke cmake's shared-library
flag detection (mold-wrapper.so linked without -shared -> undefined main).
The gnu.org/gcc build dep already shadows cc/c++ on PATH; cmake detects
them as GNU and links the shared lib correctly -- the poppler/openexr
pattern.
@jhheider jhheider merged commit 277f675 into pkgxdev:main Jun 16, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants