News: 0001483975

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Mold 2.33 Adds New Flag To Further Speed Up The Linker

([Programming] 6 Hours Ago Mold 2.33)


Mold 2.33 is out as the newest version of this high speed linker as an alternative to the likes of GNU Gold and LLVM LLD. With Mold 2.33 there are still new performance optimizations being worked out by lead developer Rui Ueyama.

With Mold 2.33 a new "--separate-debug-info" flag is introduced to bundle debug info sections into a separate file rather than the main output file. The focus with this option is on speeding up the linker even more. Rui explains of the benefits of this option:

"By default, mold creates a separate debug file in the background after creating a main output file, so that you can start running the executable as soon as possible while mold is still working on linking its debug info sections. For example, linking clang with debug info normally takes ~1.70s on a Threadripper 7980X machine, while it takes only ~0.52s with --separate-debug-info. Shaving off a full second in quick edit-rebuild-run cycles should improve programmers' productivity."

Also notable with Mold is honoring the z x86-64-v2, -z x86-64-v3, -z x86-64-v4 flags for the x86_64 micro-architecture feature levels.

Mold 2.33 also has fixes around Intel Control Flow Enforcement Technology (CET) handling, a few LoongArch fixes, and support for the --no-allow-shlib-undefined and --dynamic-list-data flags.

Downloads and more details on the Mold 2.33 linker release via [1]GitHub .



[1] https://github.com/rui314/mold/releases/tag/v2.33.0



phoronix

A cloud does not know why it moves in just such a direction and at such
a speed, if feels an impulsion... this is the place to go now. But the
sky knows the reasons and the patterns behind all clouds, and you will
know, too, when you lift yourself high enough to see beyond horizons.
-- Messiah's Handbook : Reminders for the Advanced Soul