]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
toolchain/gcc: update 8.x to 8.2.0
authorSyrone Wong <wong.syrone@gmail.com>
Fri, 27 Jul 2018 10:32:03 +0000 (18:32 +0800)
committerFelix Fietkau <nbd@nbd.name>
Mon, 20 Aug 2018 07:24:33 +0000 (09:24 +0200)
This release fixes LTO link-time performance problems and C++ bug introduced in GCC 8.1

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
21 files changed:
toolchain/gcc/Config.version
toolchain/gcc/common.mk
toolchain/gcc/patches/8.2.0/002-case_insensitive.patch [moved from toolchain/gcc/patches/8.1.0/002-case_insensitive.patch with 100% similarity]
toolchain/gcc/patches/8.2.0/010-documentation.patch [moved from toolchain/gcc/patches/8.1.0/010-documentation.patch with 100% similarity]
toolchain/gcc/patches/8.2.0/110-Fix-MIPS-PR-84790.patch [moved from toolchain/gcc/patches/8.1.0/110-Fix-MIPS-PR-84790.patch with 100% similarity]
toolchain/gcc/patches/8.2.0/230-musl_libssp.patch [moved from toolchain/gcc/patches/8.1.0/230-musl_libssp.patch with 100% similarity]
toolchain/gcc/patches/8.2.0/300-mips_Os_cpu_rtx_cost_model.patch [moved from toolchain/gcc/patches/8.1.0/300-mips_Os_cpu_rtx_cost_model.patch with 100% similarity]
toolchain/gcc/patches/8.2.0/800-arm_v5te_no_ldrd_strd.patch [moved from toolchain/gcc/patches/8.1.0/800-arm_v5te_no_ldrd_strd.patch with 100% similarity]
toolchain/gcc/patches/8.2.0/810-arm-softfloat-libgcc.patch [moved from toolchain/gcc/patches/8.1.0/810-arm-softfloat-libgcc.patch with 100% similarity]
toolchain/gcc/patches/8.2.0/820-libgcc_pic.patch [moved from toolchain/gcc/patches/8.1.0/820-libgcc_pic.patch with 100% similarity]
toolchain/gcc/patches/8.2.0/840-armv4_pass_fix-v4bx_to_ld.patch [moved from toolchain/gcc/patches/8.1.0/840-armv4_pass_fix-v4bx_to_ld.patch with 100% similarity]
toolchain/gcc/patches/8.2.0/850-use_shared_libgcc.patch [moved from toolchain/gcc/patches/8.1.0/850-use_shared_libgcc.patch with 100% similarity]
toolchain/gcc/patches/8.2.0/851-libgcc_no_compat.patch [moved from toolchain/gcc/patches/8.1.0/851-libgcc_no_compat.patch with 100% similarity]
toolchain/gcc/patches/8.2.0/870-ppc_no_crtsavres.patch [moved from toolchain/gcc/patches/8.1.0/870-ppc_no_crtsavres.patch with 84% similarity]
toolchain/gcc/patches/8.2.0/881-no_tm_section.patch [moved from toolchain/gcc/patches/8.1.0/881-no_tm_section.patch with 100% similarity]
toolchain/gcc/patches/8.2.0/900-bad-mips16-crt.patch [moved from toolchain/gcc/patches/8.1.0/900-bad-mips16-crt.patch with 100% similarity]
toolchain/gcc/patches/8.2.0/910-mbsd_multi.patch [moved from toolchain/gcc/patches/8.1.0/910-mbsd_multi.patch with 95% similarity]
toolchain/gcc/patches/8.2.0/920-specs_nonfatal_getenv.patch [moved from toolchain/gcc/patches/8.1.0/920-specs_nonfatal_getenv.patch with 100% similarity]
toolchain/gcc/patches/8.2.0/930-fix-mips-noexecstack.patch [moved from toolchain/gcc/patches/8.1.0/930-fix-mips-noexecstack.patch with 100% similarity]
toolchain/gcc/patches/8.2.0/931-libffi-fix-MIPS-softfloat-build-issue.patch [moved from toolchain/gcc/patches/8.1.0/931-libffi-fix-MIPS-softfloat-build-issue.patch with 100% similarity]
toolchain/gcc/patches/8.2.0/960-gotools-fix-compilation-when-making-cross-compiler.patch [moved from toolchain/gcc/patches/8.1.0/960-gotools-fix-compilation-when-making-cross-compiler.patch with 100% similarity]

