Skip to contentSkip to conversation

toolchain: Bump ARC tools to arc-2016.09-eng008

PATCH New Vlad Zakharov 3 participants 4 messages Aug 10, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 toolchain: Bump ARC tools to arc-2016.09-eng008

As described at:
4520524ba055706236db9f00dd79f1b2e2e87fde
this commit continues a series of updates of ARC tools. This time we're updating tools to arc-2016.09-eng008.

Main updates were made for gcc. It was switched to GCC 6 and to OSABI v4.

Besides this patch fixes buildroot ARC failures connected to "crtbeginT.o" object file missing. This issue lead to two main errors:

1) "crtbeginT.o: No such file or directory", e. g. bootutils-1.0.0. No comments are required here I hope.

2) Errors like "compiler cannot create executables", e.g.:
a) host-gcc-final-arc-2016.09-eng007 static build,
b) aespipe-2.4c.
That was caused because the test to determine if compiler is able to create executables was failing due to missing "crtbeginT.o" file.

We still keep GDB as it is of arc-2016.03 release because there're some issues we'd like to resolve before releasing it to wider audience.

So again note this is next engineering builds of arc-2016.09 series and it might have all kinds of breakages, please don't use it for production builds.

---
 package/binutils/Config.in.host                    |   2 +-
 .../0300-ld-makefile.patch                         |   0
 .../0301-check-ldrunpath-length.patch              |   0
 .../0500-add-sysroot-fix-from-bug-3049.patch       |   0
 .../0600-poison-system-directories.patch           |   0
 .../0700-PIE-fixes-in-for-ARC-bfd.patch            |   0
 .../0701-Fixed-init-fini-linker-options.patch      |   0
 ...x-undefined-symbols-aborting-on-PIE-cases.patch |   0
 .../0800-Fixed-issue-in-tvheadend-package.patch    |   0
 package/binutils/binutils.hash                     |   2 +-
 package/binutils/binutils.mk                       |   2 +-
 package/gcc/Config.in.host                         |   2 +-
 .../130-fix_build_with_gcc-6.patch                 | 153 ------------
 package/gcc/arc-2016.09-eng007/130-pr43538.patch   |  25 --
 .../305-libmudflap-susv3-legacy.patch              |  49 ----
 package/gcc/arc-2016.09-eng007/842-PR60155.patch   | 111 ---------
 .../850-libstdcxx-uclibc-c99.patch                 | 273 ---------------------
 .../arc-2016.09-eng007/851-PR-other-56780.patch    | 244 ------------------
 .../930-libgcc-disable-split-stack-nothreads.patch |  14 --
 .../301-missing-execinfo_h.patch                   |   6 +-
 .../gcc/arc-2016.09-eng008/860-cilk-wchar.patch    |  56 +++++
 .../940-uclinux-enable-threads.patch               |  19 ++
 package/gcc/gcc.hash                               |   2 +-
 23 files changed, 83 insertions(+), 877 deletions(-)
 rename package/binutils/{arc-2016.09-eng007 => arc-2016.09-eng008}/0300-ld-makefile.patch (100%)
 rename package/binutils/{arc-2016.09-eng007 => arc-2016.09-eng008}/0301-check-ldrunpath-length.patch (100%)
 rename package/binutils/{arc-2016.09-eng007 => arc-2016.09-eng008}/0500-add-sysroot-fix-from-bug-3049.patch (100%)
 rename package/binutils/{arc-2016.09-eng007 => arc-2016.09-eng008}/0600-poison-system-directories.patch (100%)
 rename package/binutils/{arc-2016.09-eng007 => arc-2016.09-eng008}/0700-PIE-fixes-in-for-ARC-bfd.patch (100%)
 rename package/binutils/{arc-2016.09-eng007 => arc-2016.09-eng008}/0701-Fixed-init-fini-linker-options.patch (100%)
 rename package/binutils/{arc-2016.09-eng007 => arc-2016.09-eng008}/0702-Fix-undefined-symbols-aborting-on-PIE-cases.patch (100%)
 rename package/binutils/{arc-2016.09-eng007 => arc-2016.09-eng008}/0800-Fixed-issue-in-tvheadend-package.patch (100%)
 delete mode 100644 package/gcc/arc-2016.09-eng007/130-fix_build_with_gcc-6.patch
 delete mode 100644 package/gcc/arc-2016.09-eng007/130-pr43538.patch
 delete mode 100644 package/gcc/arc-2016.09-eng007/305-libmudflap-susv3-legacy.patch
 delete mode 100644 package/gcc/arc-2016.09-eng007/842-PR60155.patch
 delete mode 100644 package/gcc/arc-2016.09-eng007/850-libstdcxx-uclibc-c99.patch
 delete mode 100644 package/gcc/arc-2016.09-eng007/851-PR-other-56780.patch
 delete mode 100644 package/gcc/arc-2016.09-eng007/930-libgcc-disable-split-stack-nothreads.patch
 rename package/gcc/{arc-2016.09-eng007 => arc-2016.09-eng008}/301-missing-execinfo_h.patch (67%)
 create mode 100644 package/gcc/arc-2016.09-eng008/860-cilk-wchar.patch
 create mode 100644 package/gcc/arc-2016.09-eng008/940-uclinux-enable-threads.patch
