Skip to contentSkip to conversation

toolchain: Bump ARC tools to arc-2016.09-eng005

PATCH New Alexey Brodkin 2 participants 3 messages Jun 29, 2016 – Jun 30, 2016

lore
Share & tools
lore
#0 lore raw

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

With this commit we're starting a series of updates of ARC tools. Significantly rewritten arc-2016.03 tools introduced way too many problems highlighted by Buildroot autobuilder. Now in attempt to resolve as many issues as possible by the time final release of arc-2016.09 tools is cut we'll be executing arc-2016.09 series with engineering snapshots like this one.

We decided to go this way instead of applying separate patches here and there because ongoing development introduces quite a lot of changes and separate patches are not practical in Buildroot.

Moreover this will give us very clean visibility of number of issues we see (hopefully it will decrease over time).

One of the important changes introduced in this engineering build is initial set of changes for proper support of PIE on ARC in terms of both building on host and running on ARC target. I expect some PIE-related build breakages to go away and new ones will be treated as the high-priority issues to be fixed ASAP.

For now we only update Binutils and GCC while keeping 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 one of the first engineering builds of arc-2016.09 series and it might have all kinds of breakages, please don't use it for production builds.

Cc arc-buildroot at synopsys.com
Cc Thomas Petazzoni <[email protected]>
Cc Peter Korsgaard <[email protected]>

---

Thomas, could you please rebuilt your prebuilt tools for ARC to include this arc-2016.09-eng005 drop?

 package/binutils/Config.in.host                    |  2 +-
 ...ith-dynamic-relocs-not-being-generated-wi.patch | 34 ----------------------
 .../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
 ...t-build-failures-when-makeinfo-is-missing.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                 |  0
 .../130-pr43538.patch                              |  0
 .../301-missing-execinfo_h.patch                   |  0
 .../305-libmudflap-susv3-legacy.patch              |  0
 .../842-PR60155.patch                              |  0
 .../850-libstdcxx-uclibc-c99.patch                 |  0
 .../851-PR-other-56780.patch                       |  0
 .../930-libgcc-disable-split-stack-nothreads.patch |  0
 package/gcc/gcc.hash                               |  2 +-
 19 files changed, 5 insertions(+), 39 deletions(-)
 delete mode 100644 package/binutils/arc-2016.03/0700-Fix-issue-with-dynamic-relocs-not-being-generated-wi.patch
 rename package/binutils/{arc-2016.03 => arc-2016.09-eng005}/0300-ld-makefile.patch (100%)
 rename package/binutils/{arc-2016.03 => arc-2016.09-eng005}/0301-check-ldrunpath-length.patch (100%)
 rename package/binutils/{arc-2016.03 => arc-2016.09-eng005}/0500-add-sysroot-fix-from-bug-3049.patch (100%)
 rename package/binutils/{arc-2016.03 => arc-2016.09-eng005}/0600-poison-system-directories.patch (100%)
 rename package/binutils/{arc-2016.03 => arc-2016.09-eng005}/0800-Docs-Prevent-build-failures-when-makeinfo-is-missing.patch (100%)
 rename package/gcc/{arc-2015.12 => arc-2016.09-eng005}/130-fix_build_with_gcc-6.patch (100%)
 rename package/gcc/{arc-2016.03 => arc-2016.09-eng005}/130-pr43538.patch (100%)
 rename package/gcc/{arc-2016.03 => arc-2016.09-eng005}/301-missing-execinfo_h.patch (100%)
 rename package/gcc/{arc-2016.03 => arc-2016.09-eng005}/305-libmudflap-susv3-legacy.patch (100%)
 rename package/gcc/{arc-2016.03 => arc-2016.09-eng005}/842-PR60155.patch (100%)
 rename package/gcc/{arc-2016.03 => arc-2016.09-eng005}/850-libstdcxx-uclibc-c99.patch (100%)
 rename package/gcc/{arc-2016.03 => arc-2016.09-eng005}/851-PR-other-56780.patch (100%)
 rename package/gcc/{arc-2016.03 => arc-2016.09-eng005}/930-libgcc-disable-split-stack-nothreads.patch (100%)
package/binutils/Config.in.host +1 -1
index efdc840..0d90e3e 100644
@@ -26,7 +26,7 @@ endchoice
 
 config BR2_BINUTILS_VERSION
 	string
