All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: "Philip Müller" <philm@manjaro.org>
Cc: "stable@vger.kernel.org" <stable@vger.kernel.org>
Subject: Re: Older kernels like 6.6 and lower may not compile with GCC15 due to -std=gnu23
Date: Thu, 1 May 2025 08:44:34 +0200	[thread overview]
Message-ID: <2025050154-finalize-violet-58d0@gregkh> (raw)
In-Reply-To: <e7198e45-f7bf-4864-aed7-dd4ecfd13112@manjaro.org>

On Thu, May 01, 2025 at 08:34:36AM +0200, Philip Müller wrote:
> Hi all,
> 
> GCC 15 changed the default C standard dialect from gnu17 to gnu23,
> which should not have impacted the kernel because it explicitly requests
> the gnu11 standard in the main Makefile. However I see these errors in older
> kernels series and some realtime kernels:
> 
> 5.4, 5.10, 5.15, 6.1, 6.1-rt, 6.6, 6.13-rt

That's to be expected, no one has backported the fixes for this yet.

Someone on the list started to, but then said they would wait for
someone else to do it, see this thread:
	https://lore.kernel.org/r/fb4cce81-1e36-4887-a1e0-0cfd1a26693e@googlemail.com

So, until that happens, or one of my build-boxes accidentally gets
upgraded to gcc-15 and I'm forced to do it myself, this is going to stay
as-is.

thanks,

greg k-h

      reply	other threads:[~2025-05-01  6:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-01  6:34 Older kernels like 6.6 and lower may not compile with GCC15 due to -std=gnu23 Philip Müller
2025-05-01  6:44 ` Greg Kroah-Hartman [this message]

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=2025050154-finalize-violet-58d0@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=philm@manjaro.org \
    --cc=stable@vger.kernel.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.