From 9632dcc8d3b18addb5db0ea838cc735516f9c50c Mon Sep 17 00:00:00 2001 From: Sebastian Roth Date: Sun, 5 Mar 2023 10:26:56 +0100 Subject: [PATCH] Update kernel and buildroot configs for building on more recent OS versions --- configs/fsarm64.config | 36 +++++++----------------------------- configs/fsx64.config | 36 +++++++----------------------------- configs/fsx86.config | 36 +++++++----------------------------- configs/kernelarm64.config | 17 +++++++++++++---- configs/kernelx64.config | 13 +++++++++---- configs/kernelx86.config | 18 ++++++++++++------ 6 files changed, 55 insertions(+), 101 deletions(-) diff --git a/configs/fsarm64.config b/configs/fsarm64.config index e402413..6aa2cb2 100644 --- a/configs/fsarm64.config +++ b/configs/fsarm64.config @@ -1,11 +1,13 @@ # # Automatically generated file; DO NOT EDIT. -# Buildroot -g6e30488-dirty Configuration +# Buildroot -g9147bb5 Configuration # BR2_HAVE_DOT_CONFIG=y BR2_HOST_GCC_AT_LEAST_4_9=y BR2_HOST_GCC_AT_LEAST_5=y BR2_HOST_GCC_AT_LEAST_6=y +BR2_HOST_GCC_AT_LEAST_7=y +BR2_HOST_GCC_AT_LEAST_8=y # # Target options @@ -483,10 +485,7 @@ BR2_PACKAGE_KODI_ARCH_SUPPORTS=y # BR2_PACKAGE_MJPEGTOOLS is not set # BR2_PACKAGE_MODPLUGTOOLS is not set # BR2_PACKAGE_MOTION is not set - -# -# mpd needs a toolchain w/ C++, threads, wchar, gcc >= 8, host gcc >= 8 -# +# BR2_PACKAGE_MPD is not set # BR2_PACKAGE_MPD_MPC is not set # BR2_PACKAGE_MPG123 is not set # BR2_PACKAGE_MPV is not set @@ -830,10 +829,6 @@ BR2_PACKAGE_XFSPROGS=y # BR2_PACKAGE_LIBVA_UTILS is not set BR2_PACKAGE_MIDORI_ARCH_SUPPORTS=y -# -# midori needs a glibc toolchain w/ C++, wchar, threads, dynamic library, gcc >= 7, host gcc >= 8 -# - # # midori needs libgtk3 w/ X11 or wayland backend # @@ -1147,10 +1142,7 @@ BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS=y # BR2_PACKAGE_MOARVM is not set BR2_PACKAGE_HOST_MONO_ARCH_SUPPORTS=y BR2_PACKAGE_NODEJS_ARCH_SUPPORTS=y - -# -# nodejs needs a toolchain w/ C++, dynamic library, NPTL, gcc >= 7, wchar, host gcc >= 8 -# +# BR2_PACKAGE_NODEJS is not set BR2_PACKAGE_HOST_OPENJDK_BIN_ARCH_SUPPORTS=y BR2_PACKAGE_OPENJDK_ARCH_SUPPORTS=y @@ -1883,10 +1875,6 @@ BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS=y # # gobject-introspection needs python3 # - -# -# gobject-introspection needs a glibc toolchain, gcc >= 4.9, host gcc >= 8 -# # BR2_PACKAGE_GSL is not set # BR2_PACKAGE_GTEST is not set # BR2_PACKAGE_GUMBO_PARSER is not set @@ -1945,10 +1933,6 @@ BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT=y # # libpeas needs python3 # - -# -# libpeas needs a glibc toolchain, gcc >= 4.9, host gcc >= 8 -# # BR2_PACKAGE_LIBPFM4 is not set # BR2_PACKAGE_LIBPLIST is not set # BR2_PACKAGE_LIBPTHREAD_STUBS is not set @@ -2878,10 +2862,7 @@ BR2_PACKAGE_HOST_JQ=y # BR2_PACKAGE_HOST_MKPASSWD is not set # BR2_PACKAGE_HOST_MTD is not set # BR2_PACKAGE_HOST_MTOOLS is not set - -# -# host nodejs needs a host gcc >= 8 -# +# BR2_PACKAGE_HOST_NODEJS is not set # BR2_PACKAGE_HOST_ODB is not set # BR2_PACKAGE_HOST_OPENOCD is not set # BR2_PACKAGE_HOST_OPKG_UTILS is not set @@ -2900,10 +2881,7 @@ BR2_PACKAGE_HOST_PATCHELF=y BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS=y BR2_PACKAGE_HOST_QEMU_SYSTEM_ARCH_SUPPORTS=y BR2_PACKAGE_HOST_QEMU_USER_ARCH_SUPPORTS=y - -# -# host-qemu needs a host gcc >= 8 -# +# BR2_PACKAGE_HOST_QEMU is not set # BR2_PACKAGE_HOST_QORIQ_RCW is not set # BR2_PACKAGE_HOST_RASPBERRYPI_USBBOOT is not set # BR2_PACKAGE_HOST_RAUC is not set diff --git a/configs/fsx64.config b/configs/fsx64.config index fde0e3c..110c2a6 100755 --- a/configs/fsx64.config +++ b/configs/fsx64.config @@ -1,11 +1,13 @@ # # Automatically generated file; DO NOT EDIT. -# Buildroot -g6e30488-dirty Configuration +# Buildroot -g9147bb5 Configuration # BR2_HAVE_DOT_CONFIG=y BR2_HOST_GCC_AT_LEAST_4_9=y BR2_HOST_GCC_AT_LEAST_5=y BR2_HOST_GCC_AT_LEAST_6=y +BR2_HOST_GCC_AT_LEAST_7=y +BR2_HOST_GCC_AT_LEAST_8=y # # Target options @@ -464,10 +466,7 @@ BR2_PACKAGE_KODI_ARCH_SUPPORTS=y BR2_PACKAGE_MJPEGTOOLS_SIMD_SUPPORT=y # BR2_PACKAGE_MODPLUGTOOLS is not set # BR2_PACKAGE_MOTION is not set - -# -# mpd needs a toolchain w/ C++, threads, wchar, gcc >= 8, host gcc >= 8 -# +# BR2_PACKAGE_MPD is not set # BR2_PACKAGE_MPD_MPC is not set # BR2_PACKAGE_MPG123 is not set # BR2_PACKAGE_MPV is not set @@ -819,10 +818,6 @@ BR2_PACKAGE_XFSPROGS=y # BR2_PACKAGE_LIBVA_UTILS is not set BR2_PACKAGE_MIDORI_ARCH_SUPPORTS=y -# -# midori needs a glibc toolchain w/ C++, wchar, threads, dynamic library, gcc >= 7, host gcc >= 8 -# - # # midori needs libgtk3 w/ X11 or wayland backend # @@ -1141,10 +1136,7 @@ BR2_PACKAGE_HOST_MONO_ARCH_SUPPORTS=y BR2_PACKAGE_MONO_ARCH_SUPPORTS=y # BR2_PACKAGE_MONO is not set BR2_PACKAGE_NODEJS_ARCH_SUPPORTS=y - -# -# nodejs needs a toolchain w/ C++, dynamic library, NPTL, gcc >= 7, wchar, host gcc >= 8 -# +# BR2_PACKAGE_NODEJS is not set BR2_PACKAGE_HOST_OPENJDK_BIN_ARCH_SUPPORTS=y BR2_PACKAGE_OPENJDK_ARCH_SUPPORTS=y @@ -1876,10 +1868,6 @@ BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS=y # # gobject-introspection needs python3 # - -# -# gobject-introspection needs a glibc toolchain, gcc >= 4.9, host gcc >= 8 -# # BR2_PACKAGE_GSL is not set # BR2_PACKAGE_GTEST is not set # BR2_PACKAGE_GUMBO_PARSER is not set @@ -1938,10 +1926,6 @@ BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT=y # # libpeas needs python3 # - -# -# libpeas needs a glibc toolchain, gcc >= 4.9, host gcc >= 8 -# # BR2_PACKAGE_LIBPFM4 is not set # BR2_PACKAGE_LIBPLIST is not set # BR2_PACKAGE_LIBPTHREAD_STUBS is not set @@ -2862,10 +2846,7 @@ BR2_PACKAGE_HOST_JQ=y # BR2_PACKAGE_HOST_MKPASSWD is not set # BR2_PACKAGE_HOST_MTD is not set # BR2_PACKAGE_HOST_MTOOLS is not set - -# -# host nodejs needs a host gcc >= 8 -# +# BR2_PACKAGE_HOST_NODEJS is not set # BR2_PACKAGE_HOST_ODB is not set # BR2_PACKAGE_HOST_OPENOCD is not set # BR2_PACKAGE_HOST_OPKG_UTILS is not set @@ -2884,10 +2865,7 @@ BR2_PACKAGE_HOST_PATCHELF=y BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS=y BR2_PACKAGE_HOST_QEMU_SYSTEM_ARCH_SUPPORTS=y BR2_PACKAGE_HOST_QEMU_USER_ARCH_SUPPORTS=y - -# -# host-qemu needs a host gcc >= 8 -# +# BR2_PACKAGE_HOST_QEMU is not set # BR2_PACKAGE_HOST_QORIQ_RCW is not set # BR2_PACKAGE_HOST_RAUC is not set # BR2_PACKAGE_HOST_RISCV_ISA_SIM is not set diff --git a/configs/fsx86.config b/configs/fsx86.config index 3b0bf9e..dfc8029 100755 --- a/configs/fsx86.config +++ b/configs/fsx86.config @@ -1,11 +1,13 @@ # # Automatically generated file; DO NOT EDIT. -# Buildroot -g6e30488-dirty Configuration +# Buildroot -g9147bb5 Configuration # BR2_HAVE_DOT_CONFIG=y BR2_HOST_GCC_AT_LEAST_4_9=y BR2_HOST_GCC_AT_LEAST_5=y BR2_HOST_GCC_AT_LEAST_6=y +BR2_HOST_GCC_AT_LEAST_7=y +BR2_HOST_GCC_AT_LEAST_8=y # # Target options @@ -468,10 +470,7 @@ BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS=y # BR2_PACKAGE_MJPEGTOOLS is not set # BR2_PACKAGE_MODPLUGTOOLS is not set # BR2_PACKAGE_MOTION is not set - -# -# mpd needs a toolchain w/ C++, threads, wchar, gcc >= 8, host gcc >= 8 -# +# BR2_PACKAGE_MPD is not set # BR2_PACKAGE_MPD_MPC is not set # BR2_PACKAGE_MPG123 is not set # BR2_PACKAGE_MPV is not set @@ -820,10 +819,6 @@ BR2_PACKAGE_XFSPROGS=y # BR2_PACKAGE_LIBVA_UTILS is not set BR2_PACKAGE_MIDORI_ARCH_SUPPORTS=y -# -# midori needs a glibc toolchain w/ C++, wchar, threads, dynamic library, gcc >= 7, host gcc >= 8 -# - # # midori needs libgtk3 w/ X11 or wayland backend # @@ -1146,10 +1141,7 @@ BR2_PACKAGE_HOST_MONO_ARCH_SUPPORTS=y BR2_PACKAGE_MONO_ARCH_SUPPORTS=y # BR2_PACKAGE_MONO is not set BR2_PACKAGE_NODEJS_ARCH_SUPPORTS=y - -# -# nodejs needs a toolchain w/ C++, dynamic library, NPTL, gcc >= 7, wchar, host gcc >= 8 -# +# BR2_PACKAGE_NODEJS is not set BR2_PACKAGE_HOST_OPENJDK_BIN_ARCH_SUPPORTS=y BR2_PACKAGE_OPENJDK_ARCH_SUPPORTS=y @@ -1877,10 +1869,6 @@ BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS=y # # gobject-introspection needs python3 # - -# -# gobject-introspection needs a glibc toolchain, gcc >= 4.9, host gcc >= 8 -# # BR2_PACKAGE_GSL is not set # BR2_PACKAGE_GTEST is not set # BR2_PACKAGE_GUMBO_PARSER is not set @@ -1939,10 +1927,6 @@ BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT=y # # libpeas needs python3 # - -# -# libpeas needs a glibc toolchain, gcc >= 4.9, host gcc >= 8 -# # BR2_PACKAGE_LIBPFM4 is not set # BR2_PACKAGE_LIBPLIST is not set # BR2_PACKAGE_LIBPTHREAD_STUBS is not set @@ -2853,10 +2837,7 @@ BR2_PACKAGE_HOST_JQ=y # BR2_PACKAGE_HOST_MKPASSWD is not set # BR2_PACKAGE_HOST_MTD is not set # BR2_PACKAGE_HOST_MTOOLS is not set - -# -# host nodejs needs a host gcc >= 8 -# +# BR2_PACKAGE_HOST_NODEJS is not set # BR2_PACKAGE_HOST_ODB is not set # BR2_PACKAGE_HOST_OPENOCD is not set # BR2_PACKAGE_HOST_OPKG_UTILS is not set @@ -2875,10 +2856,7 @@ BR2_PACKAGE_HOST_PATCHELF=y BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS=y BR2_PACKAGE_HOST_QEMU_SYSTEM_ARCH_SUPPORTS=y BR2_PACKAGE_HOST_QEMU_USER_ARCH_SUPPORTS=y - -# -# host-qemu needs a host gcc >= 8 -# +# BR2_PACKAGE_HOST_QEMU is not set # BR2_PACKAGE_HOST_QORIQ_RCW is not set # BR2_PACKAGE_HOST_RAUC is not set # BR2_PACKAGE_HOST_RISCV_ISA_SIM is not set diff --git a/configs/kernelarm64.config b/configs/kernelarm64.config index 5d2a009..ea51100 100644 --- a/configs/kernelarm64.config +++ b/configs/kernelarm64.config @@ -2,18 +2,20 @@ # Automatically generated file; DO NOT EDIT. # Linux/arm64 5.15.93 Kernel Configuration # -CONFIG_CC_VERSION_TEXT="aarch64-linux-gnu-gcc (Debian 6.3.0-18) 6.3.0 20170516" +CONFIG_CC_VERSION_TEXT="aarch64-linux-gnu-gcc (Debian 8.3.0-2) 8.3.0" CONFIG_CC_IS_GCC=y -CONFIG_GCC_VERSION=60300 +CONFIG_GCC_VERSION=80300 CONFIG_CLANG_VERSION=0 CONFIG_AS_IS_GNU=y -CONFIG_AS_VERSION=22800 +CONFIG_AS_VERSION=23101 CONFIG_LD_IS_BFD=y -CONFIG_LD_VERSION=22800 +CONFIG_LD_VERSION=23101 CONFIG_LLD_VERSION=0 CONFIG_CC_CAN_LINK=y CONFIG_CC_CAN_LINK_STATIC=y CONFIG_CC_HAS_ASM_GOTO=y +CONFIG_CC_HAS_ASM_INLINE=y +CONFIG_CC_HAS_NO_PROFILE_FN_ATTR=y CONFIG_IRQ_WORK=y CONFIG_BUILDTIME_TABLE_SORT=y CONFIG_THREAD_INFO_IN_TASK=y @@ -375,6 +377,8 @@ CONFIG_ARM64_CNP=y # ARMv8.3 architectural features # CONFIG_ARM64_PTR_AUTH=y +CONFIG_ARM64_PTR_AUTH_KERNEL=y +CONFIG_CC_HAS_SIGN_RETURN_ADDRESS=y CONFIG_AS_HAS_PAC=y # end of ARMv8.3 architectural features @@ -382,6 +386,8 @@ CONFIG_AS_HAS_PAC=y # ARMv8.4 architectural features # CONFIG_ARM64_AMU_EXTN=y +CONFIG_AS_HAS_ARMV8_4=y +CONFIG_ARM64_TLB_RANGE=y # end of ARMv8.4 architectural features # @@ -3909,6 +3915,8 @@ CONFIG_HAVE_ARCH_KASAN=y CONFIG_HAVE_ARCH_KASAN_SW_TAGS=y CONFIG_HAVE_ARCH_KASAN_VMALLOC=y CONFIG_CC_HAS_KASAN_GENERIC=y +CONFIG_CC_HAS_WORKING_NOSANITIZE_ADDRESS=y +# CONFIG_KASAN is not set CONFIG_HAVE_ARCH_KFENCE=y # CONFIG_KFENCE is not set # end of Memory Debugging @@ -3989,6 +3997,7 @@ CONFIG_RCU_CPU_STALL_TIMEOUT=21 CONFIG_HAVE_FUNCTION_TRACER=y CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y CONFIG_HAVE_DYNAMIC_FTRACE=y +CONFIG_HAVE_DYNAMIC_FTRACE_WITH_REGS=y CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y CONFIG_HAVE_SYSCALL_TRACEPOINTS=y CONFIG_HAVE_C_RECORDMCOUNT=y diff --git a/configs/kernelx64.config b/configs/kernelx64.config index e10f9f2..79aa4e2 100755 --- a/configs/kernelx64.config +++ b/configs/kernelx64.config @@ -2,18 +2,20 @@ # Automatically generated file; DO NOT EDIT. # Linux/x86 5.15.93 Kernel Configuration # -CONFIG_CC_VERSION_TEXT="gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516" +CONFIG_CC_VERSION_TEXT="gcc (Debian 8.3.0-6) 8.3.0" CONFIG_CC_IS_GCC=y -CONFIG_GCC_VERSION=60300 +CONFIG_GCC_VERSION=80300 CONFIG_CLANG_VERSION=0 CONFIG_AS_IS_GNU=y -CONFIG_AS_VERSION=22800 +CONFIG_AS_VERSION=23101 CONFIG_LD_IS_BFD=y -CONFIG_LD_VERSION=22800 +CONFIG_LD_VERSION=23101 CONFIG_LLD_VERSION=0 CONFIG_CC_CAN_LINK=y CONFIG_CC_CAN_LINK_STATIC=y CONFIG_CC_HAS_ASM_GOTO=y +CONFIG_CC_HAS_ASM_INLINE=y +CONFIG_CC_HAS_NO_PROFILE_FN_ATTR=y CONFIG_IRQ_WORK=y CONFIG_BUILDTIME_TABLE_SORT=y CONFIG_THREAD_INFO_IN_TASK=y @@ -520,6 +522,7 @@ CONFIG_HAVE_KVM=y CONFIG_AS_AVX512=y CONFIG_AS_SHA1_NI=y CONFIG_AS_SHA256_NI=y +CONFIG_AS_TPAUSE=y # # General architecture-dependent options @@ -3902,6 +3905,8 @@ CONFIG_ARCH_HAS_DEBUG_VIRTUAL=y CONFIG_HAVE_ARCH_KASAN=y CONFIG_HAVE_ARCH_KASAN_VMALLOC=y CONFIG_CC_HAS_KASAN_GENERIC=y +CONFIG_CC_HAS_WORKING_NOSANITIZE_ADDRESS=y +# CONFIG_KASAN is not set CONFIG_HAVE_ARCH_KFENCE=y # CONFIG_KFENCE is not set # end of Memory Debugging diff --git a/configs/kernelx86.config b/configs/kernelx86.config index 1692bc7..a22e73d 100755 --- a/configs/kernelx86.config +++ b/configs/kernelx86.config @@ -2,18 +2,18 @@ # Automatically generated file; DO NOT EDIT. # Linux/i386 5.15.93 Kernel Configuration # -CONFIG_CC_VERSION_TEXT="gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516" +CONFIG_CC_VERSION_TEXT="gcc (Debian 8.3.0-6) 8.3.0" CONFIG_CC_IS_GCC=y -CONFIG_GCC_VERSION=60300 +CONFIG_GCC_VERSION=80300 CONFIG_CLANG_VERSION=0 CONFIG_AS_IS_GNU=y -CONFIG_AS_VERSION=22800 +CONFIG_AS_VERSION=23101 CONFIG_LD_IS_BFD=y -CONFIG_LD_VERSION=22800 +CONFIG_LD_VERSION=23101 CONFIG_LLD_VERSION=0 -CONFIG_CC_CAN_LINK=y -CONFIG_CC_CAN_LINK_STATIC=y CONFIG_CC_HAS_ASM_GOTO=y +CONFIG_CC_HAS_ASM_INLINE=y +CONFIG_CC_HAS_NO_PROFILE_FN_ATTR=y CONFIG_IRQ_WORK=y CONFIG_BUILDTIME_TABLE_SORT=y CONFIG_THREAD_INFO_IN_TASK=y @@ -252,6 +252,7 @@ CONFIG_X86_32_SMP=y CONFIG_ARCH_SUPPORTS_UPROBES=y CONFIG_FIX_EARLYCON_MEM=y CONFIG_PGTABLE_LEVELS=2 +CONFIG_CC_HAS_SANE_STACKPROTECTOR=y # # Processor type and features @@ -546,6 +547,7 @@ CONFIG_HAVE_KVM=y CONFIG_AS_AVX512=y CONFIG_AS_SHA1_NI=y CONFIG_AS_SHA256_NI=y +CONFIG_AS_TPAUSE=y # # General architecture-dependent options @@ -604,6 +606,9 @@ CONFIG_SECCOMP=y CONFIG_SECCOMP_FILTER=y # CONFIG_SECCOMP_CACHE_DEBUG is not set CONFIG_HAVE_ARCH_STACKLEAK=y +CONFIG_HAVE_STACKPROTECTOR=y +CONFIG_STACKPROTECTOR=y +CONFIG_STACKPROTECTOR_STRONG=y CONFIG_ARCH_SUPPORTS_LTO_CLANG=y CONFIG_ARCH_SUPPORTS_LTO_CLANG_THIN=y CONFIG_LTO_NONE=y @@ -3871,6 +3876,7 @@ CONFIG_ARCH_SUPPORTS_KMAP_LOCAL_FORCE_MAP=y CONFIG_HAVE_DEBUG_STACKOVERFLOW=y # CONFIG_DEBUG_STACKOVERFLOW is not set CONFIG_CC_HAS_KASAN_GENERIC=y +CONFIG_CC_HAS_WORKING_NOSANITIZE_ADDRESS=y CONFIG_HAVE_ARCH_KFENCE=y # CONFIG_KFENCE is not set # end of Memory Debugging