Re: [PATCH v2 0/2] objtool: Add option to fail build on vmlinux warnings

From: Brendan Jackman
Date: Fri Dec 20 2024 - 06:32:42 EST


On Thu, 19 Dec 2024 at 22:56, Josh Poimboeuf <jpoimboe@xxxxxxxxxx> wrote:
> One thing that can help is to "export OBJTOOL_VERBOSE=1", which will
> tell objtool to disassemble any affected functions and show a backtrace
> with all the taken branches leading up to the warning (if applicable).
> Maybe that should be the default for --Werror.

This sounds very useful, I will do this for v3 unless anyone objects.
If we're failing the build the risk of a mega-verbose splat seems like
a good tradeoff vs the risk of the user having to go and read the
objtool code.