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.3.2.tar.gz 0009970530 9.51 MB
mold.changes 0000035433 34.6 KB
mold.spec 0000003032 2.96 KB
Revision 37 (latest revision is 42)
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1123388 from Martin Liška's avatar Martin Liška (martinliska) (revision 37)
- Update to version 2.3.2
  * Remove upstream patch fix-arm.patch.
  * mold no longer emits dynamic relocations against the text segment for GNU ifunc
    symbols. Previously, mold emitted such relocations for position-dependent
    executables. (4cdfc7e)
  * mold no longer reports the "REL-type relocation table is not supported for this
    target" error and instead ignore incompatible relocation tables. LLVM generates
    such non-conforming relocation tables for the .llvm.call-graph-profile section.
    This change was made for compatibility. (3791900)
  * mold now pads unused gaps in the text segment with interrupt or NOP
    instructions, instead of leaving them filled with zeros. This alteration does
    not change the program's semantics but prevents disassemblers from interpreting
    the spaces between functions as valid instructions. (c86a59a)
  * mold now creates the .mold-lock file for MOLD_JOBS not in the home directory but
    in $XDG_RUNTIME_DIR, which is usually /var/user/<uid>. (39cdf61)
  * [ARM32] There was an issue preventing mold from being built on an ARMv8 64-bit
    ARM processor with an ARM32 userland, such as the 32-bit Raspberry Pi OS running
    on a Raspberry Pi 4. This build issue has been resolved. (02ead29)
  * [LoongArch] mold can now handle R_LARCH_PCALA_LO12 relocation for the jirl
    instruction. (d3188e3)
Comments 0
openSUSE Build Service is sponsored by