]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
toolchain: bump GCC 12 to 12.2.0
authorNick Hainke <vincent@systemli.org>
Mon, 22 Aug 2022 08:17:33 +0000 (10:17 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 28 Aug 2022 16:29:10 +0000 (18:29 +0200)
Refreshed patches:
- 910-mbsd_multi.patch
- 970-macos_arm64-building-fix.patch

Signed-off-by: Nick Hainke <vincent@systemli.org>
19 files changed:
toolchain/gcc/Config.version
toolchain/gcc/common.mk
toolchain/gcc/patches/12.2.0/002-case_insensitive.patch [moved from toolchain/gcc/patches/12.1.0/002-case_insensitive.patch with 100% similarity]
toolchain/gcc/patches/12.2.0/010-documentation.patch [moved from toolchain/gcc/patches/12.1.0/010-documentation.patch with 100% similarity]
toolchain/gcc/patches/12.2.0/110-Fix-MIPS-PR-84790.patch [moved from toolchain/gcc/patches/12.1.0/110-Fix-MIPS-PR-84790.patch with 100% similarity]
toolchain/gcc/patches/12.2.0/230-musl_libssp.patch [moved from toolchain/gcc/patches/12.1.0/230-musl_libssp.patch with 100% similarity]
toolchain/gcc/patches/12.2.0/300-mips_Os_cpu_rtx_cost_model.patch [moved from toolchain/gcc/patches/12.1.0/300-mips_Os_cpu_rtx_cost_model.patch with 100% similarity]
toolchain/gcc/patches/12.2.0/810-arm-softfloat-libgcc.patch [moved from toolchain/gcc/patches/12.1.0/810-arm-softfloat-libgcc.patch with 100% similarity]
toolchain/gcc/patches/12.2.0/820-libgcc_pic.patch [moved from toolchain/gcc/patches/12.1.0/820-libgcc_pic.patch with 100% similarity]
toolchain/gcc/patches/12.2.0/840-armv4_pass_fix-v4bx_to_ld.patch [moved from toolchain/gcc/patches/12.1.0/840-armv4_pass_fix-v4bx_to_ld.patch with 100% similarity]
toolchain/gcc/patches/12.2.0/850-use_shared_libgcc.patch [moved from toolchain/gcc/patches/12.1.0/850-use_shared_libgcc.patch with 100% similarity]
toolchain/gcc/patches/12.2.0/851-libgcc_no_compat.patch [moved from toolchain/gcc/patches/12.1.0/851-libgcc_no_compat.patch with 100% similarity]
toolchain/gcc/patches/12.2.0/870-ppc_no_crtsavres.patch [moved from toolchain/gcc/patches/12.1.0/870-ppc_no_crtsavres.patch with 100% similarity]
toolchain/gcc/patches/12.2.0/881-no_tm_section.patch [moved from toolchain/gcc/patches/12.1.0/881-no_tm_section.patch with 100% similarity]
toolchain/gcc/patches/12.2.0/900-bad-mips16-crt.patch [moved from toolchain/gcc/patches/12.1.0/900-bad-mips16-crt.patch with 100% similarity]
toolchain/gcc/patches/12.2.0/910-mbsd_multi.patch [moved from toolchain/gcc/patches/12.1.0/910-mbsd_multi.patch with 98% similarity]
toolchain/gcc/patches/12.2.0/920-specs_nonfatal_getenv.patch [moved from toolchain/gcc/patches/12.1.0/920-specs_nonfatal_getenv.patch with 100% similarity]
toolchain/gcc/patches/12.2.0/960-gotools-fix-compilation-when-making-cross-compiler.patch [moved from toolchain/gcc/patches/12.1.0/960-gotools-fix-compilation-when-making-cross-compiler.patch with 100% similarity]
toolchain/gcc/patches/12.2.0/970-macos_arm64-building-fix.patch [moved from toolchain/gcc/patches/12.1.0/970-macos_arm64-building-fix.patch with 88% similarity]

index 1caa51a2916a913e31172f9f525ed4e10e4fbd8b..a909979cf66d8dd0a0345e76d484308702b6a66c 100644 (file)
@@ -14,5 +14,5 @@ config GCC_VERSION
        string
        default "8.4.0"         if GCC_VERSION_8
        default "10.3.0"        if GCC_VERSION_10
-       default "12.1.0"        if GCC_VERSION_12
+       default "12.2.0"        if GCC_VERSION_12
        default "11.3.0"
index 926418f4a774376ed8c533f3d05a817d45cca3df..f116af7e1ae285dfa2bd8a3792177c5410f8f902 100644 (file)
@@ -40,8 +40,8 @@ ifeq ($(PKG_VERSION),11.3.0)
   PKG_HASH:=b47cf2818691f5b1e21df2bb38c795fac2cfbd640ede2d0a5e1c89e338a3ac39
 endif
 
-ifeq ($(PKG_VERSION),12.1.0)
-  PKG_HASH:=62fd634889f31c02b64af2c468f064b47ad1ca78411c45abe6ac4b5f8dd19c7b
+ifeq ($(PKG_VERSION),12.2.0)
+  PKG_HASH:=e549cf9cf3594a00e27b6589d4322d70e0720cdd213f39beb4181e06926230ff
 endif
 
 PATCH_DIR=../patches/$(GCC_VERSION)
similarity index 98%
rename from toolchain/gcc/patches/12.1.0/910-mbsd_multi.patch
rename to toolchain/gcc/patches/12.2.0/910-mbsd_multi.patch
index 37aba93b94725f1ff9b032e8ae38dc8d651e482a..4033c5b23bcf876f394239780974494983c40cea 100644 (file)
@@ -134,7 +134,7 @@ Date:   Tue Jul 31 00:52:27 2007 +0000
  @opindex Wno-stack-protector
 --- a/gcc/opts.cc
 +++ b/gcc/opts.cc
-@@ -2658,6 +2658,9 @@ common_handle_option (struct gcc_options
+@@ -2692,6 +2692,9 @@ common_handle_option (struct gcc_options
        add_comma_separated_to_vector (&opts->x_flag_ignored_attributes, arg);
        break;
  
similarity index 88%
rename from toolchain/gcc/patches/12.1.0/970-macos_arm64-building-fix.patch
rename to toolchain/gcc/patches/12.2.0/970-macos_arm64-building-fix.patch
index d164d70e8819bc9332f289ce8f1bfbcdc895434f..86fa68e1b105775d9ff8a158adec16c5534f9b4d 100644 (file)
@@ -17,7 +17,7 @@ Date:   Mon Aug 16 13:16:21 2021 +0100
 
 --- a/gcc/config/aarch64/aarch64.h
 +++ b/gcc/config/aarch64/aarch64.h
-@@ -1236,7 +1236,7 @@ extern const char *aarch64_rewrite_mcpu
+@@ -1290,7 +1290,7 @@ extern const char *aarch64_rewrite_mcpu
  #define MCPU_TO_MARCH_SPEC_FUNCTIONS \
    { "rewrite_mcpu", aarch64_rewrite_mcpu },
  
@@ -28,8 +28,8 @@ Date:   Mon Aug 16 13:16:21 2021 +0100
  # define EXTRA_SPEC_FUNCTIONS                                         \
 --- a/gcc/config/host-darwin.cc
 +++ b/gcc/config/host-darwin.cc
-@@ -22,6 +22,8 @@
- #include "coretypes.h"
+@@ -23,6 +23,8 @@
+ #include "options.h"
  #include "diagnostic-core.h"
  #include "config/host-darwin.h"
 +#include "hosthooks.h"
@@ -37,9 +37,9 @@ Date:   Mon Aug 16 13:16:21 2021 +0100
  #include <errno.h>
  
  /* For Darwin (macOS only) platforms, without ASLR (PIE) enabled on the
-@@ -79,3 +81,5 @@ darwin_gt_pch_use_address (void *addr, s
+@@ -181,3 +183,5 @@ darwin_gt_pch_use_address (void *&addr,
  
-   return ret;
+   return 1;
  }
 +
 +const struct host_hooks host_hooks = HOST_HOOKS_INITIALIZER;