From: Kees Cook <kees@kernel.org>
To: Masahiro Yamada <masahiroy@kernel.org>
Cc: Nathan Chancellor <nathan@kernel.org>, Sam James <sam@gentoo.org>,
Kostadin Shishmanov <kostadinshishmanov@protonmail.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
arnd@arndb.de, linux-kbuild@vger.kernel.org
Subject: Re: Build failure with GCC 15 (-std=gnu23)
Date: Mon, 20 Jan 2025 16:16:30 -0800 [thread overview]
Message-ID: <202501201615.F606516@keescook> (raw)
In-Reply-To: <CAK7LNAS6DZkbf6AM7kthPuUE_=ZPaaBPoP0UtvuF=6ijrzUPgQ@mail.gmail.com>
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.
--
Kees Cook
next prev parent reply other threads:[~2025-01-21 0:16 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-18 14:26 Build failure with GCC 15 (-std=gnu23) Kostadin Shishmanov
2024-11-18 20:56 ` Nathan Chancellor
2024-11-19 2:57 ` Sam James
2024-11-19 4:15 ` Nathan Chancellor
2024-11-19 4:24 ` Sam James
2024-11-19 4:47 ` Nathan Chancellor
2024-11-19 18:28 ` Masahiro Yamada
2025-01-21 0:16 ` Kees Cook [this message]
2025-01-21 21:53 ` Nathan Chancellor
2025-01-21 22:11 ` Sam James
2025-01-21 22:51 ` Nathan Chancellor
2024-11-19 6:53 ` Arnd Bergmann
2024-11-19 14:18 ` Nathan Chancellor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202501201615.F606516@keescook \
--to=kees@kernel.org \
--cc=arnd@arndb.de \
--cc=kostadinshishmanov@protonmail.com \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=masahiroy@kernel.org \
--cc=nathan@kernel.org \
--cc=sam@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.