[PATCH] toolchain: gcc: Update to version 10.3.0

Rosen Penev rosenp at gmail.com
Tue Apr 13 02:33:06 BST 2021


On Sat, Apr 10, 2021 at 3:17 PM Hauke Mehrtens <hauke at hauke-m.de> wrote:
>
> Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
Breaks fortify-headers interestingly enough.
> ---
>  toolchain/gcc/Config.version                                | 2 +-
>  toolchain/gcc/common.mk                                     | 4 ++--
>  .../patches/{10.2.0 => 10.3.0}/002-case_insensitive.patch   | 0
>  .../gcc/patches/{10.2.0 => 10.3.0}/010-documentation.patch  | 0
>  .../patches/{10.2.0 => 10.3.0}/110-Fix-MIPS-PR-84790.patch  | 0
>  .../gcc/patches/{10.2.0 => 10.3.0}/230-musl_libssp.patch    | 0
>  .../{10.2.0 => 10.3.0}/300-mips_Os_cpu_rtx_cost_model.patch | 0
>  .../{10.2.0 => 10.3.0}/810-arm-softfloat-libgcc.patch       | 0
>  .../gcc/patches/{10.2.0 => 10.3.0}/820-libgcc_pic.patch     | 0
>  .../{10.2.0 => 10.3.0}/840-armv4_pass_fix-v4bx_to_ld.patch  | 0
>  .../patches/{10.2.0 => 10.3.0}/850-use_shared_libgcc.patch  | 0
>  .../patches/{10.2.0 => 10.3.0}/851-libgcc_no_compat.patch   | 0
>  .../patches/{10.2.0 => 10.3.0}/870-ppc_no_crtsavres.patch   | 0
>  .../gcc/patches/{10.2.0 => 10.3.0}/881-no_tm_section.patch  | 0
>  .../gcc/patches/{10.2.0 => 10.3.0}/900-bad-mips16-crt.patch | 0
>  .../gcc/patches/{10.2.0 => 10.3.0}/910-mbsd_multi.patch     | 6 +++---
>  .../{10.2.0 => 10.3.0}/920-specs_nonfatal_getenv.patch      | 0
>  .../{10.2.0 => 10.3.0}/930-fix-mips-noexecstack.patch       | 0
>  .../931-libffi-fix-MIPS-softfloat-build-issue.patch         | 0
>  ...gotools-fix-compilation-when-making-cross-compiler.patch | 0
>  20 files changed, 6 insertions(+), 6 deletions(-)
>  rename toolchain/gcc/patches/{10.2.0 => 10.3.0}/002-case_insensitive.patch (100%)
>  rename toolchain/gcc/patches/{10.2.0 => 10.3.0}/010-documentation.patch (100%)
>  rename toolchain/gcc/patches/{10.2.0 => 10.3.0}/110-Fix-MIPS-PR-84790.patch (100%)
>  rename toolchain/gcc/patches/{10.2.0 => 10.3.0}/230-musl_libssp.patch (100%)
>  rename toolchain/gcc/patches/{10.2.0 => 10.3.0}/300-mips_Os_cpu_rtx_cost_model.patch (100%)
>  rename toolchain/gcc/patches/{10.2.0 => 10.3.0}/810-arm-softfloat-libgcc.patch (100%)
>  rename toolchain/gcc/patches/{10.2.0 => 10.3.0}/820-libgcc_pic.patch (100%)
>  rename toolchain/gcc/patches/{10.2.0 => 10.3.0}/840-armv4_pass_fix-v4bx_to_ld.patch (100%)
>  rename toolchain/gcc/patches/{10.2.0 => 10.3.0}/850-use_shared_libgcc.patch (100%)
>  rename toolchain/gcc/patches/{10.2.0 => 10.3.0}/851-libgcc_no_compat.patch (100%)
>  rename toolchain/gcc/patches/{10.2.0 => 10.3.0}/870-ppc_no_crtsavres.patch (100%)
>  rename toolchain/gcc/patches/{10.2.0 => 10.3.0}/881-no_tm_section.patch (100%)
>  rename toolchain/gcc/patches/{10.2.0 => 10.3.0}/900-bad-mips16-crt.patch (100%)
>  rename toolchain/gcc/patches/{10.2.0 => 10.3.0}/910-mbsd_multi.patch (96%)
>  rename toolchain/gcc/patches/{10.2.0 => 10.3.0}/920-specs_nonfatal_getenv.patch (100%)
>  rename toolchain/gcc/patches/{10.2.0 => 10.3.0}/930-fix-mips-noexecstack.patch (100%)
>  rename toolchain/gcc/patches/{10.2.0 => 10.3.0}/931-libffi-fix-MIPS-softfloat-build-issue.patch (100%)
>  rename toolchain/gcc/patches/{10.2.0 => 10.3.0}/960-gotools-fix-compilation-when-making-cross-compiler.patch (100%)
>
> diff --git a/toolchain/gcc/Config.version b/toolchain/gcc/Config.version
> index 967ce9e4892b..4e141477a516 100644
> --- a/toolchain/gcc/Config.version
> +++ b/toolchain/gcc/Config.version
> @@ -14,7 +14,7 @@ config GCC_VERSION
>         string
>         default "7.5.0"         if GCC_VERSION_7
>         default "9.3.0"         if GCC_VERSION_9
> -       default "10.2.0"        if GCC_VERSION_10
> +       default "10.3.0"        if GCC_VERSION_10
>         default "8.4.0"
>
>  config GCC_USE_IREMAP
> diff --git a/toolchain/gcc/common.mk b/toolchain/gcc/common.mk
> index 55fad1fcc48d..ef8fd9de47fd 100644
> --- a/toolchain/gcc/common.mk
> +++ b/toolchain/gcc/common.mk
> @@ -40,8 +40,8 @@ ifeq ($(PKG_VERSION),9.3.0)
>    PKG_HASH:=71e197867611f6054aa1119b13a0c0abac12834765fe2d81f35ac57f84f742d1
>  endif
>
> -ifeq ($(PKG_VERSION),10.2.0)
> -  PKG_HASH:=b8dd4368bb9c7f0b98188317ee0254dd8cc99d1e3a18d0ff146c855fe16c1d8c
> +ifeq ($(PKG_VERSION),10.3.0)
> +  PKG_HASH:=64f404c1a650f27fc33da242e1f2df54952e3963a49e06e73f6940f3223ac344
>  endif
>
>  PATCH_DIR=../patches/$(GCC_VERSION)
> diff --git a/toolchain/gcc/patches/10.2.0/002-case_insensitive.patch b/toolchain/gcc/patches/10.3.0/002-case_insensitive.patch
> similarity index 100%
> rename from toolchain/gcc/patches/10.2.0/002-case_insensitive.patch
> rename to toolchain/gcc/patches/10.3.0/002-case_insensitive.patch
> diff --git a/toolchain/gcc/patches/10.2.0/010-documentation.patch b/toolchain/gcc/patches/10.3.0/010-documentation.patch
> similarity index 100%
> rename from toolchain/gcc/patches/10.2.0/010-documentation.patch
> rename to toolchain/gcc/patches/10.3.0/010-documentation.patch
> diff --git a/toolchain/gcc/patches/10.2.0/110-Fix-MIPS-PR-84790.patch b/toolchain/gcc/patches/10.3.0/110-Fix-MIPS-PR-84790.patch
> similarity index 100%
> rename from toolchain/gcc/patches/10.2.0/110-Fix-MIPS-PR-84790.patch
> rename to toolchain/gcc/patches/10.3.0/110-Fix-MIPS-PR-84790.patch
> diff --git a/toolchain/gcc/patches/10.2.0/230-musl_libssp.patch b/toolchain/gcc/patches/10.3.0/230-musl_libssp.patch
> similarity index 100%
> rename from toolchain/gcc/patches/10.2.0/230-musl_libssp.patch
> rename to toolchain/gcc/patches/10.3.0/230-musl_libssp.patch
> diff --git a/toolchain/gcc/patches/10.2.0/300-mips_Os_cpu_rtx_cost_model.patch b/toolchain/gcc/patches/10.3.0/300-mips_Os_cpu_rtx_cost_model.patch
> similarity index 100%
> rename from toolchain/gcc/patches/10.2.0/300-mips_Os_cpu_rtx_cost_model.patch
> rename to toolchain/gcc/patches/10.3.0/300-mips_Os_cpu_rtx_cost_model.patch
> diff --git a/toolchain/gcc/patches/10.2.0/810-arm-softfloat-libgcc.patch b/toolchain/gcc/patches/10.3.0/810-arm-softfloat-libgcc.patch
> similarity index 100%
> rename from toolchain/gcc/patches/10.2.0/810-arm-softfloat-libgcc.patch
> rename to toolchain/gcc/patches/10.3.0/810-arm-softfloat-libgcc.patch
> diff --git a/toolchain/gcc/patches/10.2.0/820-libgcc_pic.patch b/toolchain/gcc/patches/10.3.0/820-libgcc_pic.patch
> similarity index 100%
> rename from toolchain/gcc/patches/10.2.0/820-libgcc_pic.patch
> rename to toolchain/gcc/patches/10.3.0/820-libgcc_pic.patch
> diff --git a/toolchain/gcc/patches/10.2.0/840-armv4_pass_fix-v4bx_to_ld.patch b/toolchain/gcc/patches/10.3.0/840-armv4_pass_fix-v4bx_to_ld.patch
> similarity index 100%
> rename from toolchain/gcc/patches/10.2.0/840-armv4_pass_fix-v4bx_to_ld.patch
> rename to toolchain/gcc/patches/10.3.0/840-armv4_pass_fix-v4bx_to_ld.patch
> diff --git a/toolchain/gcc/patches/10.2.0/850-use_shared_libgcc.patch b/toolchain/gcc/patches/10.3.0/850-use_shared_libgcc.patch
> similarity index 100%
> rename from toolchain/gcc/patches/10.2.0/850-use_shared_libgcc.patch
> rename to toolchain/gcc/patches/10.3.0/850-use_shared_libgcc.patch
> diff --git a/toolchain/gcc/patches/10.2.0/851-libgcc_no_compat.patch b/toolchain/gcc/patches/10.3.0/851-libgcc_no_compat.patch
> similarity index 100%
> rename from toolchain/gcc/patches/10.2.0/851-libgcc_no_compat.patch
> rename to toolchain/gcc/patches/10.3.0/851-libgcc_no_compat.patch
> diff --git a/toolchain/gcc/patches/10.2.0/870-ppc_no_crtsavres.patch b/toolchain/gcc/patches/10.3.0/870-ppc_no_crtsavres.patch
> similarity index 100%
> rename from toolchain/gcc/patches/10.2.0/870-ppc_no_crtsavres.patch
> rename to toolchain/gcc/patches/10.3.0/870-ppc_no_crtsavres.patch
> diff --git a/toolchain/gcc/patches/10.2.0/881-no_tm_section.patch b/toolchain/gcc/patches/10.3.0/881-no_tm_section.patch
> similarity index 100%
> rename from toolchain/gcc/patches/10.2.0/881-no_tm_section.patch
> rename to toolchain/gcc/patches/10.3.0/881-no_tm_section.patch
> diff --git a/toolchain/gcc/patches/10.2.0/900-bad-mips16-crt.patch b/toolchain/gcc/patches/10.3.0/900-bad-mips16-crt.patch
> similarity index 100%
> rename from toolchain/gcc/patches/10.2.0/900-bad-mips16-crt.patch
> rename to toolchain/gcc/patches/10.3.0/900-bad-mips16-crt.patch
> diff --git a/toolchain/gcc/patches/10.2.0/910-mbsd_multi.patch b/toolchain/gcc/patches/10.3.0/910-mbsd_multi.patch
> similarity index 96%
> rename from toolchain/gcc/patches/10.2.0/910-mbsd_multi.patch
> rename to toolchain/gcc/patches/10.3.0/910-mbsd_multi.patch
> index 452cc1cb4ec0..3ed62383100a 100644
> --- a/toolchain/gcc/patches/10.2.0/910-mbsd_multi.patch
> +++ b/toolchain/gcc/patches/10.3.0/910-mbsd_multi.patch
> @@ -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
> -@@ -1657,6 +1657,9 @@ fguess-branch-probability
> +@@ -1660,6 +1660,9 @@ fguess-branch-probability
>   Common Report Var(flag_guess_branch_prob) Optimization
>   Enable guessing of branch probabilities.
>
> @@ -114,7 +114,7 @@ Date:   Tue Jul 31 00:52:27 2007 +0000
>   ; On SVR4 targets, it also controls whether or not to emit a
>  --- a/gcc/doc/invoke.texi
>  +++ b/gcc/doc/invoke.texi
> -@@ -8169,6 +8169,17 @@ This option is only supported for C and
> +@@ -8171,6 +8171,17 @@ This option is only supported for C and
>   @option{-Wall} and by @option{-Wpedantic}, which can be disabled with
>   @option{-Wno-pointer-sign}.
>
> @@ -134,7 +134,7 @@ Date:   Tue Jul 31 00:52:27 2007 +0000
>   @opindex Wno-stack-protector
>  --- a/gcc/opts.c
>  +++ b/gcc/opts.c
> -@@ -2308,6 +2308,9 @@ common_handle_option (struct gcc_options
> +@@ -2318,6 +2318,9 @@ common_handle_option (struct gcc_options
>         /* Currently handled in a prescan.  */
>         break;
>
> diff --git a/toolchain/gcc/patches/10.2.0/920-specs_nonfatal_getenv.patch b/toolchain/gcc/patches/10.3.0/920-specs_nonfatal_getenv.patch
> similarity index 100%
> rename from toolchain/gcc/patches/10.2.0/920-specs_nonfatal_getenv.patch
> rename to toolchain/gcc/patches/10.3.0/920-specs_nonfatal_getenv.patch
> diff --git a/toolchain/gcc/patches/10.2.0/930-fix-mips-noexecstack.patch b/toolchain/gcc/patches/10.3.0/930-fix-mips-noexecstack.patch
> similarity index 100%
> rename from toolchain/gcc/patches/10.2.0/930-fix-mips-noexecstack.patch
> rename to toolchain/gcc/patches/10.3.0/930-fix-mips-noexecstack.patch
> diff --git a/toolchain/gcc/patches/10.2.0/931-libffi-fix-MIPS-softfloat-build-issue.patch b/toolchain/gcc/patches/10.3.0/931-libffi-fix-MIPS-softfloat-build-issue.patch
> similarity index 100%
> rename from toolchain/gcc/patches/10.2.0/931-libffi-fix-MIPS-softfloat-build-issue.patch
> rename to toolchain/gcc/patches/10.3.0/931-libffi-fix-MIPS-softfloat-build-issue.patch
> diff --git a/toolchain/gcc/patches/10.2.0/960-gotools-fix-compilation-when-making-cross-compiler.patch b/toolchain/gcc/patches/10.3.0/960-gotools-fix-compilation-when-making-cross-compiler.patch
> similarity index 100%
> rename from toolchain/gcc/patches/10.2.0/960-gotools-fix-compilation-when-making-cross-compiler.patch
> rename to toolchain/gcc/patches/10.3.0/960-gotools-fix-compilation-when-making-cross-compiler.patch
> --
> 2.30.2
>
>
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list