[LEDE-DEV] [PATCH] toolchain/arc: update to the most recent release arc-2017.03

Hauke Mehrtens hauke at hauke-m.de
Sun Jul 2 04:16:31 PDT 2017


On 06/26/2017 05:03 PM, Evgeniy Didin wrote:
> arc-2017.03 is the most recent release toolchain for ARC cores
> and it is based on upstream Binutils 2.28 and GCC 6.3.0
> 
> Signed-off-by: Evgeniy Didin <didin at synopsys.com>
> Cc: Alexey Brodkin <abrodkin at synopsys.com>
> Cc: John Crispin <john at phrozen.org>
> ---
>  package/devel/gdb-arc/Makefile                                    | 6 +++---
>  toolchain/binutils/Config.in                                      | 8 ++++----
>  toolchain/binutils/Config.version                                 | 4 ++--
>  toolchain/binutils/Makefile                                       | 6 +++---
>  toolchain/gcc/Config.in                                           | 8 ++++----
>  toolchain/gcc/Config.version                                      | 8 ++++----
>  toolchain/gcc/common.mk                                           | 8 ++++----
>  .../001-revert_register_mode_search.patch                         | 0
>  .../002-case_insensitive.patch                                    | 0
>  .../010-documentation.patch                                       | 0
>  .../230-musl_libssp.patch                                         | 0
>  .../280-musl-disable-ifunc-by-default.patch                       | 0
>  .../300-mips_Os_cpu_rtx_cost_model.patch                          | 0
>  .../800-arm_v5te_no_ldrd_strd.patch                               | 0
>  .../810-arm-softfloat-libgcc.patch                                | 0
>  .../820-libgcc_pic.patch                                          | 0
>  .../830-arm_unbreak_armv4t.patch                                  | 0
>  .../840-armv4_pass_fix-v4bx_to_ld.patch                           | 0
>  .../850-use_shared_libgcc.patch                                   | 0
>  .../851-libgcc_no_compat.patch                                    | 0
>  .../870-ppc_no_crtsavres.patch                                    | 0
>  .../880-no_java_section.patch                                     | 0
>  .../881-no_tm_section.patch                                       | 0
>  .../900-bad-mips16-crt.patch                                      | 0
>  .../910-mbsd_multi.patch                                          | 0
>  .../920-specs_nonfatal_getenv.patch                               | 0
>  .../930-fix-mips-noexecstack.patch                                | 0
>  .../940-no-clobber-stamp-bits.patch                               | 0
>  .../950-cpp_file_path_translation.patch                           | 0
>  toolchain/gdb/Makefile                                            | 6 +++---
>  30 files changed, 27 insertions(+), 27 deletions(-)
>  rename toolchain/gcc/patches/{arc-2016.09-release => arc-2017.03-release}/001-revert_register_mode_search.patch (100%)
>  rename toolchain/gcc/patches/{arc-2016.09-release => arc-2017.03-release}/002-case_insensitive.patch (100%)
>  rename toolchain/gcc/patches/{arc-2016.09-release => arc-2017.03-release}/010-documentation.patch (100%)
>  rename toolchain/gcc/patches/{arc-2016.09-release => arc-2017.03-release}/230-musl_libssp.patch (100%)
>  rename toolchain/gcc/patches/{arc-2016.09-release => arc-2017.03-release}/280-musl-disable-ifunc-by-default.patch (100%)
>  rename toolchain/gcc/patches/{arc-2016.09-release => arc-2017.03-release}/300-mips_Os_cpu_rtx_cost_model.patch (100%)
>  rename toolchain/gcc/patches/{arc-2016.09-release => arc-2017.03-release}/800-arm_v5te_no_ldrd_strd.patch (100%)
>  rename toolchain/gcc/patches/{arc-2016.09-release => arc-2017.03-release}/810-arm-softfloat-libgcc.patch (100%)
>  rename toolchain/gcc/patches/{arc-2016.09-release => arc-2017.03-release}/820-libgcc_pic.patch (100%)
>  rename toolchain/gcc/patches/{arc-2016.09-release => arc-2017.03-release}/830-arm_unbreak_armv4t.patch (100%)
>  rename toolchain/gcc/patches/{arc-2016.09-release => arc-2017.03-release}/840-armv4_pass_fix-v4bx_to_ld.patch (100%)
>  rename toolchain/gcc/patches/{arc-2016.09-release => arc-2017.03-release}/850-use_shared_libgcc.patch (100%)
>  rename toolchain/gcc/patches/{arc-2016.09-release => arc-2017.03-release}/851-libgcc_no_compat.patch (100%)
>  rename toolchain/gcc/patches/{arc-2016.09-release => arc-2017.03-release}/870-ppc_no_crtsavres.patch (100%)
>  rename toolchain/gcc/patches/{arc-2016.09-release => arc-2017.03-release}/880-no_java_section.patch (100%)
>  rename toolchain/gcc/patches/{arc-2016.09-release => arc-2017.03-release}/881-no_tm_section.patch (100%)
>  rename toolchain/gcc/patches/{arc-2016.09-release => arc-2017.03-release}/900-bad-mips16-crt.patch (100%)
>  rename toolchain/gcc/patches/{arc-2016.09-release => arc-2017.03-release}/910-mbsd_multi.patch (100%)
>  rename toolchain/gcc/patches/{arc-2016.09-release => arc-2017.03-release}/920-specs_nonfatal_getenv.patch (100%)
>  rename toolchain/gcc/patches/{arc-2016.09-release => arc-2017.03-release}/930-fix-mips-noexecstack.patch (100%)
>  rename toolchain/gcc/patches/{arc-2016.09-release => arc-2017.03-release}/940-no-clobber-stamp-bits.patch (100%)
>  rename toolchain/gcc/patches/{arc-2016.09-release => arc-2017.03-release}/950-cpp_file_path_translation.patch (100%)

.....

> --- a/toolchain/gcc/common.mk
> +++ b/toolchain/gcc/common.mk
> @@ -40,12 +40,12 @@ ifeq ($(PKG_VERSION),7.1.0)
>    PKG_HASH:=8a8136c235f64c6fef69cac0d73a46a1a09bb250776a050aec8f9fc880bebc17
>  endif
>  
> -ifneq ($(CONFIG_GCC_VERSION_6_2_ARC),)
> -    PKG_VERSION:=6.2.1
> +ifneq ($(CONFIG_GCC_VERSION_6_3_ARC),)
> +    PKG_VERSION:=6.3.0
>      PKG_SOURCE_URL:=https://github.com/foss-for-synopsys-dwc-arc-processors/gcc/archive/$(GCC_VERSION)
>      PKG_SOURCE:=$(PKG_NAME)-$(GCC_VERSION).tar.gz
> -    PKG_HASH:=d6f842dd266ccb0d5a53b51e2b2951503569f2ff3c84f81b2a1d9fea109ec077
> -    PKG_REV:=2016.09
> +    PKG_HASH:=b7223e134199b1a6f71de629da6aa845790e55d28e9892143dde09b1bc878110
> +    PKG_REV:=2017.03

Please use "PKG_REV:=2017.03-release" here, otherwise the symlink at
build_dir/toolchain-arc_arc700_gcc-arc-2017.03-release_uClibc/gcc
pointing to an non existing folder otherwise.

>      GCC_DIR:=gcc-arc-$(PKG_REV)
>      HOST_BUILD_DIR = $(BUILD_DIR_HOST)/$(PKG_NAME)-$(GCC_VERSION)
>  endif

.....



More information about the Lede-dev mailing list