mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-19 16:40:46 -09:00
configs/qemu: update defconfigs to Linux 6.12.47
Update all qemu defconfigs to the latest Kernel LTS version. Signed-off-by: Scott Fan <fancp2007@gmail.com> Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
c878e08839
commit
f83cb153a5
@@ -1,52 +0,0 @@
|
||||
From c94606e06b54bc7b909fb342aa8dae732b50f5cd Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Sat, 29 Mar 2025 08:39:03 -0700
|
||||
Subject: [PATCH] mips: Add -std= flag specified in KBUILD_CFLAGS to vdso
|
||||
CFLAGS
|
||||
|
||||
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, mips/vdso code uses
|
||||
its own CFLAGS without a '-std=' value, which break with this dialect
|
||||
change because of the kernel's own definitions of bool, false, and true
|
||||
conflicting with the C23 reserved keywords.
|
||||
|
||||
include/linux/stddef.h:11:9: error: cannot use keyword 'false' as enumeration constant
|
||||
11 | false = 0,
|
||||
| ^~~~~
|
||||
include/linux/stddef.h:11:9: note: 'false' is a keyword with '-std=c23' onwards
|
||||
include/linux/types.h:35:33: error: 'bool' cannot be defined via 'typedef'
|
||||
35 | typedef _Bool bool;
|
||||
| ^~~~
|
||||
include/linux/types.h:35:33: note: 'bool' is a keyword with '-std=c23' onwards
|
||||
|
||||
Add -std as specified in KBUILD_CFLAGS to the decompressor and purgatory
|
||||
CFLAGS to eliminate these errors and make the C standard version of these
|
||||
areas match the rest of the kernel.
|
||||
|
||||
Upstream: https://git.kernel.org/pub/scm/linux/kernel/git/mips/linux.git/commit/?id=0f4ae7c6ecb89bfda026d210dcf8216fb67d2333
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
Cc: stable@vger.kernel.org
|
||||
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
|
||||
[Romain: backport to 6.12.27]
|
||||
Signed-off-by: Romain Naour <romain.naour@smile.fr>
|
||||
---
|
||||
arch/mips/vdso/Makefile | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/arch/mips/vdso/Makefile b/arch/mips/vdso/Makefile
|
||||
index b289b2c1b294..c729bd687804 100644
|
||||
--- a/arch/mips/vdso/Makefile
|
||||
+++ b/arch/mips/vdso/Makefile
|
||||
@@ -27,6 +27,7 @@ endif
|
||||
# offsets.
|
||||
cflags-vdso := $(ccflags-vdso) \
|
||||
$(filter -W%,$(filter-out -Wa$(comma)%,$(KBUILD_CFLAGS))) \
|
||||
+ $(filter -std=%,$(KBUILD_CFLAGS)) \
|
||||
-O3 -g -fPIC -fno-strict-aliasing -fno-common -fno-builtin -G 0 \
|
||||
-mrelax-pic-calls $(call cc-option, -mexplicit-relocs) \
|
||||
-fno-stack-protector -fno-jump-tables -DDISABLE_BRANCH_PROFILING \
|
||||
--
|
||||
2.49.0
|
||||
|
||||
@@ -1,38 +0,0 @@
|
||||
From 2d04c5b3c5728cd5e5202176e8796ffc0085c24a Mon Sep 17 00:00:00 2001
|
||||
From: Michal Suchanek <msuchanek@suse.de>
|
||||
Date: Mon, 31 Mar 2025 12:57:19 +0200
|
||||
Subject: [PATCH] powerpc/boot: Fix build with gcc 15
|
||||
|
||||
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")
|
||||
|
||||
Upstream: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?h=next-test&id=5a821e2d69e26b51b7f3740b6b0c3462b8cacaff
|
||||
|
||||
Signed-off-by: Michal Suchanek <msuchanek@suse.de>
|
||||
Tested-by: Amit Machhiwal <amachhiw@linux.ibm.com>
|
||||
Tested-by: Venkat Rao Bagalkote <venkat88@linux.ibm.com>
|
||||
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
|
||||
Link: https://patch.msgid.link/20250331105722.19709-1-msuchanek@suse.de
|
||||
[Romain: backport to 6.12.27]
|
||||
Signed-off-by: Romain Naour <romain.naour@smile.fr>
|
||||
---
|
||||
arch/powerpc/boot/Makefile | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile
|
||||
index fa8518067d38..60a495771c05 100644
|
||||
--- a/arch/powerpc/boot/Makefile
|
||||
+++ b/arch/powerpc/boot/Makefile
|
||||
@@ -70,6 +70,7 @@ BOOTCPPFLAGS := -nostdinc $(LINUXINCLUDE)
|
||||
BOOTCPPFLAGS += -isystem $(shell $(BOOTCC) -print-file-name=include)
|
||||
|
||||
BOOTCFLAGS := $(BOOTTARGETFLAGS) \
|
||||
+ -std=gnu11 \
|
||||
-Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
|
||||
-fno-strict-aliasing -O2 \
|
||||
-msoft-float -mno-altivec -mno-vsx \
|
||||
--
|
||||
2.49.0
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# sha256 locally computed
|
||||
sha256 8f4655a4cc7f93d72f515bbca54756de26ddaf5949790da6a17f766e3c33dc79 linux-6.12.27.tar.xz
|
||||
sha256 e82fe40871743048226987bd349ef107168b15aab90140e872ca4ed470922e25 linux-6.12.47.tar.xz
|
||||
|
||||
# sha256 locally computed
|
||||
sha256 a76052c0c71d4025b117dcfc18ca7e189ac495a7645fa98c1bdaddca15cce815 xtensa_dc233c.tar.gz
|
||||
|
||||
Reference in New Issue
Block a user