mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* arch/x86/Makefile REALMODE_CFLAGS needs -std=gnu11 with recent GCC versions
@ 2025-06-29 15:15 Dennis Clarke
  2025-06-29 15:33 ` Borislav Petkov
  0 siblings, 1 reply; 2+ messages in thread
From: Dennis Clarke @ 2025-06-29 15:15 UTC (permalink / raw)
  To: linux-kernel


Code fix for due to https://bugzilla.kernel.org/show_bug.cgi?id=220294

The summary is that recent GCC versions ( 15.1.0 today ) will assume C23
spec compliance and get upset with ye old A20 address line code bits.

This problem exists previous to the 6.12.35 release tarballs and is
fixed with commit b3bee1e7c3f2b1b77182302c7b2131c804175870 applied.

The newer GCC revisions will be quite popular soon enough and this may
bite people when that happens.

-- 
--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
Beard and Suspenders installed

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: arch/x86/Makefile REALMODE_CFLAGS needs -std=gnu11 with recent GCC versions
  2025-06-29 15:15 arch/x86/Makefile REALMODE_CFLAGS needs -std=gnu11 with recent GCC versions Dennis Clarke
@ 2025-06-29 15:33 ` Borislav Petkov
  0 siblings, 0 replies; 2+ messages in thread
From: Borislav Petkov @ 2025-06-29 15:33 UTC (permalink / raw)
  To: Dennis Clarke, stable; +Cc: linux-kernel

+ stable folks.

On Sun, Jun 29, 2025 at 11:15:13AM -0400, Dennis Clarke wrote:
> 
> Code fix for due to https://bugzilla.kernel.org/show_bug.cgi?id=220294
> 
> The summary is that recent GCC versions ( 15.1.0 today ) will assume C23
> spec compliance and get upset with ye old A20 address line code bits.
> 
> This problem exists previous to the 6.12.35 release tarballs and is
> fixed with commit b3bee1e7c3f2b1b77182302c7b2131c804175870 applied.
> 
> The newer GCC revisions will be quite popular soon enough and this may
> bite people when that happens.

I don't know what the rules are for building 6.1-stable with gcc-15 but if
they do that, then 6.1 will need to pick up the abovementioned commit:

  b3bee1e7c3f2 ("x86/boot: Compile boot code with -std=gnu11 too")

Thx.

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-06-29 15:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-06-29 15:15 arch/x86/Makefile REALMODE_CFLAGS needs -std=gnu11 with recent GCC versions Dennis Clarke
2025-06-29 15:33 ` Borislav Petkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®