package/binutils/Config.in.host +1 -1
index 92ca998..ab83aff 100644
@@ -28,7 +28,7 @@ endchoice
 
 config BR2_BINUTILS_VERSION
 	string
-	default "arc-2016.09-eng007"	if BR2_arc
+	default "arc-2016.09-eng008"	if BR2_arc
 	default "2.24"		if BR2_BINUTILS_VERSION_2_24_X
 	default "2.25.1"	if BR2_BINUTILS_VERSION_2_25_X
 	default "2.26.1"	if BR2_BINUTILS_VERSION_2_26_X
package/binutils/arc-2016.09-eng008/0300-ld-makefile.patch renamed from package/binutils/arc-2016.09-eng007/0300-ld-makefile.patch +0 -0
similarity index 100%
rename from package/binutils/arc-2016.09-eng007/0300-ld-makefile.patch
rename to package/binutils/arc-2016.09-eng008/0300-ld-makefile.patch
package/binutils/arc-2016.09-eng008/0301-check-ldrunpath-length.patch renamed from package/binutils/arc-2016.09-eng007/0301-check-ldrunpath-length.patch +0 -0
similarity index 100%
rename from package/binutils/arc-2016.09-eng007/0301-check-ldrunpath-length.patch
rename to package/binutils/arc-2016.09-eng008/0301-check-ldrunpath-length.patch
package/binutils/arc-2016.09-eng008/0500-add-sysroot-fix-from-bug-3049.patch renamed from package/binutils/arc-2016.09-eng007/0500-add-sysroot-fix-from-bug-3049.patch +0 -0
similarity index 100%
rename from package/binutils/arc-2016.09-eng007/0500-add-sysroot-fix-from-bug-3049.patch
rename to package/binutils/arc-2016.09-eng008/0500-add-sysroot-fix-from-bug-3049.patch
package/binutils/arc-2016.09-eng008/0600-poison-system-directories.patch renamed from package/binutils/arc-2016.09-eng007/0600-poison-system-directories.patch +0 -0
similarity index 100%
rename from package/binutils/arc-2016.09-eng007/0600-poison-system-directories.patch
rename to package/binutils/arc-2016.09-eng008/0600-poison-system-directories.patch
package/binutils/arc-2016.09-eng008/0700-PIE-fixes-in-for-ARC-bfd.patch renamed from package/binutils/arc-2016.09-eng007/0700-PIE-fixes-in-for-ARC-bfd.patch +0 -0
similarity index 100%
rename from package/binutils/arc-2016.09-eng007/0700-PIE-fixes-in-for-ARC-bfd.patch
rename to package/binutils/arc-2016.09-eng008/0700-PIE-fixes-in-for-ARC-bfd.patch
package/binutils/arc-2016.09-eng008/0701-Fixed-init-fini-linker-options.patch renamed from package/binutils/arc-2016.09-eng007/0701-Fixed-init-fini-linker-options.patch +0 -0
similarity index 100%
rename from package/binutils/arc-2016.09-eng007/0701-Fixed-init-fini-linker-options.patch
rename to package/binutils/arc-2016.09-eng008/0701-Fixed-init-fini-linker-options.patch
package/binutils/arc-2016.09-eng008/0702-Fix-undefined-symbols-aborting-on-PIE-cases.patch renamed from package/binutils/arc-2016.09-eng007/0702-Fix-undefined-symbols-aborting-on-PIE-cases.patch +0 -0
similarity index 100%
rename from package/binutils/arc-2016.09-eng007/0702-Fix-undefined-symbols-aborting-on-PIE-cases.patch
rename to package/binutils/arc-2016.09-eng008/0702-Fix-undefined-symbols-aborting-on-PIE-cases.patch
package/binutils/arc-2016.09-eng008/0800-Fixed-issue-in-tvheadend-package.patch renamed from package/binutils/arc-2016.09-eng007/0800-Fixed-issue-in-tvheadend-package.patch +0 -0
similarity index 100%
rename from package/binutils/arc-2016.09-eng007/0800-Fixed-issue-in-tvheadend-package.patch
rename to package/binutils/arc-2016.09-eng008/0800-Fixed-issue-in-tvheadend-package.patch
package/binutils/binutils.hash +1 -1
index 502e338..b8ba89d 100644
@@ -4,4 +4,4 @@ sha512  0b36dda0e6d32cd25613c0e64b56b28312515c54d6a159efd3db9a86717f114ab0a0a1f6
 sha512  9d9165609fd3b0f20d616f9891fc8e2b466eb13e2bfce40125e12427f8f201d20e2b8322bb6cb2b45e8df812f0e8ac059149f8a1f69ba3ed9d86a35c6a540b67  binutils-2.26.1.tar.bz2
 
 # Locally calculated (fetched from Github)
