From 82e89aec12f5be5952c26bae9d5a869d526b3521 Mon Sep 17 00:00:00 2001 From: Jens Maus Date: Tue, 18 Jun 2024 22:43:44 +0200 Subject: [PATCH] downgrade gcc version from v13 (default) to v12 to workaround an issue with the RaspberryPi kernel running into a kernel panic in dwc_otg (this refs #2780) --- buildroot-external/Buildroot.config | 1 + .../package/recovery-system/external/Buildroot.config | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/buildroot-external/Buildroot.config b/buildroot-external/Buildroot.config index ef409cdee0..d717c13c2b 100644 --- a/buildroot-external/Buildroot.config +++ b/buildroot-external/Buildroot.config @@ -3,6 +3,7 @@ BR2_CCACHE=y BR2_DL_DIR="$(TOPDIR)/../download" # BR2_ENABLE_LOCALE_PURGE is not set BR2_ENABLE_LTO=y +BR2_GCC_VERSION_12_X=y BR2_GLOBAL_PATCH_DIR="$(BR2_EXTERNAL_EQ3_PATH)/patches" BR2_GNU_MIRROR="http://ftp.gnu.org/pub/gnu" BR2_KERNEL_MIRROR="https://www.kernel.org/pub" diff --git a/buildroot-external/package/recovery-system/external/Buildroot.config b/buildroot-external/package/recovery-system/external/Buildroot.config index 6feb8f07b3..38723bc368 100644 --- a/buildroot-external/package/recovery-system/external/Buildroot.config +++ b/buildroot-external/package/recovery-system/external/Buildroot.config @@ -23,7 +23,7 @@ BR2_TOOLCHAIN_EXTERNAL=y BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC=y BR2_TOOLCHAIN_EXTERNAL_CXX=y -BR2_TOOLCHAIN_EXTERNAL_GCC_13=y +BR2_TOOLCHAIN_EXTERNAL_GCC_12=y BR2_TOOLCHAIN_EXTERNAL_HEADERS_6_6=y # BR2_TOOLCHAIN_EXTERNAL_INET_RPC is not set BR2_TOOLCHAIN_EXTERNAL_PATH="$(BASE_DIR)/../../../host"