On Wed, Dec 17, 2025 at 11:41 PM Siddhesh Poyarekar siddhesh@gotplt.org wrote:
This got added with:
7454048db27d6 ("kbuild: Enable GCC diagnostic context for value-tracking warnings")
but clang does not have this option, so avoid passing it to bindgen.
Cc: stable@vger.kernel.org Fixes: 7454048db27d6 ("kbuild: Enable GCC diagnostic context for value-tracking warnings") Signed-off-by: Siddhesh Poyarekar siddhesh@gotplt.org
Applied to `rust-fixes` -- thanks everyone!
[ Details about what the option does are in the commit above. Nathan also expands on this:
Right, this does look correct, as this option is specific to GCC for the purpose of exposing more information from GCC internals to the user for understanding diagnostics better.
I checked that in Compiler Explorer GCC 15.2 doesn't have it, but GCC trunk indeed has. - Miguel ]
[ Removed Cc: stable. Added title prefix. - Miguel ]
Cheers, Miguel