-sha512  5ab5d45671ad57eff8f8688260c425ca5b10440b89fd54387a68e7834abee190c540bd2d19292d119f2add6fdf5d39d378315f97384ae26e74d9917b1e163291  binutils-arc-2016.09-eng007.tar.gz
+sha512  ab2914329cd2c725de567d7d2b6c3018779f0c3109dcbb26663e379d38434f48fd35cd46f680cc47165b6dc77aa35571ed2c09499161fd11bb86dcf5fa7ec068  binutils-arc-2016.09-eng008.tar.gz
package/binutils/binutils.mk +1 -1
index 68f7707..aeabf75 100644
@@ -9,7 +9,7 @@
 BINUTILS_VERSION = $(call qstrip,$(BR2_BINUTILS_VERSION))
 ifeq ($(BINUTILS_VERSION),)
 ifeq ($(BR2_arc),y)
-BINUTILS_VERSION = arc-2016.09-eng007
+BINUTILS_VERSION = arc-2016.09-eng008
 else
 BINUTILS_VERSION = 2.25.1
 endif
package/gcc/Config.in.host +1 -1
index 2b54959..6ab7f00 100644
@@ -107,7 +107,7 @@ config BR2_GCC_VERSION
 	default "4.9.4"     if BR2_GCC_VERSION_4_9_X
 	default "5.4.0"     if BR2_GCC_VERSION_5_X
 	default "6.1.0" if BR2_GCC_VERSION_6_X
-	default "arc-2016.09-eng007" if BR2_GCC_VERSION_4_8_ARC
+	default "arc-2016.09-eng008" if BR2_GCC_VERSION_4_8_ARC
 
 config BR2_EXTRA_GCC_CONFIG_OPTIONS
 	string "Additional gcc options"
package/gcc/arc-2016.09-eng007/130-fix_build_with_gcc-6.patch deleted +0 -153

153 lines not on this page · raw message

