lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z9iTsI09AEBlxlHC@gmail.com>
Date: Mon, 17 Mar 2025 22:27:12 +0100
From: Ingo Molnar <mingo@...nel.org>
To: linux-kernel@...r.kernel.org, Josh Poimboeuf <jpoimboe@...hat.com>
Cc: linux-tip-commits@...r.kernel.org, Josh Poimboeuf <jpoimboe@...nel.org>,
	"Peter Zijlstra (Intel)" <peterz@...radead.org>, x86@...nel.org
Subject: Re: [tip: objtool/core] objtool: Add CONFIG_OBJTOOL_WERROR


* tip-bot2 for Josh Poimboeuf <tip-bot2@...utronix.de> wrote:

> The following commit has been merged into the objtool/core branch of tip:
> 
> Commit-ID:     36799069b48198e5ce92d99310060c4aecb4b3e3
> Gitweb:        https://git.kernel.org/tip/36799069b48198e5ce92d99310060c4aecb4b3e3
> Author:        Josh Poimboeuf <jpoimboe@...nel.org>
> AuthorDate:    Fri, 14 Mar 2025 12:29:11 -07:00
> Committer:     Peter Zijlstra <peterz@...radead.org>
> CommitterDate: Mon, 17 Mar 2025 11:51:44 +01:00
> 
> objtool: Add CONFIG_OBJTOOL_WERROR

> +config OBJTOOL_WERROR
> +	bool "Upgrade objtool warnings to errors"
> +	depends on OBJTOOL && !COMPILE_TEST
> +	help
> +	  Fail the build on objtool warnings.
> +
> +	  Objtool warnings can indicate kernel instability, including boot
> +	  failures.  This option is highly recommended.
> +
> +	  If unsure, say Y.

My randconfig build tests found this failure of 36 warnings upgraded to 
a build failure:

   vmlinux.o: error: objtool: 36 warning(s) upgraded to errors

One thing that stands out in the config is:

  # CONFIG_BUG is not set

Thanks,

	Ingo

View attachment "config" of type "text/plain" (166037 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