From fdbb1affe3c5cc89d1a696fae1a03f73fed81921 Mon Sep 17 00:00:00 2001 From: Bensuperpc Date: Tue, 4 May 2021 15:19:58 +0200 Subject: [PATCH 1/2] Update GCC to 7.5.0 to Add C++17 support --- linux-armv5-musl/crosstool-ng.config | 2 +- linux-armv5/crosstool-ng.config | 6 +++++- linux-armv7/crosstool-ng.config | 6 +++++- linux-mips/crosstool-ng.config | 5 +++-- linux-ppc64le/crosstool-ng.config | 5 +++-- 5 files changed, 17 insertions(+), 7 deletions(-) diff --git a/linux-armv5-musl/crosstool-ng.config b/linux-armv5-musl/crosstool-ng.config index 868f5bc..ae3f568 100755 --- a/linux-armv5-musl/crosstool-ng.config +++ b/linux-armv5-musl/crosstool-ng.config @@ -349,7 +349,7 @@ CT_CC_CORE_PASSES_NEEDED=y CT_CC_CORE_PASS_1_NEEDED=y CT_CC_CORE_PASS_2_NEEDED=y CT_CC_gcc=y -CT_CC_GCC_VERSION="4.9.4" +CT_CC_GCC_VERSION="7.5.0" # CT_CC_GCC_SHOW_LINARO is not set # CT_CC_GCC_V_6_3_0 is not set # CT_CC_GCC_V_5_4_0 is not set diff --git a/linux-armv5/crosstool-ng.config b/linux-armv5/crosstool-ng.config index 64c3171..b581245 100644 --- a/linux-armv5/crosstool-ng.config +++ b/linux-armv5/crosstool-ng.config @@ -355,7 +355,7 @@ CT_CC_CORE_PASSES_NEEDED=y CT_CC_CORE_PASS_1_NEEDED=y CT_CC_CORE_PASS_2_NEEDED=y CT_CC_gcc=y -CT_CC_GCC_VERSION="4.9.4" +CT_CC_GCC_VERSION="7.5.0" # CT_CC_GCC_SHOW_LINARO is not set # CT_CC_GCC_V_6_3_0 is not set # CT_CC_GCC_V_5_4_0 is not set @@ -363,6 +363,10 @@ CT_CC_GCC_V_4_9_4=y CT_CC_GCC_4_8_or_later=y CT_CC_GCC_4_9=y CT_CC_GCC_4_9_or_later=y +CT_CC_GCC_6=y +CT_CC_GCC_6_or_later=y +CT_CC_GCC_7=y +CT_CC_GCC_7_or_later=y CT_CC_GCC_ENABLE_PLUGINS=y CT_CC_GCC_GOLD=y CT_CC_GCC_ENABLE_CXX_FLAGS="" diff --git a/linux-armv7/crosstool-ng.config b/linux-armv7/crosstool-ng.config index 4a5f106..e558e1c 100644 --- a/linux-armv7/crosstool-ng.config +++ b/linux-armv7/crosstool-ng.config @@ -355,7 +355,7 @@ CT_CC_CORE_PASSES_NEEDED=y CT_CC_CORE_PASS_1_NEEDED=y CT_CC_CORE_PASS_2_NEEDED=y CT_CC_gcc=y -CT_CC_GCC_VERSION="4.9.4" +CT_CC_GCC_VERSION="7.5.0" # CT_CC_GCC_SHOW_LINARO is not set # CT_CC_GCC_V_6_3_0 is not set # CT_CC_GCC_V_5_4_0 is not set @@ -363,6 +363,10 @@ CT_CC_GCC_V_4_9_4=y CT_CC_GCC_4_8_or_later=y CT_CC_GCC_4_9=y CT_CC_GCC_4_9_or_later=y +CT_CC_GCC_6=y +CT_CC_GCC_6_or_later=y +CT_CC_GCC_7=y +CT_CC_GCC_7_or_later=y CT_CC_GCC_ENABLE_PLUGINS=y CT_CC_GCC_GOLD=y CT_CC_GCC_ENABLE_CXX_FLAGS="" diff --git a/linux-mips/crosstool-ng.config b/linux-mips/crosstool-ng.config index 1fc2098..82d9d58 100644 --- a/linux-mips/crosstool-ng.config +++ b/linux-mips/crosstool-ng.config @@ -342,9 +342,10 @@ CT_CC_CORE_PASSES_NEEDED=y CT_CC_CORE_PASS_1_NEEDED=y CT_CC_CORE_PASS_2_NEEDED=y CT_CC_gcc=y -CT_CC_GCC_VERSION="6.3.0" +CT_CC_GCC_VERSION="7.5.0" # CT_CC_GCC_SHOW_LINARO is not set -CT_CC_GCC_V_6_3_0=y +CT_CC_GCC_V_6_3_0 is not set +CT_CC_GCC_V_7_5_0=y # CT_CC_GCC_V_5_4_0 is not set # CT_CC_GCC_V_4_9_4 is not set CT_CC_GCC_4_8_or_later=y diff --git a/linux-ppc64le/crosstool-ng.config b/linux-ppc64le/crosstool-ng.config index 863b5cc..92ea786 100644 --- a/linux-ppc64le/crosstool-ng.config +++ b/linux-ppc64le/crosstool-ng.config @@ -349,9 +349,10 @@ CT_CC_CORE_PASSES_NEEDED=y CT_CC_CORE_PASS_1_NEEDED=y CT_CC_CORE_PASS_2_NEEDED=y CT_CC_gcc=y -CT_CC_GCC_VERSION="6.3.0" +CT_CC_GCC_VERSION="7.5.0" # CT_CC_GCC_SHOW_LINARO is not set -CT_CC_GCC_V_6_3_0=y +CT_CC_GCC_V_6_3_0 is not set +CT_CC_GCC_V_7_5_0=y # CT_CC_GCC_V_5_4_0 is not set # CT_CC_GCC_V_4_9_4 is not set CT_CC_GCC_4_8_or_later=y From 311f216402db2d2334de294f87a5ebb282c3f39e Mon Sep 17 00:00:00 2001 From: Bensuperpc Date: Tue, 4 May 2021 17:25:50 +0200 Subject: [PATCH 2/2] Fix gcc 7.5.0 --- linux-armv5/crosstool-ng.config | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/linux-armv5/crosstool-ng.config b/linux-armv5/crosstool-ng.config index b581245..1946345 100644 --- a/linux-armv5/crosstool-ng.config +++ b/linux-armv5/crosstool-ng.config @@ -359,7 +359,8 @@ CT_CC_GCC_VERSION="7.5.0" # CT_CC_GCC_SHOW_LINARO is not set # CT_CC_GCC_V_6_3_0 is not set # CT_CC_GCC_V_5_4_0 is not set -CT_CC_GCC_V_4_9_4=y +CT_CC_GCC_V_4_9_4 is not set +CT_CC_GCC_V_7_5_0=y CT_CC_GCC_4_8_or_later=y CT_CC_GCC_4_9=y CT_CC_GCC_4_9_or_later=y