toolchain: Bump ARC tools to arc-2017.09-rc1
PATCH 1/1 toolchain: Bump ARC tools to arc-2017.09-rc1
This commit bumps ARC toolchain to arc-2017.09-rc1.
Now speaking about arc-2017.09 series it is built on top of upstream GCC 7.1.1 and Binutils 2.29 so please expect all kinds of breakages related to GCC 7.x as we saw earlier with move from 4.8 to 6.x :)
Note patches for both GCC and Binutils were updated with copies from corresponding mainline versions, i.e. "package/gcc/7.2.0" and "package/binutils/2.29".
Please note that it is a release candidate and it might contain some breakages, please don't use it for production builds.
!!This super commit rewrites older commit which bumped !!arc toolchain to 2017.09-eng008 vesrion
---
package/binutils/Config.in.host | 2 +-
.../0002-ld-makefile.patch} | 10 +-
.../0003-check-ldrunpath-length.patch} | 12 +--
.../0004-add-sysroot-fix-from-bug-3049.patch} | 17 ++--
.../0005-poison-system-directories.patch} | 54 +++++-----
...LINKER-BUG-.rofixup-section-size-mismatch.patch | 31 ++++++
package/binutils/binutils.hash | 2 +-
package/binutils/binutils.mk | 2 +-
package/gcc/Config.in.host | 6 +-
.../0001-ARC-Fix-tst_movb-pattern.patch | 55 ----------
.../gcc/arc-2017.03/301-missing-execinfo_h.patch | 13 ---
.../arc-2017.03/940-uclinux-enable-threads.patch | 19 ----
package/gcc/arc-2017.09-rc1/0100-uclibc-conf.patch | 29 ++++++
.../0860-cilk-fix-build-without-wchar.patch} | 24 +++--
.../arc-2017.09-rc1/0900-remove-selftests.patch | 111 +++++++++++++++++++++
.../0910-Update-uses-for-hw-loop-labels.patch | 63 ++++++++++++
package/gcc/gcc.hash | 2 +-
package/gdb/Config.in.host | 2 +-
package/gdb/gdb.hash | 2 +-
19 files changed, 307 insertions(+), 149 deletions(-)
rename package/binutils/{arc-2017.03/0300-PATCH-ld-makefile.patch => arc-2017.09-rc1/0002-ld-makefile.patch} (87%)
rename package/binutils/{arc-2017.03/0301-PATCH-check-ldrunpath-length.patch => arc-2017.09-rc1/0003-check-ldrunpath-length.patch} (79%)
rename package/binutils/{arc-2017.03/0500-add-sysroot-fix-from-bug-3049.patch => arc-2017.09-rc1/0004-add-sysroot-fix-from-bug-3049.patch} (80%)
rename package/binutils/{arc-2017.03/0600-poison-system-directories.patch => arc-2017.09-rc1/0005-poison-system-directories.patch} (89%)
create mode 100644 package/binutils/arc-2017.09-rc1/0006-Fixes-LINKER-BUG-.rofixup-section-size-mismatch.patch
delete mode 100644 package/gcc/arc-2017.03/0001-ARC-Fix-tst_movb-pattern.patch
delete mode 100644 package/gcc/arc-2017.03/301-missing-execinfo_h.patch
delete mode 100644 package/gcc/arc-2017.03/940-uclinux-enable-threads.patch
create mode 100644 package/gcc/arc-2017.09-rc1/0100-uclibc-conf.patch
rename package/gcc/{arc-2017.03/860-cilk-wchar.patch => arc-2017.09-rc1/0860-cilk-fix-build-without-wchar.patch} (79%)
create mode 100644 package/gcc/arc-2017.09-rc1/0900-remove-selftests.patch
create mode 100644 package/gcc/arc-2017.09-rc1/0910-Update-uses-for-hw-loop-labels.patchpackage/binutils/Config.in.host +1 -1
@@ -22,7 +22,7 @@ endchoice config BR2_BINUTILS_VERSION string - default "arc-2017.03" if BR2_arc + default "arc-2017.09-rc1" if BR2_arc default "2.27" if BR2_BINUTILS_VERSION_2_27_X default "2.28.1" if BR2_BINUTILS_VERSION_2_28_X default "2.29" if BR2_BINUTILS_VERSION_2_29_X
package/binutils/arc-2017.09-rc1/0002-ld-makefile.patch renamed from package/binutils/arc-2017.03/0300-PATCH-ld-makefile.patch +5 -5
@@ -1,6 +1,6 @@ -From 32078014f734430e1c68fe40aaf970b9805ecaf5 Mon Sep 17 00:00:00 2001 +From d4e18ebc6ad810167a2de84b185a5f0d65b9ec2d Mon Sep 17 00:00:00 2001 From: Romain Naour <[email protected]> -Date: Fri, 21 Apr 2017 21:19:13 +0300 +Date: Fri, 25 Dec 2015 11:40:53 +0100 Subject: [PATCH] ld-makefile [Romain: rebase on top of 2.26]
@@ -11,7 +11,7 @@ Signed-off-by: Romain Naour <[email protected]> 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ld/Makefile.am b/ld/Makefile.am -index 9dd31ff..553a107 100644 +index 625347f..d5334d2 100644 --- a/ld/Makefile.am +++ b/ld/Makefile.am @@ -57,7 +57,7 @@ endif
@@ -24,7 +24,7 @@ index 9dd31ff..553a107 100644 EMUL = @EMUL@ EMULATION_OFILES = @EMULATION_OFILES@ diff --git a/ld/Makefile.in b/ld/Makefile.in -index c464302..feb34ba 100644 +index ba25177..a2cf228 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in @@ -446,7 +446,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS)
@@ -37,5 +37,5 @@ index c464302..feb34ba 100644 BFDDIR = $(BASEDIR)/bfd INCDIR = $(BASEDIR)/include -- -2.7.4 +2.9.4
package/binutils/arc-2017.09-rc1/0003-check-ldrunpath-length.patch renamed from package/binutils/arc-2017.03/0301-PATCH-check-ldrunpath-length.patch +6 -6
@@ -1,6 +1,6 @@ -From 4a5a8b983fb31a67f976e0dd9cf5e8580ef55098 Mon Sep 17 00:00:00 2001 +From 3bd211025c890ef2971958915d500a9bb2913a2a Mon Sep 17 00:00:00 2001 From: Romain Naour <[email protected]> -Date: Fri, 21 Apr 2017 21:23:55 +0300 +Date: Fri, 25 Dec 2015 11:41:47 +0100 Subject: [PATCH] check-ldrunpath-length [Romain: rebase on top of 2.26]
@@ -10,10 +10,10 @@ Signed-off-by: Romain Naour <[email protected]> 1 file changed, 4 insertions(+) diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em -index d4837d0..937da8a 100644 +index d2551b6..70fcb56 100644 --- a/ld/emultempl/elf32.em +++ b/ld/emultempl/elf32.em -@@ -1460,6 +1460,8 @@ fragment <<EOF +@@ -1463,6 +1463,8 @@ fragment <<EOF && command_line.rpath == NULL) { path = (const char *) getenv ("LD_RUN_PATH");
@@ -22,7 +22,7 @@ index d4837d0..937da8a 100644 if (path && gld${EMULATION_NAME}_search_needed (path, &n, force)) break; -@@ -1737,6 +1739,8 @@ gld${EMULATION_NAME}_before_allocation (void) +@@ -1740,6 +1742,8 @@ gld${EMULATION_NAME}_before_allocation (void) rpath = command_line.rpath; if (rpath == NULL) rpath = (const char *) getenv ("LD_RUN_PATH");
@@ -32,5 +32,5 @@ index d4837d0..937da8a 100644 for (abfd = link_info.input_bfds; abfd; abfd = abfd->link.next) if (bfd_get_flavour (abfd) == bfd_target_elf_flavour) -- -2.7.4 +2.9.4
package/binutils/arc-2017.09-rc1/0004-add-sysroot-fix-from-bug-3049.patch renamed from package/binutils/arc-2017.03/0500-add-sysroot-fix-from-bug-3049.patch +10 -7
@@ -1,4 +1,4 @@ -From 30628870e583375f8927c04398c7219c6e9f703c Mon Sep 17 00:00:00 2001 +From 378bda0e19d279535b3f4a0e448a658a534a5d67 Mon Sep 17 00:00:00 2001 From: Romain Naour <[email protected]> Date: Fri, 25 Dec 2015 11:42:48 +0100 Subject: [PATCH] add sysroot fix from bug #3049
@@ -12,13 +12,14 @@ Signed-off-by: Sven Rebhan <[email protected]> [Romain: rebase on top of 2.26] Signed-off-by: Romain Naour <[email protected]> --- - ld/ldfile.c | 11 +++++++++-- - 1 file changed, 9 insertions(+), 2 deletions(-) + ld/ldfile.c | 10 ++++++++-- + 1 file changed, 8 insertions(+), 2 deletions(-) -diff --git a/ld/ldfile.c diff --git b/ld/ldfile.c ---- a/ld/ldfile.c 2017-03-02 03:23:54.000000000 -0500 -+++ b/ld/ldfile.c 2017-03-20 09:52:27.687415942 -0400 -@@ -336,18 +336,24 @@ +diff --git a/ld/ldfile.c b/ld/ldfile.c +index 3b37a0a..f7e5473 100644 +--- a/ld/ldfile.c ++++ b/ld/ldfile.c +@@ -338,18 +338,24 @@ ldfile_open_file_search (const char *arch, directory first. */ if (!entry->flags.maybe_archive) {
@@ -45,4 +46,6 @@ diff --git a/ld/ldfile.c diff --git b/ld/ldfile.c return TRUE; if (IS_ABSOLUTE_PATH (entry->filename)) +-- +2.9.4
package/binutils/arc-2017.09-rc1/0005-poison-system-directories.patch renamed from package/binutils/arc-2017.03/0600-poison-system-directories.patch +27 -27
161 lines not on this page · raw message
package/binutils/arc-2017.09-rc1/0006-Fixes-LINKER-BUG-.rofixup-section-size-mismatch.patch new file +31 -0
@@ -0,0 +1,31 @@ +From 122de3b633f4273826a2d01702d7c515f93ec2be Mon Sep 17 00:00:00 2001 +From: Waldemar Brodkorb <[email protected]> +Date: Sat, 29 Jul 2017 14:08:20 +0200 +Subject: [PATCH] Fixes: LINKER BUG: .rofixup section size mismatch + +Workaround from adi-toolchain commit: +af414ec1fb628ddb1562f062f3db49823ca14ca2 +[#6798] binutils-2.21/bfd: temp workaround for rofixup mismatch errors. + +Signed-off-by: Waldemar Brodkorb <[email protected]> +--- + bfd/elf32-bfin.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/bfd/elf32-bfin.c b/bfd/elf32-bfin.c +index b3e09bd..660eec5 100644 +--- a/bfd/elf32-bfin.c ++++ b/bfd/elf32-bfin.c +@@ -4845,7 +4845,8 @@ bfinfdpic_check_relocs (bfd *abfd, struct bfd_link_info *info, + + case R_BFIN_FUNCDESC: + picrel->fd++; +- picrel->relocsfd++; ++ if (bfd_get_section_flags (abfd, sec) & SEC_ALLOC) ++ picrel->relocsfd++; + break; + + /* This relocation describes the C++ object vtable hierarchy. +-- +2.9.4 +
package/binutils/binutils.hash +1 -1
@@ -4,4 +4,4 @@ sha512 dc5b6872ae01c07c12d38f3bb7ead06effc6da3265ac872e2d9c6104304f89f85f2645b02 sha512 bb227c7af65133a61bbde8be4104a543f4185fce8c8e7be22c36d92d121d28b5413d42f18c7e987d035d6312c542d0e2aaca8930386a4ce26d7c9d7248145398 binutils-2.29.tar.xz # Locally calculated (fetched from Github) -sha512 07d5639e74eafe8fced259870c1a7dedee67c534573dda53fb78ee1ffeec9e17479fdde41dccd03b1cf0248023acbef7f66013398b2f722e4a8891ac680d1d16 binutils-arc-2017.03.tar.gz +sha512 7017056456805c472930a13997e5d5da1031492da7534b09ecaab7c1953ea62513f2c12292c16ec5740acb63493802a30642e28e103919215d0d11e1da997bcb binutils-arc-2017.09-rc1.tar.gz
package/binutils/binutils.mk +1 -1
@@ -9,7 +9,7 @@ BINUTILS_VERSION = $(call qstrip,$(BR2_BINUTILS_VERSION)) ifeq ($(BINUTILS_VERSION),) ifeq ($(BR2_arc),y) -BINUTILS_VERSION = arc-2017.03 +BINUTILS_VERSION = arc-2017.09-rc1 else BINUTILS_VERSION = 2.28.1 endif
package/gcc/Config.in.host +3 -3
@@ -9,10 +9,10 @@ choice Select the version of gcc you wish to use. config BR2_GCC_VERSION_ARC - bool "gcc arc (6.x)" + bool "gcc arc (7.x)" # Only supported architecture depends on BR2_arc - select BR2_TOOLCHAIN_GCC_AT_LEAST_6 + select BR2_TOOLCHAIN_GCC_AT_LEAST_7 config BR2_GCC_VERSION_OR1K bool "gcc or1k (5.x)"
@@ -88,7 +88,7 @@ config BR2_GCC_VERSION default "5.4.0" if BR2_GCC_VERSION_5_X default "6.4.0" if BR2_GCC_VERSION_6_X default "7.2.0" if BR2_GCC_VERSION_7_X - default "arc-2017.03" if BR2_GCC_VERSION_ARC + default "arc-2017.09-rc1" if BR2_GCC_VERSION_ARC default "musl-5.4.0" if BR2_GCC_VERSION_OR1K config BR2_EXTRA_GCC_CONFIG_OPTIONS
package/gcc/arc-2017.03/0001-ARC-Fix-tst_movb-pattern.patch deleted +0 -55
55 lines not on this page · raw message
package/gcc/arc-2017.03/301-missing-execinfo_h.patch deleted +0 -13
@@ -1,13 +0,0 @@ -Index: b/boehm-gc/include/gc.h -=================================================================== ---- a/boehm-gc/include/gc.h -+++ b/boehm-gc/include/gc.h -@@ -503,7 +503,7 @@ - #if defined(__linux__) || defined(__GLIBC__) - # include <features.h> - # if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \ -- && !defined(__ia64__) -+ && !defined(__ia64__) && !defined(__UCLIBC__) - # ifndef GC_HAVE_BUILTIN_BACKTRACE - # define GC_HAVE_BUILTIN_BACKTRACE - # endif
package/gcc/arc-2017.03/940-uclinux-enable-threads.patch deleted +0 -19
@@ -1,19 +0,0 @@ -Enable POSIX threads for uClinux targets -Reported upstream: -https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71721 - -Signed-off-by: Waldemar Brodkorb <[email protected]> - -diff -Nur gcc-6.1.0.orig/gcc/config.gcc gcc-6.1.0/gcc/config.gcc ---- gcc-6.1.0.orig/gcc/config.gcc 2016-04-11 12:14:59.000000000 +0200 -+++ gcc-6.1.0/gcc/config.gcc 2016-07-02 20:04:25.732169982 +0200 -@@ -833,6 +833,9 @@ - *-*-uclinux*) - extra_options="$extra_options gnu-user.opt" - use_gcc_stdint=wrap -+ case ${enable_threads} in -+ "" | yes | posix) thread_file='posix' ;; -+ esac - tm_defines="$tm_defines DEFAULT_LIBC=LIBC_UCLIBC SINGLE_LIBC" - ;; - *-*-rdos*)
package/gcc/arc-2017.09-rc1/0100-uclibc-conf.patch new file +29 -0
@@ -0,0 +1,29 @@ +From 326b880b20e5f8187dbda736b4c4c662cbfb00ca Mon Sep 17 00:00:00 2001 +From: Romain Naour <[email protected]> +Date: Tue, 2 May 2017 22:36:15 +0200 +Subject: [PATCH] uclibc-conf + +[Romain: convert to git patch] +Signed-off-by: Romain Naour <[email protected]> +--- + contrib/regression/objs-gcc.sh | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/contrib/regression/objs-gcc.sh b/contrib/regression/objs-gcc.sh +index 60b0497..6dc7ead 100755 +--- a/contrib/regression/objs-gcc.sh ++++ b/contrib/regression/objs-gcc.sh +@@ -106,6 +106,10 @@ if [ $H_REAL_TARGET = $H_REAL_HOST -a $H_REAL_TARGET = i686-pc-linux-gnu ] + then + make all-gdb all-dejagnu all-ld || exit 1 + make install-gdb install-dejagnu install-ld || exit 1 ++elif [ $H_REAL_TARGET = $H_REAL_HOST -a $H_REAL_TARGET = i686-pc-linux-uclibc ] ++ then ++ make all-gdb all-dejagnu all-ld || exit 1 ++ make install-gdb install-dejagnu install-ld || exit 1 + elif [ $H_REAL_TARGET = $H_REAL_HOST ] ; then + make bootstrap || exit 1 + make install || exit 1 +-- +2.9.3 +
package/gcc/arc-2017.09-rc1/0860-cilk-fix-build-without-wchar.patch renamed from package/gcc/arc-2017.03/860-cilk-wchar.patch +16 -8
@@ -1,4 +1,7 @@ -[PATCH] cilk: fix build without wchar +From 714739e69ead1d9823233af40645277f6d4633ea Mon Sep 17 00:00:00 2001 +From: Peter Korsgaard <[email protected]> +Date: Tue, 2 May 2017 23:21:46 +0200 +Subject: [PATCH] cilk: fix build without wchar When building against uClibc with wchar support disabled, WCHAR_MIN and WCHAR_MAX are not defined leading to compilation errors.
@@ -6,15 +9,17 @@ WCHAR_MAX are not defined leading to compilation errors. Fix it by only including the wchar code if available. Signed-off-by: Peter Korsgaard <[email protected]> +[Romain: convert to git patch] +Signed-off-by: Romain Naour <[email protected]> --- - libcilkrts/include/cilk/reducer_min_max.h | 8 ++++++++ + libcilkrts/include/cilk/reducer_min_max.h | 8 ++++++++ 1 file changed, 8 insertions(+) -Index: b/libcilkrts/include/cilk/reducer_min_max.h -=================================================================== +diff --git a/libcilkrts/include/cilk/reducer_min_max.h b/libcilkrts/include/cilk/reducer_min_max.h +index 641aa82..4f8e010 100644 --- a/libcilkrts/include/cilk/reducer_min_max.h +++ b/libcilkrts/include/cilk/reducer_min_max.h -@@ -3154,7 +3154,9 @@ +@@ -3289,7 +3289,9 @@ __CILKRTS_BEGIN_EXTERN_C CILK_C_REDUCER_MAX_INSTANCE(char, char, CHAR_MIN) CILK_C_REDUCER_MAX_INSTANCE(unsigned char, uchar, 0) CILK_C_REDUCER_MAX_INSTANCE(signed char, schar, SCHAR_MIN)
@@ -24,7 +29,7 @@ Index: b/libcilkrts/include/cilk/reducer_min_max.h CILK_C_REDUCER_MAX_INSTANCE(short, short, SHRT_MIN) CILK_C_REDUCER_MAX_INSTANCE(unsigned short, ushort, 0) CILK_C_REDUCER_MAX_INSTANCE(int, int, INT_MIN) -@@ -3306,7 +3308,9 @@ +@@ -3441,7 +3443,9 @@ __CILKRTS_BEGIN_EXTERN_C CILK_C_REDUCER_MAX_INDEX_INSTANCE(char, char, CHAR_MIN) CILK_C_REDUCER_MAX_INDEX_INSTANCE(unsigned char, uchar, 0) CILK_C_REDUCER_MAX_INDEX_INSTANCE(signed char, schar, SCHAR_MIN)
@@ -34,7 +39,7 @@ Index: b/libcilkrts/include/cilk/reducer_min_max.h CILK_C_REDUCER_MAX_INDEX_INSTANCE(short, short, SHRT_MIN) CILK_C_REDUCER_MAX_INDEX_INSTANCE(unsigned short, ushort, 0) CILK_C_REDUCER_MAX_INDEX_INSTANCE(int, int, INT_MIN) -@@ -3432,7 +3436,9 @@ +@@ -3567,7 +3571,9 @@ __CILKRTS_BEGIN_EXTERN_C CILK_C_REDUCER_MIN_INSTANCE(char, char, CHAR_MAX) CILK_C_REDUCER_MIN_INSTANCE(unsigned char, uchar, CHAR_MAX) CILK_C_REDUCER_MIN_INSTANCE(signed char, schar, SCHAR_MAX)
@@ -44,7 +49,7 @@ Index: b/libcilkrts/include/cilk/reducer_min_max.h CILK_C_REDUCER_MIN_INSTANCE(short, short, SHRT_MAX) CILK_C_REDUCER_MIN_INSTANCE(unsigned short, ushort, USHRT_MAX) CILK_C_REDUCER_MIN_INSTANCE(int, int, INT_MAX) -@@ -3584,7 +3590,9 @@ +@@ -3719,7 +3725,9 @@ __CILKRTS_BEGIN_EXTERN_C CILK_C_REDUCER_MIN_INDEX_INSTANCE(char, char, CHAR_MAX) CILK_C_REDUCER_MIN_INDEX_INSTANCE(unsigned char, uchar, CHAR_MAX) CILK_C_REDUCER_MIN_INDEX_INSTANCE(signed char, schar, SCHAR_MAX)
@@ -54,3 +59,6 @@ Index: b/libcilkrts/include/cilk/reducer_min_max.h CILK_C_REDUCER_MIN_INDEX_INSTANCE(short, short, SHRT_MAX) CILK_C_REDUCER_MIN_INDEX_INSTANCE(unsigned short, ushort, USHRT_MAX) CILK_C_REDUCER_MIN_INDEX_INSTANCE(int, int, INT_MAX) +-- +2.9.3 +
package/gcc/arc-2017.09-rc1/0900-remove-selftests.patch new file +111 -0
111 lines not on this page · raw message
package/gcc/arc-2017.09-rc1/0910-Update-uses-for-hw-loop-labels.patch new file +63 -0
63 lines not on this page · raw message
package/gcc/gcc.hash +1 -1
@@ -8,6 +8,6 @@ sha512 02c60e54527c7adf584798d5251f8a0b80c93d5deafce82501b2c28e6692e0bd783927bb sha512 f853cd6530b4055d8d8289da74687cb4c6d5f363598d386332d31852b581bac76c3adb7d61889edec3b779f63d8646f0122840f12965ce4a4389ba535dbbb6e1 gcc-7.2.0.tar.xz # Locally calculated (fetched from Github) -sha512 282f76b8b63372f5b4426092b80d36da96cd0bda2a8588405b9ec22806c69fafb696b0e0df65bc36c3c3aa8ce5befc24246fd5c6ddb21dcde01f45f7b11ff7c4 gcc-arc-2017.03.tar.gz +sha512 c30255dc937e23f6388b4c640455114bcf86cffe923191e32d33ffcde6c4980e9d1811e85877fed3e414ed069cc3e2013993ed76331088ff0846ac50421cb426 gcc-arc-2017.09-rc1.tar.gz # Locally calculated (fetched from Github) sha512 841101f7de45f327bf2e92f3efc73ca88a021e4b9b541458ce80a16e55882bd8606a8492d75c57c589ee2c10d42ae2865b67690155d7289a541df1d68096402f gcc-musl-5.4.0.tar.gz
package/gdb/Config.in.host +1 -1
@@ -64,7 +64,7 @@ endif # If cross-gdb is not enabled, the latest working version is chosen. config BR2_GDB_VERSION string - default "arc-2017.03-gdb" if BR2_arc + default "arc-2017.09-rc1-gdb" if BR2_arc default "7.10.1" if BR2_GDB_VERSION_7_10 default "7.11.1" if BR2_GDB_VERSION_7_11 || !BR2_PACKAGE_HOST_GDB default "7.12.1" if BR2_GDB_VERSION_7_12
package/gdb/gdb.hash +1 -1
@@ -5,4 +5,4 @@ sha512 0ac8d0a495103611ef41167a08313a010dce6ca4c6d827cbe8558a0c1a1a8a6bfa53f1b7 sha512 e4044bdd162cbf95044ec1eaa44d2fa62a33e051bdbbacbc97afd4dfb07bae1bea514381fc1966aede89d6796ef2377a15748a93d95e2ad494c8497db489e886 gdb-8.0.tar.xz # Locally calculated (fetched from Github) -sha512 8ec849a5ea1c16f104c51c4813c35ab229e460eef0025967673b87316f62b5171f05448cda018464914d43d2da50b2902eb7f9f060d0af1368a9db111f959668 gdb-arc-2017.03-gdb.tar.gz +sha512 4c6f800ff8f95740b8f7f0544d332c2c36ba693c51f6d3d99a0b0ca5a617cb67bcc6f60bd481cd4b884494f9bce531ac5cb270d1c6f8fc5c067100ec77c098d8 gdb-arc-2017.09-rc1-gdb.tar.gz
Signature · 1 line
2.11.0
PATCH 1/1 toolchain: Bump ARC tools to arc-2017.09-rc1
Hi Thomas, Arnout,
Quoted 11 lines · Evgeniy Didin
This commit bumps ARC toolchain to arc-2017.09-rc1.
Now speaking about arc-2017.09 series it is built on top of upstream GCC 7.1.1 and Binutils 2.29 so please expect all kinds of breakages related to GCC 7.x as we saw earlier with move from 4.8 to 6.x :)
Note patches for both GCC and Binutils were updated with copies from corresponding mainline versions, i.e. "package/gcc/7.2.0" and "package/binutils/2.29".
Quoted 5 lines
Please note that it is a release candidate and it might contain some breakages, please don't use it for production builds.
!!This super commit rewrites older commit which bumped !!arc toolchain to 2017.09-eng008 vesrion
Is there a chance to get this one applied sometime soon? It would be good to have it run through autobuilder before we cut a final release. That way we'll be able to catch problems on RC stage.
-Alexey
PATCH 1/1 toolchain: Bump ARC tools to arc-2017.09-rc1
In reply to Evgeniy DidinHello,
Quoted 9 lines · Evgeniy Didin
package/binutils/arc-2017.09-rc1/0006-Fixes-LINKER-BUG-.rofixup-section-size-mismatch.patch new file +3
-0@@ -0,0 +1,31 @@ +From 122de3b633f4273826a2d01702d7c515f93ec2be Mon Sep 17 00:00:00 2001 +From: Waldemar Brodkorb <[email protected]> +Date: Sat, 29 Jul 2017 14:08:20 +0200
package/binutils/arc-2017.09-rc1/0006-Fixes-LINKER-BUG-.rofixup-section-size-mismatch.patch line 13
Quoted 10 lines
package/binutils/arc-2017.09-rc1/0006-Fixes-LINKER-BUG-.rofixup-section-size-mismatch.patch new file +10
-0+Subject: [PATCH] Fixes: LINKER BUG: .rofixup section size mismatch + +Workaround from adi-toolchain commit: +af414ec1fb628ddb1562f062f3db49823ca14ca2 +[#6798] binutils-2.21/bfd: temp workaround for rofixup mismatch errors. + +Signed-off-by: Waldemar Brodkorb <[email protected]> +--- + bfd/elf32-bfin.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-)
What is the point of adding this Blackfin-only patch to the patch stack used only for the ARC binutils version ?
Best regards,
Thomas Petazzoni
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
PATCH 1/1 toolchain: Bump ARC tools to arc-2017.09-rc1
Hi Thomas,
Quoted 20 lines · Thomas Petazzoni
Hello,
Quoted 16 lines · Evgeniy Didin
package/binutils/arc-2017.09-rc1/0006- renamed from package/binutils/arc-2017.09-rc1/0006-Fixes-LINKER-BUG-.rofixup-section-size-mismatch.patch +0
-0Fixes-LINKER-BUG-.rofixup-section-size-mismatch.patch new file mode 100644
index 000000000..e5409efe1package/binutils/arc-2017.09-rc1/0006-Fixes-LINKER-BUG-.rofixup-section-size-mismatch.patch new file +8
-0@@ -0,0 +1,31 @@ +From 122de3b633f4273826a2d01702d7c515f93ec2be Mon Sep 17 00:00:00 2001 +From: Waldemar Brodkorb <[email protected]> +Date: Sat, 29 Jul 2017 14:08:20 +0200 +Subject: [PATCH] Fixes: LINKER BUG: .rofixup section size mismatch + +Workaround from adi-toolchain commit: +af414ec1fb628ddb1562f062f3db49823ca14ca2 +[#6798] binutils-2.21/bfd: temp workaround for rofixup mismatch errors.
Quoted 8 lines
package/binutils/arc-2017.09-rc1/0006-Fixes-LINKER-BUG-.rofixup-section-size-mismatch.patch line 13
Quoted 5 lines
package/binutils/arc-2017.09-rc1/0006-Fixes-LINKER-BUG-.rofixup-section-size-mismatch.patch new file +5
-0+ +Signed-off-by: Waldemar Brodkorb <[email protected]> +--- + bfd/elf32-bfin.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-)What is the point of adding this Blackfin-only patch to the patch stack used only for the ARC binutils version ?
Indeed this patch is not needed.
I guess we forgot to delete it when copied patches from "package/binutils/2.29.1" since its name doesn't indicate its arch-specific nature.
We may either send a respin or you may just fix this up on patch application. Please let us know what do you prefer here.
-Alexey
Thomas Petazzoni
AppliedPATCH 1/1 toolchain: Bump ARC tools to arc-2017.09-rc1
In reply to Evgeniy DidinHello,
Quoted 46 lines · Evgeniy Didin
This commit bumps ARC toolchain to arc-2017.09-rc1.
Now speaking about arc-2017.09 series it is built on top of upstream GCC 7.1.1 and Binutils 2.29 so please expect all kinds of breakages related to GCC 7.x as we saw earlier with move from 4.8 to 6.x :)
Note patches for both GCC and Binutils were updated with copies from corresponding mainline versions, i.e. "package/gcc/7.2.0" and "package/binutils/2.29".
Please note that it is a release candidate and it might contain some breakages, please don't use it for production builds.
!!This super commit rewrites older commit which bumped !!arc toolchain to 2017.09-eng008 vesrion
Signed-off-by Evgeniy Didin <[email protected]>Cc Alexey Brodkin <[email protected]>Cc arc-buildroot at synopsys.comCc Thomas Petazzoni <[email protected]>--- package/binutils/Config.in.host | 2 +- .../0002-ld-makefile.patch} | 10 +- .../0003-check-ldrunpath-length.patch} | 12 +-- .../0004-add-sysroot-fix-from-bug-3049.patch} | 17 ++-- .../0005-poison-system-directories.patch} | 54 +++++----- ...LINKER-BUG-.rofixup-section-size-mismatch.patch | 31 ++++++ package/binutils/binutils.hash | 2 +- package/binutils/binutils.mk | 2 +- package/gcc/Config.in.host | 6 +- .../0001-ARC-Fix-tst_movb-pattern.patch | 55 ---------- .../gcc/arc-2017.03/301-missing-execinfo_h.patch | 13 --- .../arc-2017.03/940-uclinux-enable-threads.patch | 19 ---- package/gcc/arc-2017.09-rc1/0100-uclibc-conf.patch | 29 ++++++ .../0860-cilk-fix-build-without-wchar.patch} | 24 +++-- .../arc-2017.09-rc1/0900-remove-selftests.patch | 111 +++++++++++++++++++++ .../0910-Update-uses-for-hw-loop-labels.patch | 63 ++++++++++++ package/gcc/gcc.hash | 2 +- package/gdb/Config.in.host | 2 +- package/gdb/gdb.hash | 2 +- 19 files changed, 307 insertions(+), 149 deletions(-) rename package/binutils/{arc-2017.03/0300-PATCH-ld-makefile.patch => arc-2017.09-rc1/0002-ld-makefile.patch} (87%) rename package/binutils/{arc-2017.03/0301-PATCH-check-ldrunpath-length.patch => arc-2017.09-rc1/0003-check-ldrunpath-length.patch} (79%) rename package/binutils/{arc-2017.03/0500-add-sysroot-fix-from-bug-3049.patch => arc-2017.09-rc1/0004-add-sysroot-fix-from-bug-3049.patch} (80%) rename package/binutils/{arc-2017.03/0600-poison-system-directories.patch => arc-2017.09-rc1/0005-poison-system-directories.patch} (89%)
Quoted 8 lines
create mode 100644 package/binutils/arc-2017.09-rc1/0006-Fixes-LINKER-BUG-.rofixup-section-size-mismatch.patch
delete mode 100644 package/gcc/arc-2017.03/0001-ARC-Fix-tst_movb-pattern.patch
delete mode 100644 package/gcc/arc-2017.03/301-missing-execinfo_h.patch
delete mode 100644 package/gcc/arc-2017.03/940-uclinux-enable-threads.patch
create mode 100644 package/gcc/arc-2017.09-rc1/0100-uclibc-conf.patch
rename package/gcc/{arc-2017.03/860-cilk-wchar.patch => arc-2017.09-rc1/0860-cilk-fix-build-without-wchar.patch} (79%)
create mode 100644 package/gcc/arc-2017.09-rc1/0900-remove-selftests.patch
create mode 100644 package/gcc/arc-2017.09-rc1/0910-Update-uses-for-hw-loop-labels.patchApplied to master, after dropping the useless Blackfin-related binutils patch. Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com