Mold

mold is a linker that aims to provide drop-in compatibility with existing Unix linkers. It is many times faster than and GNU gold.

Installation
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  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: