On Sun, Jan 04, 2026 at 09:53:25PM +0100, Miguel Ojeda wrote:
On Wed, Dec 17, 2025 at 11:41 PM Siddhesh Poyarekar siddhesh@gotplt.org wrote:
but clang does not have this option, so avoid passing it to bindgen.
This looks indeed correct, although it is not yet in a released GCC (testing quickly in Compiler Explorer, GCC 15.2 doesn't have it, but GCC trunk has).
I will apply it -- Cc'ing ClangBuiltLinux and Kbuild so that they are aware.
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 will say if this makes 6.19, the stable tag is not necessary since 7454048db27d6 landed in 6.19-rc1 and I would not expect it to get backported (but even if it did via AUTOSEL or something, the Fixes tag should ensure it gets included).
Cheers, Nathan