package/gcc/arc-2016.09-eng007/130-pr43538.patch deleted +0 -25
deleted file mode 100644
index 19e57bb..0000000
@@ -1,25 +0,0 @@
-From c037df1be41f8daf4d581d7ffa4ec8cfa640bccf Mon Sep 17 00:00:00 2001
-From: glisse <glisse@138bc75d-0d04-0410-961f-82ee72b054a4>
-Date: Fri, 25 Apr 2014 08:03:08 +0000
-Subject: [PATCH] 2014-04-25  Marc Glisse  <[email protected]>
-
-	PR target/43538
-	* mt-gnu: Don't reset CXXFLAGS_FOR_TARGET.
-
-
-git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk at 209784 138bc75d-0d04-0410-961f-82ee72b054a4
-Signed-off-by: Max Filippov <[email protected]>
----
- config/mt-gnu    | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/config/mt-gnu b/config/mt-gnu
-index 15bf417..5c696f5 100644
---- a/config/mt-gnu
-+++ b/config/mt-gnu
-@@ -1 +1 @@
--CXXFLAGS_FOR_TARGET = $(CXXFLAGS) -D_GNU_SOURCE
-+CXXFLAGS_FOR_TARGET += -D_GNU_SOURCE
--- 
-2.1.4
-
package/gcc/arc-2016.09-eng007/305-libmudflap-susv3-legacy.patch deleted +0 -49

49 lines not on this page · raw message

package/gcc/arc-2016.09-eng007/842-PR60155.patch deleted +0 -111

111 lines not on this page · raw message

package/gcc/arc-2016.09-eng007/850-libstdcxx-uclibc-c99.patch deleted +0 -273

273 lines not on this page · raw message

package/gcc/arc-2016.09-eng007/851-PR-other-56780.patch deleted +0 -244

244 lines not on this page · raw message

package/gcc/arc-2016.09-eng007/930-libgcc-disable-split-stack-nothreads.patch deleted +0 -14
deleted file mode 100644
index 7799c12..0000000
@@ -1,14 +0,0 @@
-disable split-stack for non-thread builds
-
-Signed-off-by: Waldemar Brodkorb <[email protected]>
-
-diff -Nur gcc-4.8.5.orig/libgcc/config/t-stack gcc-4.8.5/libgcc/config/t-stack
---- gcc-4.8.5.orig/libgcc/config/t-stack	2010-10-01 21:31:49.000000000 +0200
-+++ gcc-4.8.5/libgcc/config/t-stack	2016-03-07 05:28:12.000000000 +0100
-@@ -1,4 +1,6 @@
- # Makefile fragment to provide generic support for -fsplit-stack.
- # This should be used in config.host for any host which supports
- # -fsplit-stack.
-+ifeq ($(enable_threads),yes)
- LIB2ADD_ST += $(srcdir)/generic-morestack.c $(srcdir)/generic-morestack-thread.c
-+endif
package/gcc/arc-2016.09-eng008/301-missing-execinfo_h.patch renamed from package/gcc/arc-2016.09-eng007/301-missing-execinfo_h.patch +3 -3
similarity index 67%
rename from package/gcc/arc-2016.09-eng007/301-missing-execinfo_h.patch
rename to package/gcc/arc-2016.09-eng008/301-missing-execinfo_h.patch
index 00efda2..2d0e7ba 100644
@@ -1,7 +1,7 @@
-Index: gcc-4.8.0/boehm-gc/include/gc.h
+Index: b/boehm-gc/include/gc.h
 ===================================================================
---- gcc-4.8.0.orig/boehm-gc/include/gc.h	2007-04-23 23:10:09.000000000 +0200
-+++ gcc-4.8.0/boehm-gc/include/gc.h	2013-03-23 17:39:20.000000000 +0100
+--- a/boehm-gc/include/gc.h
++++ b/boehm-gc/include/gc.h
 @@ -503,7 +503,7 @@
  #if defined(__linux__) || defined(__GLIBC__)
  # include <features.h>
package/gcc/arc-2016.09-eng008/860-cilk-wchar.patch new file +56 -0

56 lines not on this page · raw message

