The gold linker is faster and better than the binutils linker, but most toolchains don't use it by default, and most system installations don't use it by default. However, modern compilers offer an -fuse-ld flag, that can be used to select the gold linker by saying -fuse-ld=gold.
We should test for the ability to use this flag at configure time, and always use gold if available.
- duplicates
-
SERVER-17995 prefer the gold linker if it is available
- Closed