[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.21.1907170015530.1767@nanos.tec.linutronix.de>
Date: Wed, 17 Jul 2019 00:25:14 +0200 (CEST)
From: Thomas Gleixner <tglx@...utronix.de>
To: Mike Lothian <mike@...eburn.co.uk>
cc: Nathan Chancellor <natechancellor@...il.com>,
LKML <linux-kernel@...r.kernel.org>,
Linus Torvalds <torvalds@...ux-foundation.org>, x86@...nel.org,
"H.J. Lu" <hjl.tools@...il.com>,
Masahiro Yamada <yamada.masahiro@...ionext.com>,
linux-kbuild@...r.kernel.org, "Theodore Y. Ts'o" <tytso@....edu>
Subject: Re: [PATCH v2] kbuild: Fail if gold linker is detected
Mike,
On Tue, 16 Jul 2019, Mike Lothian wrote:
> On Tue, 16 Jul 2019 at 21:00, Nathan Chancellor wrote
>
> Would it be possible to force ld.bfd with -fuse-ld=bfd when gold is detected?
It's probably possible but way beyond my kbuild foo.
Adding LD=ld.bfd to the make invocation is the trivial workaround.
> Are there gold bug reports for any of the issues that have been seen
> with gold?
Yes. Some got resolved, some not.
> It's been my default system linker for years and I've had very few issues
> with it and it's a big improvement when linking with LTO
I understand, but the fact that you need to turn off config options in
order to build a kernel and the clear statement that it's not recommended
makes it truly unsuitable and unmaintainable for us.
If the gold people are interested to link a kernel and resolve all issues,
this surely can be revisited. We work with tooling folks and we try to
accomodate different tools, see the ongoing efforts for clang, but that
requires commitment from the tooling side.
Thanks,
tglx
Powered by blists - more mailing lists