mold: A Modern Linker

Edit Package mold
https://github.com/rui314/mold

mold is a faster drop-in replacement for existing Unix linkers.
It is several times faster than LLVM lld linker, the second-fastest
open-source linker which I originally created a few years ago.
mold is created for increasing developer productivity by reducing
build time especially in rapid debug-edit-rebuild cycles.

Here is a performance comparison of GNU gold, LLVM lld, and mold for
linking final debuginfo-enabled executables of major large programs
on a simulated 8-core 16-threads machine.

Refresh
Refresh
Source Files
Filename Size Changed
_constraints 0000000128 128 Bytes
build-blake-3-as-static.patch 0000000441 441 Bytes
mold-2.2.0.tar.gz 0009956678 9.5 MB
mold.changes 0000030781 30.1 KB
mold.spec 0000003032 2.96 KB
Revision 33 (latest revision is 42)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1113750 from Martin Liška's avatar Martin Liška (martinliska) (revision 33)
- Add build-blake-3-as-static.patch that builts BLAKE 3 support as static library
  into mold. The library is not provided in openSUSE yet.

- Update to version 2.2.0
  * We now use BLAKE3 as a cryptographic hash function instead of SHA256. This
    change has made --build-id a few percent faster. libssl is no longer a build
    dependency. (7f7a744)
  * mold is now a few percent faster than the previous version due to an
    optimization of string merging code path. (1a13c50)
  * mold now emits slightly optimized code for thread-local variable accesses.
    (f057fda, d56f528)
  * [RISC-V] mold now supports TLSDESC relocations. TLSDESC is a new mechanism for
    faster thread-local variable access. We (@ishitatsuyuki) actually led the effort
    to ratify the specification (riscv-non-isa/riscv-elf-psabi-doc#373) and
    implement it to compiler toolchain including GCC, GNU binutils and, of course,
    mold. (141556d)
  * mold no longer marks an as-needed .so as "needed" if the .so file is not
    directly used by the output file. Previously, mold marked a .so file as "needed"
    if the .so file was used by another "needed" .so file. (f02db0f)
  * [PPC64] --execute-only now works on 64-bit PowerPC. (ac20d87, 51fec5f)
- Remove openssl dependency.
Comments 0
openSUSE Build Service is sponsored by