diff options
author | Evgeniy Didin <Evgeniy.Didin@synopsys.com> | 2018-04-10 19:06:04 +0300 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2018-04-12 23:28:38 +0200 |
commit | 84a5fc007ff32d6423ede4f8f1ce2bd0964d28c0 (patch) | |
tree | 0bc65d3e2310f12696f86749ceb74a8a722be596 /package/gcc | |
parent | 0a66ec02b24b6035c40087480e9dc29c62d8fc33 (diff) | |
download | buildroot-84a5fc007ff32d6423ede4f8f1ce2bd0964d28c0.tar.gz buildroot-84a5fc007ff32d6423ede4f8f1ce2bd0964d28c0.zip |
toolchain: Bump ARC tools to arc-2018.03-rc1
This commit bumps ARC toolchain to arc-2018.03-rc1.
We want to test how new toolchain-rc1 builds packages,
so we can make fixes before release of toolcain.
ARC GNU tools of version arc-2018.03-rc1 bring some quite significant changes like:
* Binutils v2.29.51 with additional ARC patches
* GCC 7.3.1 with additional ARC patches
Please note that it is a release candidate
and it might contain some breakages,
please don't use it for production builds.
Signed-off-by: Evgeniy Didin <didin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Alexey Brodkin <abrodkin@synopsys.com>
Cc: arc-buildroot@synopsys.com
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/gcc')
-rw-r--r-- | package/gcc/Config.in.host | 2 | ||||
-rw-r--r-- | package/gcc/arc-2017.09-release/0001-fix-checking-for-jumps.patch | 49 | ||||
-rw-r--r-- | package/gcc/arc-2018.03-rc1/0100-uclibc-conf.patch (renamed from package/gcc/arc-2017.09-release/0100-uclibc-conf.patch) | 0 | ||||
-rw-r--r-- | package/gcc/arc-2018.03-rc1/0860-cilk-fix-build-without-wchar.patch (renamed from package/gcc/arc-2017.09-release/0860-cilk-fix-build-without-wchar.patch) | 0 | ||||
-rw-r--r-- | package/gcc/arc-2018.03-rc1/0900-remove-selftests.patch (renamed from package/gcc/arc-2017.09-release/0900-remove-selftests.patch) | 0 | ||||
-rw-r--r-- | package/gcc/gcc.hash | 2 |
6 files changed, 2 insertions, 51 deletions
diff --git a/package/gcc/Config.in.host b/package/gcc/Config.in.host index 309ddf572a..bdefc511f2 100644 --- a/package/gcc/Config.in.host +++ b/package/gcc/Config.in.host @@ -80,7 +80,7 @@ config BR2_GCC_VERSION default "5.5.0" if BR2_GCC_VERSION_5_X default "6.4.0" if BR2_GCC_VERSION_6_X default "7.3.0" if BR2_GCC_VERSION_7_X - default "arc-2017.09-release" if BR2_GCC_VERSION_ARC + default "arc-2018.03-rc1" if BR2_GCC_VERSION_ARC default "or1k-musl-5.4.0-20170218" if BR2_GCC_VERSION_OR1K config BR2_EXTRA_GCC_CONFIG_OPTIONS diff --git a/package/gcc/arc-2017.09-release/0001-fix-checking-for-jumps.patch b/package/gcc/arc-2017.09-release/0001-fix-checking-for-jumps.patch deleted file mode 100644 index ce78fac2e6..0000000000 --- a/package/gcc/arc-2017.09-release/0001-fix-checking-for-jumps.patch +++ /dev/null @@ -1,49 +0,0 @@ -From c2694d3739d90ea3350b42252638b604a2c122b7 Mon Sep 17 00:00:00 2001 -From: Claudiu Zissulescu <claziss@gmail.com> -Date: Tue, 7 Nov 2017 20:16:41 +0200 -Subject: [PATCH] [FIX][ZOL] fix checking for jumps - -Signed-off-by: Evgeniy Didin <didin@synopsys.com> ---- - gcc/config/arc/arc.c | 3 ++- - gcc/testsuite/gcc.target/arc/loop-4.c | 14 ++++++++++++++ - 2 files changed, 16 insertions(+), 1 deletion(-) - create mode 100644 gcc/testsuite/gcc.target/arc/loop-4.c - -diff --git a/gcc/config/arc/arc.c b/gcc/config/arc/arc.c -index 22eeb34a371..5d367499d03 100644 ---- a/gcc/config/arc/arc.c -+++ b/gcc/config/arc/arc.c -@@ -7505,7 +7505,8 @@ hwloop_optimize (hwloop_info loop) - && INSN_P (last_insn) - && (JUMP_P (last_insn) || CALL_P (last_insn) - || GET_CODE (PATTERN (last_insn)) == SEQUENCE -- || JUMP_P (prev_active_insn (last_insn)) -+ || (prev_active_insn (last_insn) -+ && JUMP_P (prev_active_insn (last_insn))) - /* At this stage we can have (insn (clobber (mem:BLK - (reg)))) instructions, ignpre them. */ - || (GET_CODE (PATTERN (last_insn)) != CLOBBER -diff --git a/gcc/testsuite/gcc.target/arc/loop-4.c b/gcc/testsuite/gcc.target/arc/loop-4.c -new file mode 100644 -index 00000000000..99a93a74d1e ---- /dev/null -+++ b/gcc/testsuite/gcc.target/arc/loop-4.c -@@ -0,0 +1,14 @@ -+/* { dg-do assemble } */ -+/* { dg-do compile } */ -+/* { dg-options "-Os" } */ -+ -+ -+void fn1(void *p1, int p2, int p3) -+{ -+ char *d = p1; -+ do -+ *d++ = p2; -+ while (--p3); -+} -+ -+/* { dg-final { scan-assembler "lp_count" } } */ --- -2.11.0 - diff --git a/package/gcc/arc-2017.09-release/0100-uclibc-conf.patch b/package/gcc/arc-2018.03-rc1/0100-uclibc-conf.patch index d354baf81f..d354baf81f 100644 --- a/package/gcc/arc-2017.09-release/0100-uclibc-conf.patch +++ b/package/gcc/arc-2018.03-rc1/0100-uclibc-conf.patch diff --git a/package/gcc/arc-2017.09-release/0860-cilk-fix-build-without-wchar.patch b/package/gcc/arc-2018.03-rc1/0860-cilk-fix-build-without-wchar.patch index 61ab01c713..61ab01c713 100644 --- a/package/gcc/arc-2017.09-release/0860-cilk-fix-build-without-wchar.patch +++ b/package/gcc/arc-2018.03-rc1/0860-cilk-fix-build-without-wchar.patch diff --git a/package/gcc/arc-2017.09-release/0900-remove-selftests.patch b/package/gcc/arc-2018.03-rc1/0900-remove-selftests.patch index a3bc7a5730..a3bc7a5730 100644 --- a/package/gcc/arc-2017.09-release/0900-remove-selftests.patch +++ b/package/gcc/arc-2018.03-rc1/0900-remove-selftests.patch diff --git a/package/gcc/gcc.hash b/package/gcc/gcc.hash index fd38cfaad1..d9a651b547 100644 --- a/package/gcc/gcc.hash +++ b/package/gcc/gcc.hash @@ -8,6 +8,6 @@ sha512 02c60e54527c7adf584798d5251f8a0b80c93d5deafce82501b2c28e6692e0bd783927bb sha512 ad41a7e4584e40e92cdf860bc0288500fbaf5dfb7e8c3fcabe9eba809c87bcfa85b46c19c19921b0cdf6d05483faede8287bb9ea120c0d1559449a70e602c8d4 gcc-7.3.0.tar.xz # Locally calculated (fetched from Github) -sha512 c30addd3c4dc66b90749a0f99b257c8a8e7966d27f286057b6b66f4a70ca22a1ee50d92882c4db13307d769a6fb28e1e2a2bab749a692cf3f89ef0c38f145efa gcc-arc-2017.09-release.tar.gz +sha512 16e5f9d1637be9a099a996074dc43803803497965c1eab6c0057f10d193d30dcc405ad852df82c4f8c61b195195ee797b788ba0b235d7b03e4410806ac5f94bc gcc-arc-2018.03-rc1.tar.gz # Locally calculated (fetched from Github) sha512 2de7cf47333a4092b02d3bb98f4206f14966f1d139a724d09cf3b22f8a43ae0c704f33e6477d6367a03c29b265480dc900169e9d417006c5d46f0ae446b8c6f1 gcc-or1k-musl-5.4.0-20170218.tar.gz |