[packages/kernel/LINUX_5_4] - more gcc15 fixes

baggins baggins at pld-linux.org
Fri Nov 7 19:32:24 CET 2025


commit 539b495ba3f4b5c63213f0d80813f1b34ebb8b4a
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Fri Nov 7 21:32:11 2025 +0100

    - more gcc15 fixes

 gcc15.patch | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
---
diff --git a/gcc15.patch b/gcc15.patch
index 92bf6757..c6874bbf 100644
--- a/gcc15.patch
+++ b/gcc15.patch
@@ -19,3 +19,24 @@
  KBUILD_AFLAGS	:= $(KBUILD_CFLAGS) -D__ASSEMBLY__
  GCOV_PROFILE := n
  UBSAN_SANITIZE := n
+--- linux-5.4/drivers/firmware/efi/libstub/Makefile~	2025-11-07 21:01:24.000000000 +0100
++++ linux-5.4/drivers/firmware/efi/libstub/Makefile	2025-11-07 21:11:26.293330130 +0100
+@@ -29,7 +29,7 @@
+ 				   $(call cc-option,-ffreestanding) \
+ 				   $(call cc-option,-fno-stack-protector) \
+ 				   $(call cc-option,-fno-addrsig) \
+-				   -D__DISABLE_EXPORTS
++				   -D__DISABLE_EXPORTS -std=gnu11
+ 
+ GCOV_PROFILE			:= n
+ KASAN_SANITIZE			:= n
+--- linux-5.4/arch/x86/boot/compressed/Makefile~	2025-11-07 21:01:24.000000000 +0100
++++ linux-5.4/arch/x86/boot/compressed/Makefile	2025-11-07 21:30:32.113330103 +0100
+@@ -38,6 +38,7 @@
+ KBUILD_CFLAGS += $(call cc-disable-warning, address-of-packed-member)
+ KBUILD_CFLAGS += $(call cc-disable-warning, gnu)
+ KBUILD_CFLAGS += -Wno-pointer-sign
++KBUILD_CFLAGS += -std=gnu11
+ # Disable relocation relaxation in case the link is not PIE.
+ KBUILD_CFLAGS += $(call cc-option,-Wa$(comma)-mrelax-relocations=no)
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kernel.git/commitdiff/539b495ba3f4b5c63213f0d80813f1b34ebb8b4a




More information about the pld-cvs-commit mailing list