https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93645

--- Comment #13 from Fangrui Song <i at maskray dot me> ---
(In reply to Martin Liška from comment #12)
> (In reply to Fangrui Song from comment #11)
> > (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/
> 
> I agree that's unfortunate. Note I'm having a patch that adds -fuse-ld=mold:
> https://gcc.gnu.org/git/?p=gcc.git;a=commit;
> h=759cdbb29dbe8fc80ba5c1f113a015cafe9eb69c
> 
> I can try suggesting that to the community for GCC 12 (and maybe backport
> that).
> Are you interested?

I think it may be useful to simply allow -fuse-ld=word (`word` cannot include a
separator).

If that may be troublesome, having -fuse-ld=mold in GCC 12 is still nice.

--ld-path is occasionally useful, but I can accept that GCC declines it.

> Note the linker is very interesting, but it lacks LTO support..

Right...

Reply via email to