package/gcc/arc-2016.09-eng008/940-uclinux-enable-threads.patch new file +19 -0
new file mode 100644
index 0000000..5532656
@@ -0,0 +1,19 @@
+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/gcc.hash +1 -1
index ecde393..e463e04 100644
@@ -12,4 +12,4 @@ sha512  2941cc950c8f2409a314df497631f9b0266211aa74746c1839c46e04f1c7c299afe2528d
 sha512  eeed3e2018b8c012aabce419e8d718fde701e5c3c179b4486c61ba46e5736eecc8fccdd18b01fcd973a42c6ad3116dbbe2ee247fe3757d622d373f93ebaf8d2e  gcc-6.1.0.tar.bz2
 
 # Locally calculated (fetched from Github)
-sha512  f798e450ae3095538c5b12c785eab00f8f4084d3ff3e5e2dfd05ed20e0a20d4e754d87359482962d85c9082cb9fcbbf100d9eab6dfd2dbdccbecdcbf680ff23a  gcc-arc-2016.09-eng007.tar.gz
+sha512  481302b50c8d6a3db3ea0a3c3713666d3aea990461cf0e1e0a670a2db90b8f2024e02a2fab6f2e7ccba14a92ca82218db0b585ace1aa932f5ae109e21ddbc83e  gcc-arc-2016.09-eng008.tar.gz
Signature · 1 line
2.5.5
#1 lore raw

PATCH 1/1 toolchain: Bump ARC tools to arc-2016.09-eng008

Hello,

Thanks for this new update!

Quoted 7 lines · Vlad Zakharov

As described at:
4520524ba055706236db9f00dd79f1b2e2e87fde
this commit continues a series of updates of ARC tools. This time we're updating tools to arc-2016.09-eng008.

Main updates were made for gcc. It was switched to GCC 6 and to OSABI v4.

Beware that using GCC 6 is causing to cause a number of issues related to GCC 6 itself and not to ARC. We already have one GCC 6 toolchain for ARM, and we have a number of build failures caused by this toolchain due to the use of GCC 6.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
#2 lore raw

PATCH 1/1 toolchain: Bump ARC tools to arc-2016.09-eng008

Hi Thomas,

Quoted 11 lines · Thomas Petazzoni

Hello,

Thanks for this new update!

Quoted 6 lines · Vlad Zakharov

As described at:
4520524ba055706236db9f00dd79f1b2e2e87fde
this commit continues a series of updates of ARC tools. This time we're updating tools to arc-2016.09-eng008.

Quoted 7 lines
Quoted 2 lines

Main updates were made for gcc. It was switched to GCC 6 and to OSABI v4.

Beware that using GCC 6 is causing to cause a number of issues related to GCC 6 itself and not to ARC. We already have one GCC 6 toolchain for ARM, and we have a number of build failures caused by this toolchain due to the use of GCC 6.

That bump will for sure introduce new breakages while fixing some we already know about. But we had to make that bold movement at some point because that make us use almost upstream GCC with very few off-the-tree patches for ARC.

And indeed our goal is to find and fix as many issues as we can in that new toolchain. So we'll continue to monitor BR autobuilder failures on daily basis.

As usual it would be good to rebuild BR pre-built tools for ARC out of this commit so we have better coverage in running build jobs.

-Alexey

#3 lore raw

PATCH 1/1 toolchain: Bump ARC tools to arc-2016.09-eng008

Hello,

Quoted 8 lines · Alexey Brodkin
Quoted 4 lines

Beware that using GCC 6 is causing to cause a number of issues related to GCC 6 itself and not to ARC. We already have one GCC 6 toolchain for ARM, and we have a number of build failures caused by this toolchain due to the use of GCC 6.

That bump will for sure introduce new breakages while fixing some we already know about. But we had to make that bold movement at some point because that make us use almost upstream GCC with very few off-the-tree patches for ARC.

Sure, makes sense.

Quoted 2 lines

And indeed our goal is to find and fix as many issues as we can in that new toolchain. So we'll continue to monitor BR autobuilder failures on daily basis.

So this means we'll get more help from you guys to fix GCC 6 related issues ? :-)

Quoted 2 lines

As usual it would be good to rebuild BR pre-built tools for ARC out of this commit so we have better coverage in running build jobs.

Sure. As soon as I merge the commit, I'll re-spin the pre-built ARC toolchain(s).

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com