linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] powerpc/boot: Fix build with gcc 15
@ 2025-03-07  9:20 Michal Suchanek
  2025-03-08 10:09 ` Nysal Jan K.A.
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Michal Suchanek @ 2025-03-07  9:20 UTC (permalink / raw)
  To: linuxppc-dev
  Cc: Michal Suchanek, Madhavan Srinivasan, Michael Ellerman,
	Nicholas Piggin, Christophe Leroy, Naveen N Rao, Masahiro Yamada,
	Nicolas Schier, Bjorn Helgaas, linux-kernel

Similar to x86 the ppc boot code does not build with GCC 15.

Copy the fix from
commit ee2ab467bddf ("x86/boot: Use '-std=gnu11' to fix build with GCC 15")

Signed-off-by: Michal Suchanek <msuchanek@suse.de>
---
 arch/powerpc/boot/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile
index 1ff6ad4f6cd2..e6b35699c049 100644
--- a/arch/powerpc/boot/Makefile
+++ b/arch/powerpc/boot/Makefile
@@ -33,6 +33,7 @@ else
 endif
 
 ifdef CONFIG_PPC64_BOOT_WRAPPER
+BOOTTARGETFLAGS	+= -std=gnu11
 BOOTTARGETFLAGS	+= -m64
 BOOTTARGETFLAGS	+= -mabi=elfv2
 ifdef CONFIG_PPC64_ELF_ABI_V2
-- 
2.47.1



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

end of thread, other threads:[~2025-05-14  4:04 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-07  9:20 [PATCH] powerpc/boot: Fix build with gcc 15 Michal Suchanek
2025-03-08 10:09 ` Nysal Jan K.A.
2025-03-10  8:40 ` Michal Suchánek
2025-03-14  9:25   ` [PATCH v2] " Michal Suchanek
2025-03-29  9:11     ` Michael Ellerman
2025-03-31 10:57       ` [PATCH v3] " Michal Suchanek
2025-04-17  4:39         ` Venkat Rao Bagalkote
2025-05-05 12:14         ` Amit Machhiwal
2025-05-14  4:03         ` Madhavan Srinivasan
2025-04-17  6:07 ` [PATCH] " Mukesh Kumar Chaurasiya
2025-04-17 11:02   ` Michal Suchánek
2025-04-21  8:26     ` Mukesh Kumar Chaurasiya

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).