Re: [PATCH v2] kbuild: Fail if gold linker is detected

Thomas Gleixner
2019-07-23T08:17:37Z

On Tue, 23 Jul 2019, Thomas Gleixner wrote:
> On Tue, 23 Jul 2019, Masahiro Yamada wrote:
> > Right.
> > I was able to build with ld.gold
> >
> > So, we can use gold, depending on the kernel configuration.
>
> That's exactly the problem. It breaks with random kernel configurations
> which is not acceptable except for people who know what they are doing.
>
> I'm tired of dealing with half baken fixes and 'regression' reports. Either
> there is an effort to fix the issues with gold like the clang people fix
> their issues or it needs to be disabled. We have a clear statement that
> gold developers have other priorities.

That said, I'm perfectly happy to move this to x86 and leave it alone for
other architectures, but it does not make sense to me.

If the gold fans care enough, then we can add something like
CONFIG_I_WANT_TO_USE_GOLD_AND_DEAL_WITH_THE_FALLOUT_MYSELF.

Thanks,

tglx