index 6413e852190c46cab626a79ec5fbf06c7c877b6a..55a942660e07ae1389ce691aba0656c19dbee3f3 100644 (file)
@@ -19,5 +19,5 @@ config GCC_VERSION
        string
        default "5.5.0"         if GCC_VERSION_5
        default "arc-2017.09-release"   if GCC_VERSION_7_1_ARC
-       default "8.1.0"         if GCC_VERSION_8
+       default "8.2.0"         if GCC_VERSION_8
        default "7.3.0"
index 1e176201569a00d3d7227a65eaa5b20a41bdcde5..b3e1d8edba2ad39a0e45247853bf3c8f59252bd5 100644 (file)
@@ -36,8 +36,8 @@ ifeq ($(PKG_VERSION),7.3.0)
   PKG_HASH:=832ca6ae04636adbb430e865a1451adf6979ab44ca1c8374f61fba65645ce15c
 endif
 
-ifeq ($(PKG_VERSION),8.1.0)
-  PKG_HASH:=1d1866f992626e61349a1ccd0b8d5253816222cdc13390dcfaa74b093aa2b153
+ifeq ($(PKG_VERSION),8.2.0)
+  PKG_HASH:=196c3c04ba2613f893283977e6011b2345d1cd1af9abeac58e916b1aab3e0080
 endif
 
 ifneq ($(CONFIG_GCC_VERSION_7_1_ARC),)
similarity index 84%
rename from toolchain/gcc/patches/8.1.0/870-ppc_no_crtsavres.patch
rename to toolchain/gcc/patches/8.2.0/870-ppc_no_crtsavres.patch
index a73081493b30bd6e7c3c99fefb6d83375683e233..ecaf75a47636c93277fa35635ba37110c36b4b87 100644 (file)
@@ -1,6 +1,6 @@
 --- a/gcc/config/rs6000/rs6000.c
 +++ b/gcc/config/rs6000/rs6000.c
-@@ -24424,7 +24424,7 @@ rs6000_savres_strategy (rs6000_stack_t *
+@@ -24501,7 +24501,7 @@ rs6000_savres_strategy (rs6000_stack_t *
    /* Define cutoff for using out-of-line functions to save registers.  */
    if (DEFAULT_ABI == ABI_V4 || TARGET_ELF)
      {
similarity index 95%
rename from toolchain/gcc/patches/8.1.0/910-mbsd_multi.patch
rename to toolchain/gcc/patches/8.2.0/910-mbsd_multi.patch
index 83d41f2f1ab06defc969bf43badff948c41d2fc1..d9802b6d6181c7505a7b1272efd8322a19d4e7ba 100644 (file)
@@ -27,7 +27,7 @@ Date:   Tue Jul 31 00:52:27 2007 +0000
  static void handle_OPT_d (const char *);
  static void set_std_cxx98 (int);
  static void set_std_cxx11 (int);
-@@ -461,6 +464,12 @@ c_common_handle_option (size_t scode, co
+@@ -459,6 +462,12 @@ c_common_handle_option (size_t scode, co
        flag_no_builtin = !value;
        break;
  
@@ -40,7 +40,7 @@ Date:   Tue Jul 31 00:52:27 2007 +0000
      case OPT_fconstant_string_class_:
        constant_string_class_name = arg;
        break;
-@@ -1110,6 +1119,47 @@ c_common_init (void)
+@@ -1125,6 +1134,47 @@ c_common_init (void)
        return false;
      }
  
@@ -102,7 +102,7 @@ Date:   Tue Jul 31 00:52:27 2007 +0000
  Assume normal C execution environment.
 --- a/gcc/common.opt
 +++ b/gcc/common.opt
-@@ -1547,6 +1547,9 @@ fguess-branch-probability
+@@ -1551,6 +1551,9 @@ fguess-branch-probability
  Common Report Var(flag_guess_branch_prob) Optimization
  Enable guessing of branch probabilities.
  
@@ -126,7 +126,7 @@ Date:   Tue Jul 31 00:52:27 2007 +0000
        opts->x_warn_larger_than = value != -1;
 --- a/gcc/doc/invoke.texi
 +++ b/gcc/doc/invoke.texi
-@@ -7005,6 +7005,17 @@ This option is only supported for C and
+@@ -7012,6 +7012,17 @@ This option is only supported for C and
  @option{-Wall} and by @option{-Wpedantic}, which can be disabled with
  @option{-Wno-pointer-sign}.