[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251006121330-1ca87091-ad31-4691-b3e8-a08ec02cd15b@linutronix.de>
Date: Mon, 6 Oct 2025 12:20:35 +0200
From: Thomas Weißschuh <thomas.weissschuh@...utronix.de>
To: Nathan Chancellor <nathan@...nel.org>
Cc: Askar Safin <safinaskar@...il.com>, Nicolas Schier <nsc@...nel.org>,
a.hindborg@...nel.org, alex.gaynor@...il.com, aliceryhl@...gle.com,
bjorn3_gh@...tonmail.com, boqun.feng@...il.com, dakr@...nel.org, gary@...yguo.net,
linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org, lossin@...nel.org,
ojeda@...nel.org, rust-for-linux@...r.kernel.org, tmgross@...ch.edu,
sam@...too.org
Subject: Re: [PATCH v2 6/6] kbuild: enable -Werror for hostprogs
On Sun, Oct 05, 2025 at 01:53:35PM -0700, Nathan Chancellor wrote:
(...)
> In looking further into this, I noticed that in its current state,
> -Werror is not getting applied to scripts/basic/fixup or
> scripts/kconfig/*.o files (seems $(include-y) happens to late?), which
> was one of the reasons to avoid making it depend on CONFIG_WERROR or
> W=e. If that's the case, we could probably make it opt in like the rest
> of the warnings for the kernel, which should be a fair compromise
> between wanting to make potential issues more obvious while not
> impacting people who build old sources with new compilers.
>
> Thomas and Nicolas, thoughts?
Yeah, fixdep and script/kconfig seem to be specifically handled in the
'ifdef config-build' block in Makefile. And this happens explicitly
before 'include .../auto.conf'. So your diff below looks like the
correct solution. Thanks for taking a look!
Thomas
Powered by blists - more mailing lists