[Bug target/101215] Using non-standard custom linker with -fuse-ld

2021-06-25 Thread logarithmus.dev at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101215 --- Comment #2 from logarithmus.dev at gmail dot com --- I think that making `-fuse-ld` to accept arbitrary path to linker's binary instead of adding `mold` to the list of predefined values is a much better strategy in long term. AFAIK clang alre

[Bug target/101215] Using non-standard custom linker with -fuse-ld

2021-06-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101215 --- Comment #1 from Jonathan Wakely --- I think you should be able to build GCC with --with-ld=/path/to/mold you just can't select it later using -fuse-ld