Skip to contentSkip to conversation

toolchain: Bump ARC tools to arc-2018.09-rc1

PATCH New Evgeniy Didin 3 participants 5 messages Nov 8, 2018 – Nov 19, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 toolchain: Bump ARC tools to arc-2018.09-rc1

This commit bumps ARC toolchain to arc-2018.09-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.09-rc1 bring some quite significant changes like:
* Binutils v2.31.1 with additional ARC patches
* GCC 8.2.1 with additional ARC patches
* glibc 2.28 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.

Cc Thomas Petazzoni <[email protected]>
Cc arc-buildroot at synopsys.com
---
 package/binutils/Config.in.host                    |  4 +-
 .../binutils/arc-2018.03/0002-ld-makefile.patch    | 41 --------------
 .../arc-2018.03/0003-check-ldrunpath-length.patch  | 36 ------------
 .../0004-add-sysroot-fix-from-bug-3049.patch       | 51 -----------------
 .../0005-poison-system-directories.patch           | 60 ++++++++++----------
 package/binutils/binutils.hash                     |  2 +-
 package/binutils/binutils.mk                       |  4 +-
 package/gcc/Config.in.host                         |  6 +-
 .../0860-cilk-fix-build-without-wchar.patch        | 64 ----------------------
 .../0100-uclibc-conf.patch                         |  0
 package/gcc/gcc.hash                               |  2 +-
 package/gdb/Config.in.host                         |  2 +-
 package/gdb/gdb.hash                               |  2 +-
 .../glibc.hash                                     |  2 +-
 package/glibc/glibc.mk                             |  2 +-
 15 files changed, 43 insertions(+), 235 deletions(-)
 delete mode 100644 package/binutils/arc-2018.03/0002-ld-makefile.patch
 delete mode 100644 package/binutils/arc-2018.03/0003-check-ldrunpath-length.patch
 delete mode 100644 package/binutils/arc-2018.03/0004-add-sysroot-fix-from-bug-3049.patch
 rename package/binutils/{arc-2018.03 => arc-2018.09-rc1}/0005-poison-system-directories.patch (89%)
 delete mode 100644 package/gcc/arc-2018.03/0860-cilk-fix-build-without-wchar.patch
 rename package/gcc/{arc-2018.03 => arc-2018.09-rc1}/0100-uclibc-conf.patch (100%)
 rename package/glibc/{arc-2018.03-release => arc-2018.09-rc1}/glibc.hash (75%)
package/binutils/Config.in.host +2 -2
index 59120f3138..b8901210be 100644
@@ -31,13 +31,13 @@ config BR2_BINUTILS_VERSION_2_31_X
 	bool "binutils 2.31.1"
 
 config BR2_BINUTILS_VERSION_ARC
-	bool "binutils arc (2.29)"
+	bool "binutils arc (2.31)"
 	depends on BR2_arc
 endchoice
 
 config BR2_BINUTILS_VERSION
 	string
-	default "arc-2018.03"	if BR2_BINUTILS_VERSION_ARC
+	default "arc-2018.09-rc1"	if BR2_BINUTILS_VERSION_ARC
 	default "2.28.1"	if BR2_BINUTILS_VERSION_2_28_X
 	default "2.29.1"	if BR2_BINUTILS_VERSION_2_29_X
 	default "2.30"		if BR2_BINUTILS_VERSION_2_30_X
package/binutils/arc-2018.03/0002-ld-makefile.patch deleted +0 -41

41 lines not on this page · raw message

