[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+i-1C20dBQGYU0gAJ7BGfo7ShSYSuZgB0Gr_Y-ei9gqXq83zw@mail.gmail.com>
Date: Mon, 16 Dec 2024 11:00:58 +0100
From: Brendan Jackman <jackmanb@...gle.com>
To: Josh Poimboeuf <jpoimboe@...nel.org>
Cc: Peter Zijlstra <peterz@...radead.org>, Andrew Morton <akpm@...ux-foundation.org>,
Masahiro Yamada <masahiroy@...nel.org>, Nathan Chancellor <nathan@...nel.org>,
Nicolas Schier <nicolas@...sle.eu>, linux-kernel@...r.kernel.org,
linux-kbuild@...r.kernel.org
Subject: Re: [PATCH 2/2] kbuild: Add option to fail build on vmlinux objtool issues
On Sat, 14 Dec 2024 at 01:52, Josh Poimboeuf <jpoimboe@...nel.org> wrote:
> Note that *any* objtool warning has a good change of being a major bug
> in the kernel or compiler which could result in crashing the kernel or
> breaking the livepatch consistency model. So the option shouldn't be
> restricted to noinstr builds only. In which case it should be called
> CONFIG_OBJTOOL_WERROR, analagous to CONFIG_WERROR.
Sure, sounds good too.
Just to make sure I'm on the same page - are you saying I should add
the flag to $(objtool-args-y) instead of $(vmlinux-objtool-args-y)?
Powered by blists - more mailing lists