From: Peter Zijlstra Date: Thu, 6 Feb 2025 10:12:08 +0000 (+0100) Subject: objtool: Move dodgy linker warn to verbose X-Git-Tag: v6.14-rc3~8^2 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=7e501637bd5b702a2fa627e903a0025654110e1e;p=linux-block.git objtool: Move dodgy linker warn to verbose The lld.ld borkage is fixed in the latest llvm release (?) but will not be backported, meaning we're stuck with broken linker for a fair while. Lets not spam all clang build logs and move warning to verbose. Signed-off-by: Peter Zijlstra (Intel) --- diff --git a/tools/objtool/check.c b/tools/objtool/check.c index 3520a45ebde8..497cb8dfb3eb 100644 --- a/tools/objtool/check.c +++ b/tools/objtool/check.c @@ -2273,7 +2273,7 @@ static int read_annotate(struct objtool_file *file, if (sec->sh.sh_entsize != 8) { static bool warned = false; - if (!warned) { + if (!warned && opts.verbose) { WARN("%s: dodgy linker, sh_entsize != 8", sec->name); warned = true; }