[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250121215330.GB1517789@ax162>
Date: Tue, 21 Jan 2025 14:53:30 -0700
From: Nathan Chancellor <nathan@...nel.org>
To: Kees Cook <kees@...nel.org>
Cc: Masahiro Yamada <masahiroy@...nel.org>, Sam James <sam@...too.org>,
Kostadin Shishmanov <kostadinshishmanov@...tonmail.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
arnd@...db.de, linux-kbuild@...r.kernel.org
Subject: Re: Build failure with GCC 15 (-std=gnu23)
On Mon, Jan 20, 2025 at 04:16:30PM -0800, Kees Cook wrote:
> On Wed, Nov 20, 2024 at 03:28:35AM +0900, Masahiro Yamada wrote:
> > Some Makefile overriding KBUILD_CFLAGS would forget to add
> > $(CSTD_FLAG), for the same reason as they would forget to add
> > -std=gnu11.
>
> But at least we'd have 1 place to change when we changed the std level.
>
> FWIW, I just ran into this build failure too testing GCC 15 from their
> ToT. Both EFI and compressed Makefiles needed it in my build.
Yeah, I suggested the simpler diff in a separate thread, which seems to
agree with your testing:
https://lore.kernel.org/20250120182048.GA3244701@ax162/
I don't mind drafting up a commit message and sending those along if
that would be preferrable.
Cheers,
Nathan
Powered by blists - more mailing lists