[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220527155053.i4xfrlupuqfu4kem@treble>
Date: Fri, 27 May 2022 08:50:53 -0700
From: Josh Poimboeuf <jpoimboe@...nel.org>
To: Masahiro Yamada <masahiroy@...nel.org>
Cc: linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org,
Peter Zijlstra <peterz@...radead.org>,
Josh Poimboeuf <jpoimboe@...hat.com>, llvm@...ts.linux.dev,
Helge Deller <deller@....de>, linux-parisc@...r.kernel.org,
Kees Cook <keescook@...omium.org>,
Nathan Chancellor <nathan@...nel.org>,
Nicolas Schier <n.schier@....de>,
Sedat Dilek <sedat.dilek@...il.com>,
Michal Marek <michal.lkml@...kovi.net>,
Nick Desaulniers <ndesaulniers@...gle.com>,
Tom Rix <trix@...hat.com>
Subject: Re: [PATCH v7 8/8] kbuild: rebuild multi-object modules when objtool
is updated
On Fri, May 27, 2022 at 07:01:55PM +0900, Masahiro Yamada wrote:
> When CONFIG_LTO_CLANG or CONFIG_X86_KERNEL_IBT is enabled, objtool for
> multi-object modules is postponed until the objects are linked together.
>
> Make sure to re-run objtool and re-link multi-object modules when
> objtool is updated.
>
> Signed-off-by: Masahiro Yamada <masahiroy@...nel.org>
> Reviewed-by: Kees Cook <keescook@...omium.org>
> Acked-by: Josh Poimboeuf <jpoimboe@...hat.com>
> Tested-by: Nathan Chancellor <nathan@...nel.org>
> Reviewed-by: Nicolas Schier <n.schier@....de>
> Tested-by: Sedat Dilek <sedat.dilek@...il.com> # LLVM-14 (x86-64)
Hi Masahiro,
Is it also possible to rebuild vmlinux.o when objtool changes, for
CONFIG_LTO_CLANG, CONFIG_X86_KERNEL_IBT, or CONFIG_NOINSTR_VALIDATION?
That doesn't seem to be happening.
--
Josh
Powered by blists - more mailing lists