[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <34ca6034-331c-7c6c-ddd4-f774dc8f22ce@kernel.org>
Date: Tue, 15 Nov 2022 07:36:08 +0100
From: Jiri Slaby <jirislaby@...nel.org>
To: Masahiro Yamada <masahiroy@...nel.org>
Cc: linux-kernel@...r.kernel.org, Jiri Slaby <jslaby@...e.cz>,
Sedat Dilek <sedat.dilek@...il.com>,
Michal Marek <michal.lkml@...kovi.net>,
Nick Desaulniers <ndesaulniers@...gle.com>,
Martin Liska <mliska@...e.cz>
Subject: Re: [PATCH 02/46] kbuild: pass jobserver to cmd_ld_vmlinux.o
On 14. 11. 22, 18:57, Masahiro Yamada wrote:
> On Mon, Nov 14, 2022 at 8:44 PM Jiri Slaby (SUSE) <jirislaby@...nel.org> wrote:
>>
>> From: Jiri Slaby <jslaby@...e.cz>
>>
>> Until the link-vmlinux.sh split (cf. the commit below), the linker was
>> run with jobserver set in MAKEFLAGS. After the split, the command in
>> Makefile.vmlinux_o is not prefixed by "+" anymore, so this information
>> is lost.
>>
>> Restore it as linkers working in parallel (namely gcc LTO) make a use of
>> it. Actually, they complain, if jobserver is not set:
>> lto-wrapper: warning: jobserver is not available: '--jobserver-auth=' is not present in 'MAKEFLAGS'
>>
>> Fixes: 5d45950dfbb1 (kbuild: move vmlinux.o link to scripts/Makefile.vmlinux_o)
>
>
> This Fixes is wrong since GCC LTO is not in upstream code.
Yup, this is a left-over. Now dropped from both.
thanks,
--
js
Powered by blists - more mailing lists