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.

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 mold is used to link all packages:

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