Re: [PATCH] Support ld.mold linker.

2022-01-05 Thread Martin Liška
On 1/4/22 08:23, Richard Biener wrote: Since we have a fixed set of supported linkers and we know their implementation status with respect to linker plugin support we can maybe auto-add -fno-use-linker-plugin (via specs?) when -fuse-ld=lld or -fuse-ld=mold is used? Well, if I'm correct, we do s

Re: [PATCH] Support ld.mold linker.

2022-01-03 Thread Richard Biener via Gcc-patches
On Mon, Jan 3, 2022 at 4:23 PM Martin Liška wrote: > > On 1/3/22 15:48, Richard Biener wrote: > > On Tue, Dec 28, 2021 at 2:10 PM Martin Liška wrote: > >> > >> Hello. > >> > >> The mold linker is getting quite popular and I think we should support it: > >> https://github.com/rui314/mold > > > > D

Re: [PATCH] Support ld.mold linker.

2022-01-03 Thread Martin Liška
On 1/3/22 15:48, Richard Biener wrote: On Tue, Dec 28, 2021 at 2:10 PM Martin Liška wrote: Hello. The mold linker is getting quite popular and I think we should support it: https://github.com/rui314/mold Does it support the gold plugin API/ABI and thus proper LTO? No, but it's planned to

Re: [PATCH] Support ld.mold linker.

2022-01-03 Thread Richard Biener via Gcc-patches
On Tue, Dec 28, 2021 at 2:10 PM Martin Liška wrote: > > Hello. > > The mold linker is getting quite popular and I think we should support it: > https://github.com/rui314/mold Does it support the gold plugin API/ABI and thus proper LTO? If not I'm not sure we should encourage use. For example u

Re: [PATCH] Support ld.mold linker.

2021-12-28 Thread Jeff Law via Gcc-patches
2001 From: Martin Liska Date: Tue, 21 Dec 2021 17:43:55 +0100 Subject: [PATCH] Support ld.mold linker. gcc/ChangeLog: * collect2.c (main): Add ld.mold. * common.opt: Add -fuse-ld=mold. * doc/invoke.texi: Document it. * gcc.c (driver_handle_option): Handle -fuse-ld

Re: [PATCH] Support ld.mold linker.

2021-12-28 Thread Martin Liška
] Support ld.mold linker. gcc/ChangeLog: * collect2.c (main): Add ld.mold. * common.opt: Add -fuse-ld=mold. * doc/invoke.texi: Document it. * gcc.c (driver_handle_option): Handle -fuse-ld=mold. * opts.c (common_handle_option): Likewise. --- gcc/collect2.c | 10 +++--- gcc/common.opt

Re: [PATCH] Support ld.mold linker.

2021-12-28 Thread H.J. Lu via Gcc-patches
On Tue, Dec 28, 2021 at 5:10 AM Martin Liška wrote: > > Hello. > > The mold linker is getting quite popular and I think we should support it: > https://github.com/rui314/mold > > Patch can bootstrap on x86_64-linux-gnu and survives regression tests. > > Ready to be installed? > Thanks, > Martin >

[PATCH] Support ld.mold linker.

2021-12-28 Thread Martin Liška
Hello. The mold linker is getting quite popular and I think we should support it: https://github.com/rui314/mold Patch can bootstrap on x86_64-linux-gnu and survives regression tests. Ready to be installed? Thanks, Martin --- gcc/collect2.c | 10 +++--- gcc/common.opt | 4 gcc/gcc.c