mirror of
https://github.com/LiBwrt-op/openwrt-6.x.git
synced 2026-01-07 03:34:58 +00:00
Add the following to fix builds with GCC 15.1: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/arch/mips/vdso?h=next-20250606&id=0f4ae7c6ecb89bfda026d210dcf8216fb67d2333 % dmesg | grep gcc [ 0.000000] Linux version 6.6.93 (facade@redline) (mipsel-openwrt-linux-musl-gcc (OpenWrt GCC 15.1.0 r29972+15-7d617804cfe7) 15.1.0, GNU ld (GNU Binutils) 2.44) #0 SMP Sat Jun 7 12:13:18 2025 Error for reference: ./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 ./include/linux/types.h:35:1: error: useless type name in empty declaration [-Werror] 35 | typedef _Bool bool; | ^~~~~~~ CC arch/mips/lib/delay.o AR arch/mips/fw/lib/built-in.a AR arch/mips/fw/lib/lib.a CC arch/mips/ralink/of.o CC fs/read_write.o CC block/elevator.o cc1: all warnings being treated as errors make[9]: *** [scripts/Makefile.build:243: arch/mips/vdso/vgettimeofday.o] Error 1 make[8]: *** [scripts/Makefile.build:480: arch/mips/vdso] Error 2 Build system: x86/64 Build-tested: ramips/tplink_archer-a6-v3 Run-tested: ramips/tplink_archer-a6-v3 Signed-off-by: John Audia <therealgraysky@proton.me> Link: https://github.com/openwrt/openwrt/pull/19058 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> |
||
|---|---|---|
| .. | ||
| backport-6.6 | ||
| backport-6.12 | ||
| files | ||
| hack-6.6 | ||
| hack-6.12 | ||
| image | ||
| other-files | ||
| pending-6.6 | ||
| pending-6.12 | ||
| config-6.6 | ||
| config-6.12 | ||
| config-filter | ||
| kernel-6.6 | ||
| kernel-6.12 | ||
| PATCHES | ||