-	default "arc-2016.03"	if BR2_arc
+	default "arc-2016.09-eng005"	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"		if BR2_BINUTILS_VERSION_2_26_X
package/binutils/arc-2016.03/0700-Fix-issue-with-dynamic-relocs-not-being-generated-wi.patch deleted +0 -34
deleted file mode 100644
index c2967a3..0000000
@@ -1,34 +0,0 @@
-From e59d8728f2fd57938ff28bb48cb47ddc7dbf8271 Mon Sep 17 00:00:00 2001
-From: Cupertino Miranda <[email protected]>
-Date: Tue, 24 May 2016 18:00:28 +0200
-Subject: [PATCH] Fix issue with dynamic relocs not being generated with -pie.
-
----
- bfd/elf32-arc.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/bfd/elf32-arc.c b/bfd/elf32-arc.c
-index c2d05e4..00af1a5 100644
---- a/bfd/elf32-arc.c
-+++ b/bfd/elf32-arc.c
-@@ -1492,7 +1492,7 @@ elf_arc_relocate_section (bfd *		   output_bfd,
- 	  case R_ARC_32_ME:
- 	  case R_ARC_PC32:
- 	  case R_ARC_32_PCREL:
--	    if (bfd_link_pic (info) && !bfd_link_pie (info)
-+	    if ((bfd_link_pic (info) || bfd_link_pie (info))
- 		&& ((r_type != R_ARC_PC32 && r_type != R_ARC_32_PCREL)
- 		    || (h != NULL
- 			&& h->dynindx != -1
-@@ -1774,7 +1774,7 @@ elf_arc_check_relocs (bfd *		         abfd,
- 	    /* FALLTHROUGH */
- 	  case R_ARC_PC32:
- 	  case R_ARC_32_PCREL:
--	    if (bfd_link_pic (info) && !bfd_link_pie (info)
-+	    if ((bfd_link_pic (info) || bfd_link_pie (info))
- 		&& ((r_type != R_ARC_PC32 && r_type != R_ARC_32_PCREL)
- 		    || (h != NULL
- 			&& h->dynindx != -1
--- 
-2.5.5
-
package/binutils/arc-2016.09-eng005/0300-ld-makefile.patch renamed from package/binutils/arc-2016.03/0300-ld-makefile.patch +0 -0
similarity index 100%
rename from package/binutils/arc-2016.03/0300-ld-makefile.patch
rename to package/binutils/arc-2016.09-eng005/0300-ld-makefile.patch
package/binutils/arc-2016.09-eng005/0301-check-ldrunpath-length.patch renamed from package/binutils/arc-2016.03/0301-check-ldrunpath-length.patch +0 -0
similarity index 100%
rename from package/binutils/arc-2016.03/0301-check-ldrunpath-length.patch
rename to package/binutils/arc-2016.09-eng005/0301-check-ldrunpath-length.patch
package/binutils/arc-2016.09-eng005/0500-add-sysroot-fix-from-bug-3049.patch renamed from package/binutils/arc-2016.03/0500-add-sysroot-fix-from-bug-3049.patch +0 -0
similarity index 100%
rename from package/binutils/arc-2016.03/0500-add-sysroot-fix-from-bug-3049.patch
rename to package/binutils/arc-2016.09-eng005/0500-add-sysroot-fix-from-bug-3049.patch
package/binutils/arc-2016.09-eng005/0600-poison-system-directories.patch renamed from package/binutils/arc-2016.03/0600-poison-system-directories.patch +0 -0
similarity index 100%
rename from package/binutils/arc-2016.03/0600-poison-system-directories.patch
rename to package/binutils/arc-2016.09-eng005/0600-poison-system-directories.patch
package/binutils/arc-2016.09-eng005/0800-Docs-Prevent-build-failures-when-makeinfo-is-missing.patch renamed from package/binutils/arc-2016.03/0800-Docs-Prevent-build-failures-when-makeinfo-is-missing.patch +0 -0
similarity index 100%
rename from package/binutils/arc-2016.03/0800-Docs-Prevent-build-failures-when-makeinfo-is-missing.patch
rename to package/binutils/arc-2016.09-eng005/0800-Docs-Prevent-build-failures-when-makeinfo-is-missing.patch
package/binutils/binutils.hash +1 -1
index 338bb8d..b313702 100644
@@ -4,4 +4,4 @@ sha512  0b36dda0e6d32cd25613c0e64b56b28312515c54d6a159efd3db9a86717f114ab0a0a1f6
 sha512  e77e1b8dbbcbaf9ac2fae95c4403615808af3be03b2e1d32448cd3a7d32c43273f8bcace3f2de84ec120a982879295673029da306e2885dbf5f990584932cfc7  binutils-2.26.tar.bz2
 
 # Locally calculated (fetched from Github)
-sha512  566312760ef564902fd85e281ef1370426c1451a16eb1d3e2faea7ec62100ae70ac9a5f33a7a5f87cdc744e82dd03203378fa4db1652c6b7856d865404dd19f8  binutils-arc-2016.03.tar.gz
+sha512  a0e2974990d6087aef94fec958b9f14458e847308d59dfb6f5dd8e9d1a246c4c4885a240ba43f15a7a20aff43bccba5a664daadf7fae54415bb8298620b46c23  binutils-arc-2016.09-eng005.tar.gz
package/binutils/binutils.mk +1 -1
index 9ed7262..2fd91ba 100644
@@ -9,7 +9,7 @@
 BINUTILS_VERSION = $(call qstrip,$(BR2_BINUTILS_VERSION))
 ifeq ($(BINUTILS_VERSION),)
 ifeq ($(BR2_arc),y)
-BINUTILS_VERSION = arc-2016.03
+BINUTILS_VERSION = arc-2016.09-eng005
 else
 BINUTILS_VERSION = 2.25.1
 endif
package/gcc/Config.in.host +1 -1
index 3180071..44a72f1 100644
@@ -100,7 +100,7 @@ config BR2_GCC_VERSION
 	default "4.9.3"     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.03" if BR2_GCC_VERSION_4_8_ARC
+	default "arc-2016.09-eng005" if BR2_GCC_VERSION_4_8_ARC
 
 config BR2_EXTRA_GCC_CONFIG_OPTIONS
 	string "Additional gcc options"
package/gcc/arc-2016.09-eng005/130-fix_build_with_gcc-6.patch renamed from package/gcc/arc-2015.12/130-fix_build_with_gcc-6.patch +0 -0
similarity index 100%
rename from package/gcc/arc-2015.12/130-fix_build_with_gcc-6.patch
rename to package/gcc/arc-2016.09-eng005/130-fix_build_with_gcc-6.patch
package/gcc/arc-2016.09-eng005/130-pr43538.patch renamed from package/gcc/arc-2016.03/130-pr43538.patch +0 -0
similarity index 100%
rename from package/gcc/arc-2016.03/130-pr43538.patch
rename to package/gcc/arc-2016.09-eng005/130-pr43538.patch
package/gcc/arc-2016.09-eng005/301-missing-execinfo_h.patch renamed from package/gcc/arc-2016.03/301-missing-execinfo_h.patch +0 -0
similarity index 100%
rename from package/gcc/arc-2016.03/301-missing-execinfo_h.patch
rename to package/gcc/arc-2016.09-eng005/301-missing-execinfo_h.patch
package/gcc/arc-2016.09-eng005/305-libmudflap-susv3-legacy.patch renamed from package/gcc/arc-2016.03/305-libmudflap-susv3-legacy.patch +0 -0
similarity index 100%
rename from package/gcc/arc-2016.03/305-libmudflap-susv3-legacy.patch
rename to package/gcc/arc-2016.09-eng005/305-libmudflap-susv3-legacy.patch
package/gcc/arc-2016.09-eng005/842-PR60155.patch renamed from package/gcc/arc-2016.03/842-PR60155.patch +0 -0
similarity index 100%
rename from package/gcc/arc-2016.03/842-PR60155.patch
rename to package/gcc/arc-2016.09-eng005/842-PR60155.patch
package/gcc/arc-2016.09-eng005/850-libstdcxx-uclibc-c99.patch renamed from package/gcc/arc-2016.03/850-libstdcxx-uclibc-c99.patch +0 -0
similarity index 100%
rename from package/gcc/arc-2016.03/850-libstdcxx-uclibc-c99.patch
rename to package/gcc/arc-2016.09-eng005/850-libstdcxx-uclibc-c99.patch
package/gcc/arc-2016.09-eng005/851-PR-other-56780.patch renamed from package/gcc/arc-2016.03/851-PR-other-56780.patch +0 -0
similarity index 100%
rename from package/gcc/arc-2016.03/851-PR-other-56780.patch
rename to package/gcc/arc-2016.09-eng005/851-PR-other-56780.patch
package/gcc/arc-2016.09-eng005/930-libgcc-disable-split-stack-nothreads.patch renamed from package/gcc/arc-2016.03/930-libgcc-disable-split-stack-nothreads.patch +0 -0
similarity index 100%
rename from package/gcc/arc-2016.03/930-libgcc-disable-split-stack-nothreads.patch
rename to package/gcc/arc-2016.09-eng005/930-libgcc-disable-split-stack-nothreads.patch
package/gcc/gcc.hash +1 -1
index 82160bf..1b41d0a 100644
@@ -12,4 +12,4 @@ sha512  2941cc950c8f2409a314df497631f9b0266211aa74746c1839c46e04f1c7c299afe2528d
 sha512  eeed3e2018b8c012aabce419e8d718fde701e5c3c179b4486c61ba46e5736eecc8fccdd18b01fcd973a42c6ad3116dbbe2ee247fe3757d622d373f93ebaf8d2e  gcc-6.1.0.tar.bz2
 
 # Locally calculated (fetched from Github)
-sha512  65b1eef5f8ca26941dd9b5e1bcaf4ce285cc95429eeb92b4088663577bcdb2392f9712925f38666d94207fecd244579336f753a13de1f90e5169b21d8a73bef3  gcc-arc-2016.03.tar.gz
+sha512  6234ad8d6e613bc490f8b8d92be8b348ce6cf5e803afab009936323ef5bca36ad56614f57f9ba8a3cb1b03d9f4e45a3e4529b7356a764ad2176e3ff3d0e593db  gcc-arc-2016.09-eng005.tar.gz
Signature · 1 line
2.5.5
#1 lore raw

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

Quoted 26 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Alexey" == Alexey Brodkin <[email protected]> writes:

With this commit we're starting a series of updates of ARC tools. Significantly rewritten arc-2016.03 tools introduced way too many problems highlighted by Buildroot autobuilder. Now in attempt to resolve as many issues as possible by the time final release of arc-2016.09 tools is cut we'll be executing arc-2016.09 series with engineering snapshots like this one.

We decided to go this way instead of applying separate patches here and there because ongoing development introduces quite a lot of changes and separate patches are not practical in Buildroot.

Moreover this will give us very clean visibility of number of issues we see (hopefully it will decrease over time).

One of the important changes introduced in this engineering build is initial set of changes for proper support of PIE on ARC in terms of both building on host and running on ARC target. I expect some PIE-related build breakages to go away and new ones will be treated as the high-priority issues to be fixed ASAP.

For now we only update Binutils and GCC while keeping 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.

Quoted 8 lines

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

Cc arc-buildroot at synopsys.com
Cc Thomas Petazzoni <[email protected]>
Cc Peter Korsgaard <[email protected]>

Committed, thanks. Lets see how this goes ..

Signature · 2 lines
Venlig hilsen,
Peter Korsgaard 
#2 lore raw

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

Hi Thomas,

Quoted 30 lines · Peter Korsgaard
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

"Alexey" == Alexey Brodkin <[email protected]> writes:

?> With this commit we're starting a series of updates of ARC tools. ?> Significantly rewritten arc-2016.03 tools introduced way too many ?> problems highlighted by Buildroot autobuilder. Now in attempt to ?> resolve as many issues as possible by the time final release of ?> arc-2016.09 tools is cut we'll be executing arc-2016.09 series ?> with engineering snapshots like this one.

?> We decided to go this way instead of applying separate patches here ?> and there because ongoing development introduces quite a lot of ?> changes and separate patches are not practical in Buildroot.

?> Moreover this will give us very clean visibility of number of ?> issues we see (hopefully it will decrease over time).

?> One of the important changes introduced in this engineering build ?> is initial set of changes for proper support of PIE on ARC in terms ?> of both building on host and running on ARC target. I expect some ?> PIE-related build breakages to go away and new ones will be treated ?> as the high-priority issues to be fixed ASAP.

?> For now we only update Binutils and GCC while keeping 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.

Quoted 9 lines

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

?> Signed-off-by: Alexey Brodkin <[email protected]> ?> Cc: arc-buildroot at synopsys.com
?> Cc: Thomas Petazzoni <[email protected]> ?> Cc: Peter Korsgaard <[email protected]>

Could you please rebuild toolchain for ARC with that commit?
https://git.busybox.net/buildroot/commit/?id=4520524ba055706236db9f00dd79f1b2e2e87fde

This will make use of arc-2016.09-eng005 toolchain drop in BR autobuilder.

-Alexey