[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LSU.2.21.2503171513220.4236@pobox.suse.cz>
Date: Mon, 17 Mar 2025 15:14:25 +0100 (CET)
From: Miroslav Benes <mbenes@...e.cz>
To: Josh Poimboeuf <jpoimboe@...nel.org>
cc: x86@...nel.org, linux-kernel@...r.kernel.org,
Peter Zijlstra <peterz@...radead.org>,
Brendan Jackman <jackmanb@...gle.com>,
Nathan Chancellor <nathan@...nel.org>
Subject: Re: [PATCH 13/13] objtool: Add CONFIG_OBJTOOL_WERROR
On Fri, 14 Mar 2025, Josh Poimboeuf wrote:
> Objtool warnings can be indicative of crashes, broken live patching, or
> even boot failures. Ignoring them is not recommended.
>
> Add CONFIG_OBJTOOL_WERROR to upgrade objtool warnings to errors by
> enabling the objtool --Werror option. Also set --backtrace to print the
> branches leading up to the warning, which can help considerably when
> debugging certain warnings.
>
> To avoid breaking bots too badly for now, make it the default for real
> world builds only (!COMPILE_TEST).
>
> Co-developed-by: Brendan Jackman <jackmanb@...gle.com>
> Signed-off-by: Josh Poimboeuf <jpoimboe@...nel.org>
Brendan's SoB missing.
With 'default y' being present or not
Reviewed-by: Miroslav Benes <mbenes@...e.cz>
and fingers crossed.
M
Powered by blists - more mailing lists