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
On 12/28/2021 7:19 AM, Martin Liška wrote: On 12/28/21 14:21, H.J. Lu wrote: Missing invoke.texi change. Oh, sure and I also missed ChangeLog entry. Fixed in the attached patch. Martin 0001-Support-ld.mold-linker.patch From ca60317a60ee20ce848b36588b905b5a63d81350 Mon Sep 17 00:00:00 20

Re: [PATCH] Support ld.mold linker.

2021-12-28 Thread Martin Liška
On 12/28/21 14:21, H.J. Lu wrote: Missing invoke.texi change. Oh, sure and I also missed ChangeLog entry. Fixed in the attached patch. MartinFrom ca60317a60ee20ce848b36588b905b5a63d81350 Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Tue, 21 Dec 2021 17:43:55 +0100 Subject: [PATCH] Support

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 >