https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93645
--- Comment #11 from Fangrui Song <i at maskray dot me> --- (In reply to Martin Liška from comment #10) > I replied here: > https://gcc.gnu.org/pipermail/gcc-patches/2021-June/573823.html There are people wanting to use mold https://www.reddit.com/r/rust/comments/rhcnzt/mold_a_modern_linker_10_release/ "clang does support it but gcc: --ld-path patch has been declined by GCC maintainers, instead they advise to use a workaround: create directory <dirname>, then ln -s <path-to-mold> <dirname>/ld, and then pass -B<dirname> (-B tells GCC to look for ld in specified location)." :(