Linking using gold on Linux
The experimental "gold" linker is faster than the standard BFD linker.
Our code tree includes a binary of gold compiled for x64 Linux. It is not enabled by default since the bundled binary does not work on some systems, e.g. Ubuntu 64bit server mentioned in issue #7.
The gold linker can be enabled using GYP_DEFINES flags, i.e.
GYP_DEFINES="linux_use_gold_binary=1 linux_use_gold_flags=1" gclient runhooks
On other systems, to safely install gold, make sure the final binary is named ld and then set CC/CXX appropriately, e.g. export CC="gcc -B/usr/local/gold/bin" and similarly for CXX. Alternatively, you can add /usr/local/gold/bin to your PATH in front of /usr/bin.