package/binutils/arc-2018.03/0003-check-ldrunpath-length.patch deleted +0 -36
deleted file mode 100644
index 3fbc5031d1..0000000000
@@ -1,36 +0,0 @@
-From 3bd211025c890ef2971958915d500a9bb2913a2a Mon Sep 17 00:00:00 2001
-From: Romain Naour <[email protected]>
-Date: Fri, 25 Dec 2015 11:41:47 +0100
-Subject: [PATCH] check-ldrunpath-length
-
-[Romain: rebase on top of 2.26]
-Signed-off-by: Romain Naour <[email protected]>
----
- ld/emultempl/elf32.em | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em
-index d2551b6..70fcb56 100644
---- a/ld/emultempl/elf32.em
-+++ b/ld/emultempl/elf32.em
-@@ -1463,6 +1463,8 @@ fragment <<EOF
- 	      && command_line.rpath == NULL)
- 	    {
- 	      path = (const char *) getenv ("LD_RUN_PATH");
-+	      if ((path) && (strlen (path) == 0))
-+	        path = NULL;
- 	      if (path
- 		  && gld${EMULATION_NAME}_search_needed (path, &n, force))
- 		break;
-@@ -1740,6 +1742,8 @@ gld${EMULATION_NAME}_before_allocation (void)
-   rpath = command_line.rpath;
-   if (rpath == NULL)
-     rpath = (const char *) getenv ("LD_RUN_PATH");
-+  if ((rpath) && (strlen (rpath) == 0))
-+    rpath = NULL;
- 
-   for (abfd = link_info.input_bfds; abfd; abfd = abfd->link.next)
-     if (bfd_get_flavour (abfd) == bfd_target_elf_flavour)
--- 
-2.9.4
-
package/binutils/arc-2018.03/0004-add-sysroot-fix-from-bug-3049.patch deleted +0 -51

51 lines not on this page · raw message

package/binutils/arc-2018.09-rc1/0005-poison-system-directories.patch renamed from package/binutils/arc-2018.03/0005-poison-system-directories.patch +30 -30

171 lines not on this page · raw message

package/binutils/binutils.hash +1 -1
index d97f55da8a..01d029abf6 100644
@@ -5,4 +5,4 @@ sha512  e747ea20d8d79fcd21b9d9f6695059caa7189d60f19256da398e34b789fea9a133c32b19
 sha512  0fca326feb1d5f5fe505a827b20237fe3ec9c13eaf7ec7e35847fd71184f605ba1cefe1314b1b8f8a29c0aa9d88162849ee1c1a3e70c2f7407d88339b17edb30  binutils-2.31.1.tar.xz
 
 # Locally calculated (fetched from Github)
-sha512  bea88164ed48733bad63393fe702e12e651efd113aa4f3fe2e253e05c4c1e5da20b5a99333f0b5528df6d32ce806f799211c568e1916845a87999901dde28817  binutils-arc-2018.03.tar.gz
+sha512  c28c84a725f1fb81ede687c62d61f6a086f389415426a63f0b7b9923f8ab581b64982c37e7e30dc5f7c4ec106eaff61988ef886a91328d8b8eaba2c76ce6d63d  binutils-arc-2018.09-rc1.tar.gz
package/binutils/binutils.mk +2 -2
index 090065a3e4..8b83aa9e56 100644
@@ -9,13 +9,13 @@
 BINUTILS_VERSION = $(call qstrip,$(BR2_BINUTILS_VERSION))
 ifeq ($(BINUTILS_VERSION),)
 ifeq ($(BR2_arc),y)
-BINUTILS_VERSION = arc-2018.03
+BINUTILS_VERSION = arc-2018.09-rc1
 else
 BINUTILS_VERSION = 2.29.1
 endif
 endif # BINUTILS_VERSION
 
-ifeq ($(BINUTILS_VERSION),arc-2018.03)
+ifeq ($(BINUTILS_VERSION),arc-2018.09-rc1)
 BINUTILS_SITE = $(call github,foss-for-synopsys-dwc-arc-processors,binutils-gdb,$(BINUTILS_VERSION))
 BINUTILS_SOURCE = binutils-$(BINUTILS_VERSION).tar.gz
 BINUTILS_FROM_GIT = y
package/gcc/Config.in.host +3 -3
index 1d4e946f55..6fcd1f1e65 100644
@@ -9,10 +9,10 @@ choice
 	  Select the version of gcc you wish to use.
 
 config BR2_GCC_VERSION_ARC
-	bool "gcc arc (7.x)"
+	bool "gcc arc (8.x)"
 	# Only supported architecture
 	depends on BR2_arc
-	select BR2_TOOLCHAIN_GCC_AT_LEAST_7
+	select BR2_TOOLCHAIN_GCC_AT_LEAST_8
 
 config BR2_GCC_VERSION_OR1K
 	bool "gcc or1k (5.x)"
@@ -85,7 +85,7 @@ config BR2_GCC_VERSION
 	default "6.4.0"     if BR2_GCC_VERSION_6_X
 	default "7.3.0"     if BR2_GCC_VERSION_7_X
 	default "8.2.0"     if BR2_GCC_VERSION_8_X
-	default "arc-2018.03" if BR2_GCC_VERSION_ARC
+	default "arc-2018.09-rc1" if BR2_GCC_VERSION_ARC
 	default "or1k-musl-5.4.0-20170218" if BR2_GCC_VERSION_OR1K
 
 config BR2_EXTRA_GCC_CONFIG_OPTIONS
package/gcc/arc-2018.03/0860-cilk-fix-build-without-wchar.patch deleted +0 -64

64 lines not on this page · raw message

package/gcc/arc-2018.09-rc1/0100-uclibc-conf.patch renamed from package/gcc/arc-2018.03/0100-uclibc-conf.patch +0 -0
similarity index 100%
rename from package/gcc/arc-2018.03/0100-uclibc-conf.patch
rename to package/gcc/arc-2018.09-rc1/0100-uclibc-conf.patch
package/gcc/gcc.hash +1 -1
index 079bf7a2f6..bde5ae9f85 100644
@@ -10,6 +10,6 @@ sha512  ad41a7e4584e40e92cdf860bc0288500fbaf5dfb7e8c3fcabe9eba809c87bcfa85b46c19
 sha512  64898a165f67e136d802a92e7633bf1b06c85266027e52127ea025bf5fc2291b5e858288aac0bdba246e6cdf7c6ec88bc8e0e7f3f6f1985f4297710cafde56ed  gcc-8.2.0.tar.xz
 
 # Locally calculated (fetched from Github)
-sha512  7c6555d629957d154c9c0524fc2c82301c9ab9192f5b9175c47b1f2dde298ac032e86360d91866c3c4d001cf8e191a90dc88f3c900ebfc367c5888ab7bf2ce79  gcc-arc-2018.03.tar.gz
+sha512  13b876c8397fd73ad8e41220f4467a9f22cd97e1d075c114a6247e81c3330830522bbe1befc4be7021aeb588416248fdd0738ba63dace39451fc4757d17befcf  gcc-arc-2018.09-rc1.tar.gz
 # Locally calculated (fetched from Github)
 sha512  2de7cf47333a4092b02d3bb98f4206f14966f1d139a724d09cf3b22f8a43ae0c704f33e6477d6367a03c29b265480dc900169e9d417006c5d46f0ae446b8c6f1  gcc-or1k-musl-5.4.0-20170218.tar.gz
package/gdb/Config.in.host +1 -1
index df8817d91d..a2c2303594 100644
@@ -93,7 +93,7 @@ config BR2_PACKAGE_GDB_NEEDS_CXX11
 # If cross-gdb is not enabled, the latest working version is chosen.
 config BR2_GDB_VERSION
 	string
-	default "arc-2018.03-gdb" if BR2_arc
+	default "arc-2018.09-rc1-gdb" if BR2_arc
 	default "7.12.1"   if BR2_GDB_VERSION_7_12
 	default "8.0.1"    if BR2_GDB_VERSION_8_0
 	default "8.1.1"    if BR2_GDB_VERSION_8_1 || !BR2_PACKAGE_HOST_GDB
package/gdb/gdb.hash +1 -1
index f7c7b80327..aa6544b46c 100644
@@ -5,4 +5,4 @@ sha512  7dcd5e8c90de92f577834d887b5f54edb93a07083bfe661bc46c270a6cc4919f0b348e7e
 sha512  11cc481bebc51eb6db73249ecb62b8c07455cf3db169f4860b3a83114849fbd2b5860a2db64488ba6c5909cf07b255c04770f1e36059eae6bee16d2a3581be90	gdb-8.2.tar.xz
 
 # Locally calculated (fetched from Github)
-sha512  b17e4066730491f6a75b00eab78012f67cc445fe95ecd82c06cda7c1255190e6c471ac89b92f2fcdba4790b0046756b9cecf1f827537afcb44e1e578345852ad 	gdb-arc-2018.03-gdb.tar.gz
+sha512  c263782d64650352a5d9009883391a80a04298938aa02a8cbf90f7dbd58b5e92d81acf71df3e9f80e9f26dc125e66890486d7c2d07f78608b75de01d8e1cf2fe 	gdb-arc-2018.09-rc1-gdb.tar.gz
package/glibc/arc-2018.09-rc1/glibc.hash renamed from package/glibc/arc-2018.03-release/glibc.hash +1 -1
similarity index 75%
rename from package/glibc/arc-2018.03-release/glibc.hash
rename to package/glibc/arc-2018.09-rc1/glibc.hash
index f3b10d9105..4fc89c2823 100644
@@ -1,5 +1,5 @@
 # Locally calculated (fetched from Github)
-sha256  e08ab67b2db2d0f0e8f3311d23c54fb8f6d4c1ef6fa0b4047fd5da400e3ce9de  glibc-arc-2018.03-release.tar.gz
+sha256  b7a6c16f06e1296a64edf5aa4394d82d76719ea8c2af73a72616a030cb3d475d  glibc-arc-2018.09-rc1.tar.gz
 
 # Hashes for license files
 sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  COPYING
package/glibc/glibc.mk +1 -1
index 708c22f723..f68760059b 100644
@@ -5,7 +5,7 @@
 ################################################################################
 
 ifeq ($(BR2_arc),y)
-GLIBC_VERSION =  arc-2018.03-release
+GLIBC_VERSION =  arc-2018.09-rc1
 GLIBC_SITE = $(call github,foss-for-synopsys-dwc-arc-processors,glibc,$(GLIBC_VERSION))
 else
 # Generate version string using:
Signature · 1 line
2.16.2
#1 lore raw

PATCH 1/1 toolchain: Bump ARC tools to arc-2018.09-rc1

Hi Thomas, Peter, Arnout!

Quoted 9 lines · Evgeniy Didin

This commit bumps ARC toolchain to arc-2018.09-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.09-rc1 bring some quite significant changes like:
* Binutils v2.31.1 with additional ARC patches
* GCC 8.2.1 with additional ARC patches
* glibc 2.28 with additional ARC patches

Quoted 6 lines

Please note that it is a release candidate and it might contain some breakages, please don't use it for production builds.

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

Any chance arc-2018.09 tools to be accepted in v2018.11 BR release?

In the meantime we've got RC2 cut just yesterday with a couple of more critical fixes so it might make sense to bump right to arc-2018.09-rc2 instead but still it might be applied on top of this one so pls let us know what would you prefer.

-Alexey

#2 lore raw

PATCH 1/1 toolchain: Bump ARC tools to arc-2018.09-rc1

Quoted 13 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

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

Hi Thomas, Peter, Arnout!

Quoted 9 lines · Evgeniy Didin

This commit bumps ARC toolchain to arc-2018.09-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.09-rc1 bring some quite significant changes like:
* Binutils v2.31.1 with additional ARC patches
* GCC 8.2.1 with additional ARC patches
* glibc 2.28 with additional ARC patches

Quoted 8 lines
Quoted 6 lines

Please note that it is a release candidate and it might contain some breakages, please don't use it for production builds.

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

Any chance arc-2018.09 tools to be accepted in v2018.11 BR release?

Sorry, I find it too late for that by now. I have instead applied it to next, hopefully that is OK?

Quoted 4 lines

In the meantime we've got RC2 cut just yesterday with a couple of more critical fixes so it might make sense to bump right to arc-2018.09-rc2 instead but still it might be applied on top of this one so pls let us know what would you prefer.

Please send a patch for next to bump it to RC2.

Signature · 1 line
Bye, Peter Korsgaard
#3 lore raw

PATCH 1/1 toolchain: Bump ARC tools to arc-2018.09-rc1

Hi Peter,

Quoted 16 lines · Peter Korsgaard
Quoted 16 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

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

Hi Thomas, Peter, Arnout!

Quoted 12 lines · Evgeniy Didin

This commit bumps ARC toolchain to arc-2018.09-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.09-rc1 bring some quite significant changes like:
* Binutils v2.31.1 with additional ARC patches
* GCC 8.2.1 with additional ARC patches
* glibc 2.28 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.

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Cc Thomas Petazzoni <[email protected]>
Cc arc-buildroot at synopsys.com

Any chance arc-2018.09 tools to be accepted in v2018.11 BR release?

Sorry, I find it too late for that by now. I have instead applied it to next, hopefully that is OK?

Well, the hope was to get arc-2018.09 in BR v2018.11 release as we're going to cut the final release in coming days but...

maybe it's good that we'll have a longer stabilization cycle for our tools in BR especially keeping in mind that we're switching from GCC 7.x to 8.x and there might come up some issues related more to GCC 8.x than to ARC port itself.

Quoted 6 lines
Quoted 4 lines

In the meantime we've got RC2 cut just yesterday with a couple of more critical fixes so it might make sense to bump right to arc-2018.09-rc2 instead but still it might be applied on top of this one so pls let us know what would you prefer.

Please send a patch for next to bump it to RC2.

We'll do that, sure.

-Alexey

#4 lore raw

PATCH 1/1 toolchain: Bump ARC tools to arc-2018.09-rc1

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

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

Hi,

Quoted 5 lines
Quoted 4 lines
Quoted 1 line

Any chance arc-2018.09 tools to be accepted in v2018.11 BR release?

Sorry, I find it too late for that by now. I have instead applied it to next, hopefully that is OK?

Quoted 7 lines

Well, the hope was to get arc-2018.09 in BR v2018.11 release as we're going to cut the final release in coming days but...

maybe it's good that we'll have a longer stabilization cycle for our tools in BR especially keeping in mind that we're switching from GCC 7.x to 8.x and there might come up some issues related more to GCC 8.x than to ARC port itself.

That was my thinking as well.

Quoted 8 lines
Quoted 6 lines
Quoted 4 lines

In the meantime we've got RC2 cut just yesterday with a couple of more critical fixes so it might make sense to bump right to arc-2018.09-rc2 instead but still it might be applied on top of this one so pls let us know what would you prefer.

Please send a patch for next to bump it to RC2.

We'll do that, sure.

Great, thanks!

Signature · 1 line
Bye, Peter Korsgaard