]> git.baikalelectronics.ru Git - kernel.git/commit
objtool: Don't fail the kernel build on fatal errors
authorJosh Poimboeuf <jpoimboe@redhat.com>
Thu, 14 Jan 2021 22:32:42 +0000 (16:32 -0600)
committerJosh Poimboeuf <jpoimboe@redhat.com>
Thu, 21 Jan 2021 21:49:39 +0000 (15:49 -0600)
commit1183b91ce0ee0b4f7c51d9d1feb5130fb16dc9db
treec4f1de80b821fe55c13263adf2673f7f8f8adf6b
parentd08bd6587d5807973780e08c105fdfa849cda00e
objtool: Don't fail the kernel build on fatal errors

This is basically a revert of commit 5aded8e3b567 ("objtool: Fail the
kernel build on fatal errors").

That change turned out to be more trouble than it's worth.  Failing the
build is an extreme measure which sometimes gets too much attention and
blocks CI build testing.

These fatal-type warnings aren't yet as rare as we'd hope, due to the
ever-increasing matrix of supported toolchains/plugins and their
fast-changing nature as of late.

Also, there are more people (and bots) looking for objtool warnings than
ever before, so even non-fatal warnings aren't likely to be ignored for
long.

Suggested-by: Nick Desaulniers <ndesaulniers@google.com>
Reviewed-by: Miroslav Benes <mbenes@suse.cz>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Reviewed-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
tools/objtool/check.c