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 0000000384 384 Bytes
mold-2.34.0.tar.gz 0010056591 9.59 MB
mold.changes 0000054405 53.1 KB
mold.spec 0000003068 3 KB
Latest Revision
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1203610 from Martin Liška's avatar Martin Liška (martinliska) (revision 47)
- Update to version 2.34.0
  * [ARM32] mold now deduplicates exception handling records in a .ARM.exidx section
    to reduce the size of the table. (742ea87)
  * [LoongArch] TLSDESC relocations are now supported. (dbaa6d7)
  * --build-id=fast is now supported for compatibility with LLVM lld. mold handles
    it as a synonym for --build-id=sha256. (afc52ee)
  * Previously, if the same symbol was provided both by a static archive and dynamic
    library, and if the symbol's visibility was hidden, mold sometimes failed to
    link it and handled the symbol as if it were undefined. Now, mold can correctly
    link such programs. (1efbe3f)
  * Under rare circumstances, mold could create corrupted binaries if they were
    linked with --retain-symbols-file. This bug has been fixed. (0ee12e4)
  * [LoongArch] R_LARCH_CALL36 relocation with a large offset is now correctly
    written. (1c32102)
  * [FreeBSD] If all thread-local variables in a program have no initial values,
    mold-produced executables could crash or misbehave on FreeBSD. This bug has been
    fixed. (f6822fb)
  * DEC Alpha support has been removed due to lack of demand. In fact, mold's Alpha
    support has never been tested for real-world programs and was likely unable to
    link them in the first place. This should not affect anyone because the last
    Alpha processor was released more than 20 years ago. (3711ddb)
Comments 0
openSUSE Build Service is sponsored by