Mold

mold is Article description::a linker that aims to provide drop-in compatibility with existing Unix linkers. It is many times faster than and GNU gold. Its speed is achieved through the usage of optimized data structures and parallelization.

Emerge
mold is in the Gentoo package repository and can be installed for all users with Emerge.

Usage
A patch to GCC that allows it to invoke mold as a linker has landed in the master branch and is expected to be a part of GCC 12. In the meantime, the patch can be placed in /etc/portage/patches to use it with GCC 11:

can then be set in the file so that  is used to link all packages:

Package fails to build using mold
Some packages do not build with mold (see for a list). An environment can be created to selectively disable it for some packages: