diff mbox series

toolchain: Bump ARC tools to arc-2018.03 release

Message ID 20180625154535.21098-1-didin@synopsys.com
State Accepted
Headers show
Series toolchain: Bump ARC tools to arc-2018.03 release | expand

Commit Message

Evgeniy Didin June 25, 2018, 3:45 p.m. UTC
This commit finally bumps ARC tools to the most recent arc-2018.03 release version.

ARC GNU tools of version arc-2018.03 bring some quite significant changes like:
* Binutils v2.29.51 with additional ARC patches
* GCC 7.3.1 with additional ARC patches
* GDB 8.0.50 with ARC patches

More information on this release could be found here:
https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/tag/arc-2018.03-release

Signed-off-by: Evgeniy Didin <didin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: arc-buildroot@synopsys.com
---
Please also apply this patch on top of 2018.05.x branch, so we will have
final release version of toolchain instead of release candidate version. 
 
 package/binutils/Config.in.host                               | 2 +-
 .../{arc-2018.03-rc2 => arc-2018.03}/0002-ld-makefile.patch   | 0
 .../0003-check-ldrunpath-length.patch                         | 0
 .../0004-add-sysroot-fix-from-bug-3049.patch                  | 0
 .../0005-poison-system-directories.patch                      | 0
 package/binutils/binutils.hash                                | 2 +-
 package/binutils/binutils.mk                                  | 4 ++--
 package/gcc/Config.in.host                                    | 2 +-
 .../{arc-2018.03-rc2 => arc-2018.03}/0100-uclibc-conf.patch   | 0
 .../0860-cilk-fix-build-without-wchar.patch                   | 0
 .../0900-remove-selftests.patch                               | 0
 package/gcc/gcc.hash                                          | 2 +-
 package/gdb/Config.in.host                                    | 2 +-
 package/gdb/gdb.hash                                          | 2 +-
 package/glibc/glibc.hash                                      | 2 +-
 package/glibc/glibc.mk                                        | 2 +-
 16 files changed, 10 insertions(+), 10 deletions(-)
 rename package/binutils/{arc-2018.03-rc2 => arc-2018.03}/0002-ld-makefile.patch (100%)
 rename package/binutils/{arc-2018.03-rc2 => arc-2018.03}/0003-check-ldrunpath-length.patch (100%)
 rename package/binutils/{arc-2018.03-rc2 => arc-2018.03}/0004-add-sysroot-fix-from-bug-3049.patch (100%)
 rename package/binutils/{arc-2018.03-rc2 => arc-2018.03}/0005-poison-system-directories.patch (100%)
 rename package/gcc/{arc-2018.03-rc2 => arc-2018.03}/0100-uclibc-conf.patch (100%)
 rename package/gcc/{arc-2018.03-rc2 => arc-2018.03}/0860-cilk-fix-build-without-wchar.patch (100%)
 rename package/gcc/{arc-2018.03-rc2 => arc-2018.03}/0900-remove-selftests.patch (100%)

Comments

Thomas Petazzoni June 25, 2018, 7:57 p.m. UTC | #1
Hello,

On Mon, 25 Jun 2018 18:45:35 +0300, Evgeniy Didin wrote:
> This commit finally bumps ARC tools to the most recent arc-2018.03 release version.
> 
> ARC GNU tools of version arc-2018.03 bring some quite significant changes like:
> * Binutils v2.29.51 with additional ARC patches
> * GCC 7.3.1 with additional ARC patches
> * GDB 8.0.50 with ARC patches
> 
> More information on this release could be found here:
> https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/tag/arc-2018.03-release
> 
> Signed-off-by: Evgeniy Didin <didin@synopsys.com>
> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
> Cc: arc-buildroot@synopsys.com
> ---
> Please also apply this patch on top of 2018.05.x branch, so we will have
> final release version of toolchain instead of release candidate version. 
>  
>  package/binutils/Config.in.host                               | 2 +-
>  .../{arc-2018.03-rc2 => arc-2018.03}/0002-ld-makefile.patch   | 0
>  .../0003-check-ldrunpath-length.patch                         | 0
>  .../0004-add-sysroot-fix-from-bug-3049.patch                  | 0
>  .../0005-poison-system-directories.patch                      | 0
>  package/binutils/binutils.hash                                | 2 +-
>  package/binutils/binutils.mk                                  | 4 ++--
>  package/gcc/Config.in.host                                    | 2 +-
>  .../{arc-2018.03-rc2 => arc-2018.03}/0100-uclibc-conf.patch   | 0
>  .../0860-cilk-fix-build-without-wchar.patch                   | 0
>  .../0900-remove-selftests.patch                               | 0
>  package/gcc/gcc.hash                                          | 2 +-
>  package/gdb/Config.in.host                                    | 2 +-
>  package/gdb/gdb.hash                                          | 2 +-
>  package/glibc/glibc.hash                                      | 2 +-
>  package/glibc/glibc.mk                                        | 2 +-
>  16 files changed, 10 insertions(+), 10 deletions(-)
>  rename package/binutils/{arc-2018.03-rc2 => arc-2018.03}/0002-ld-makefile.patch (100%)
>  rename package/binutils/{arc-2018.03-rc2 => arc-2018.03}/0003-check-ldrunpath-length.patch (100%)
>  rename package/binutils/{arc-2018.03-rc2 => arc-2018.03}/0004-add-sysroot-fix-from-bug-3049.patch (100%)
>  rename package/binutils/{arc-2018.03-rc2 => arc-2018.03}/0005-poison-system-directories.patch (100%)
>  rename package/gcc/{arc-2018.03-rc2 => arc-2018.03}/0100-uclibc-conf.patch (100%)
>  rename package/gcc/{arc-2018.03-rc2 => arc-2018.03}/0860-cilk-fix-build-without-wchar.patch (100%)
>  rename package/gcc/{arc-2018.03-rc2 => arc-2018.03}/0900-remove-selftests.patch (100%)

This patch did not apply to master as-is, due to the changes on gdb
that Peter merged yesterday. I fixed up the conflict and applied to
master.

I also did a follow-up commit, to make sure BR2_PACKAGE_GDB_NEEDS_CXX11
is enabled when the ARC version of gdb is used: it's based on GDB 8.0,
so it needs C++11 support.

Thanks!

Thomas
Alexey Brodkin June 25, 2018, 11:30 p.m. UTC | #2
Hi Thomas,

On Mon, 2018-06-25 at 21:57 +0200, Thomas Petazzoni wrote:
> Hello,
> 
> On Mon, 25 Jun 2018 18:45:35 +0300, Evgeniy Didin wrote:
> > This commit finally bumps ARC tools to the most recent arc-2018.03 release version.
> > 
> > ARC GNU tools of version arc-2018.03 bring some quite significant changes like:
> > * Binutils v2.29.51 with additional ARC patches
> > * GCC 7.3.1 with additional ARC patches
> > * GDB 8.0.50 with ARC patches
> > 
> > More information on this release could be found here:
> > https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_foss-2Dfor-2Dsynopsys-2Ddwc-2Darc-2Dprocessors_toolchain_releases_tag_arc-2D2018.0
> > 3-2Drelease&d=DwICAg&c=DPL6_X_6JkXFx7AXWqB0tg&r=Z74rKOsEpOUneCxYxwKcXHwrAmW8mJhNZjcWnDDJI2U&m=_gxP0Lg1q0s6NbqCqmHUFlJIjsVhLOhTWctrX-
> > lOxf0&s=qq7xPxfRsWX5s2wkJ7MMG-wrV_83O_ezhVwxmi61-bE&e=
> > 
> > Signed-off-by: Evgeniy Didin <didin@synopsys.com>
> > Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
> > Cc: arc-buildroot@synopsys.com

[snip]

> This patch did not apply to master as-is, due to the changes on gdb
> that Peter merged yesterday. I fixed up the conflict and applied to
> master.
> 
> I also did a follow-up commit, to make sure BR2_PACKAGE_GDB_NEEDS_CXX11
> is enabled when the ARC version of gdb is used: it's based on GDB 8.0,
> so it needs C++11 support.

Any chance for this one to be applied to 2018.05.x branch as this is just
RC2->Release bump?

-Alexey
Thomas Petazzoni June 26, 2018, 7:06 a.m. UTC | #3
Hello,

On Mon, 25 Jun 2018 23:30:47 +0000, Alexey Brodkin wrote:

> > This patch did not apply to master as-is, due to the changes on gdb
> > that Peter merged yesterday. I fixed up the conflict and applied to
> > master.
> > 
> > I also did a follow-up commit, to make sure BR2_PACKAGE_GDB_NEEDS_CXX11
> > is enabled when the ARC version of gdb is used: it's based on GDB 8.0,
> > so it needs C++11 support.  
> 
> Any chance for this one to be applied to 2018.05.x branch as this is just
> RC2->Release bump?

I saw this note in the patch. It's up to Peter to decide what to do
about this, but considering it only touches ARC toolchain components, I
don't see why we couldn't backport this to 2018.05.

Best regards,

Thomas
Peter Korsgaard June 26, 2018, 8:24 a.m. UTC | #4
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@bootlin.com> writes:

 > Hello,
 > On Mon, 25 Jun 2018 23:30:47 +0000, Alexey Brodkin wrote:

 >> > This patch did not apply to master as-is, due to the changes on gdb
 >> > that Peter merged yesterday. I fixed up the conflict and applied to
 >> > master.
 >> > 
 >> > I also did a follow-up commit, to make sure BR2_PACKAGE_GDB_NEEDS_CXX11
 >> > is enabled when the ARC version of gdb is used: it's based on GDB 8.0,
 >> > so it needs C++11 support.  
 >> 
 >> Any chance for this one to be applied to 2018.05.x branch as this is just
 RC2-> Release bump?

 > I saw this note in the patch. It's up to Peter to decide what to do
 > about this, but considering it only touches ARC toolchain components, I
 > don't see why we couldn't backport this to 2018.05.

Yes, I'll get around to it this week.
Alexey Brodkin June 26, 2018, 3:20 p.m. UTC | #5
Hi Peter,

On Tue, 2018-06-26 at 10:24 +0200, Peter Korsgaard wrote:
> > > > > > "Thomas" == Thomas Petazzoni <thomas.petazzoni@bootlin.com> writes:
> 
>  > Hello,
>  > On Mon, 25 Jun 2018 23:30:47 +0000, Alexey Brodkin wrote:
> 
>  >> > This patch did not apply to master as-is, due to the changes on gdb
>  >> > that Peter merged yesterday. I fixed up the conflict and applied to
>  >> > master.
>  >> > 
>  >> > I also did a follow-up commit, to make sure BR2_PACKAGE_GDB_NEEDS_CXX11
>  >> > is enabled when the ARC version of gdb is used: it's based on GDB 8.0,
>  >> > so it needs C++11 support.  
>  >> 
>  >> Any chance for this one to be applied to 2018.05.x branch as this is just
>  RC2-> Release bump?
> 
>  > I saw this note in the patch. It's up to Peter to decide what to do
>  > about this, but considering it only touches ARC toolchain components, I
>  > don't see why we couldn't backport this to 2018.05.
> 
> Yes, I'll get around to it this week.

Cool! Thanks for doing this!

-Alexey
Peter Korsgaard July 18, 2018, 9:47 p.m. UTC | #6
>>>>> "Evgeniy" == Evgeniy Didin <Evgeniy.Didin@synopsys.com> writes:

 > This commit finally bumps ARC tools to the most recent arc-2018.03 release version.
 > ARC GNU tools of version arc-2018.03 bring some quite significant changes like:
 > * Binutils v2.29.51 with additional ARC patches
 > * GCC 7.3.1 with additional ARC patches
 > * GDB 8.0.50 with ARC patches

 > More information on this release could be found here:
 > https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/tag/arc-2018.03-release

 > Signed-off-by: Evgeniy Didin <didin@synopsys.com>
 > Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
 > Cc: arc-buildroot@synopsys.com
 > ---
 > Please also apply this patch on top of 2018.05.x branch, so we will have
 > final release version of toolchain instead of release candidate version. 

Committed to 2018.05.x, thanks.
diff mbox series

Patch

diff --git a/package/binutils/Config.in.host b/package/binutils/Config.in.host
index de229895c1..ed4475ade9 100644
--- a/package/binutils/Config.in.host
+++ b/package/binutils/Config.in.host
@@ -26,7 +26,7 @@  endchoice
 
 config BR2_BINUTILS_VERSION
 	string
-	default "arc-2018.03-rc2"	if BR2_BINUTILS_VERSION_ARC
+	default "arc-2018.03"	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
diff --git a/package/binutils/arc-2018.03-rc2/0002-ld-makefile.patch b/package/binutils/arc-2018.03/0002-ld-makefile.patch
similarity index 100%
rename from package/binutils/arc-2018.03-rc2/0002-ld-makefile.patch
rename to package/binutils/arc-2018.03/0002-ld-makefile.patch
diff --git a/package/binutils/arc-2018.03-rc2/0003-check-ldrunpath-length.patch b/package/binutils/arc-2018.03/0003-check-ldrunpath-length.patch
similarity index 100%
rename from package/binutils/arc-2018.03-rc2/0003-check-ldrunpath-length.patch
rename to package/binutils/arc-2018.03/0003-check-ldrunpath-length.patch
diff --git a/package/binutils/arc-2018.03-rc2/0004-add-sysroot-fix-from-bug-3049.patch b/package/binutils/arc-2018.03/0004-add-sysroot-fix-from-bug-3049.patch
similarity index 100%
rename from package/binutils/arc-2018.03-rc2/0004-add-sysroot-fix-from-bug-3049.patch
rename to package/binutils/arc-2018.03/0004-add-sysroot-fix-from-bug-3049.patch
diff --git a/package/binutils/arc-2018.03-rc2/0005-poison-system-directories.patch b/package/binutils/arc-2018.03/0005-poison-system-directories.patch
similarity index 100%
rename from package/binutils/arc-2018.03-rc2/0005-poison-system-directories.patch
rename to package/binutils/arc-2018.03/0005-poison-system-directories.patch
diff --git a/package/binutils/binutils.hash b/package/binutils/binutils.hash
index c938222804..cc13686cc8 100644
--- a/package/binutils/binutils.hash
+++ b/package/binutils/binutils.hash
@@ -4,4 +4,4 @@  sha512  d748d22306477d60d921078804d21943248c23fca0707aac9b016a352c01c75ca69e8262
 sha512  e747ea20d8d79fcd21b9d9f6695059caa7189d60f19256da398e34b789fea9a133c32b192e9693b5828d27683739b0198431bf8b3e39fb3b04884cf89d9aa839  binutils-2.30.tar.xz
 
 # Locally calculated (fetched from Github)
-sha512  c9d41001bd41d96f1cd78748c1e8df9715aab1158c0a1c9c90a2010e335c357d0d6816202b7fcf7c7d8d4a65e25920b0b35af6a59edd0d29fd9edddd8be95a48  binutils-arc-2018.03-rc2.tar.gz
+sha512  bea88164ed48733bad63393fe702e12e651efd113aa4f3fe2e253e05c4c1e5da20b5a99333f0b5528df6d32ce806f799211c568e1916845a87999901dde28817  binutils-arc-2018.03.tar.gz
diff --git a/package/binutils/binutils.mk b/package/binutils/binutils.mk
index 1c05958f9c..cb6022f7fa 100644
--- a/package/binutils/binutils.mk
+++ b/package/binutils/binutils.mk
@@ -9,13 +9,13 @@ 
 BINUTILS_VERSION = $(call qstrip,$(BR2_BINUTILS_VERSION))
 ifeq ($(BINUTILS_VERSION),)
 ifeq ($(BR2_arc),y)
-BINUTILS_VERSION = arc-2018.03-rc2
+BINUTILS_VERSION = arc-2018.03
 else
 BINUTILS_VERSION = 2.29.1
 endif
 endif # BINUTILS_VERSION
 
-ifeq ($(BINUTILS_VERSION),arc-2018.03-rc2)
+ifeq ($(BINUTILS_VERSION),arc-2018.03)
 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
diff --git a/package/gcc/Config.in.host b/package/gcc/Config.in.host
index c9a20f6d77..899a862dcc 100644
--- a/package/gcc/Config.in.host
+++ b/package/gcc/Config.in.host
@@ -81,7 +81,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.1.0"     if BR2_GCC_VERSION_8_X
-	default "arc-2018.03-rc2" if BR2_GCC_VERSION_ARC
+	default "arc-2018.03" 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-2018.03-rc2/0100-uclibc-conf.patch b/package/gcc/arc-2018.03/0100-uclibc-conf.patch
similarity index 100%
rename from package/gcc/arc-2018.03-rc2/0100-uclibc-conf.patch
rename to package/gcc/arc-2018.03/0100-uclibc-conf.patch
diff --git a/package/gcc/arc-2018.03-rc2/0860-cilk-fix-build-without-wchar.patch b/package/gcc/arc-2018.03/0860-cilk-fix-build-without-wchar.patch
similarity index 100%
rename from package/gcc/arc-2018.03-rc2/0860-cilk-fix-build-without-wchar.patch
rename to package/gcc/arc-2018.03/0860-cilk-fix-build-without-wchar.patch
diff --git a/package/gcc/arc-2018.03-rc2/0900-remove-selftests.patch b/package/gcc/arc-2018.03/0900-remove-selftests.patch
similarity index 100%
rename from package/gcc/arc-2018.03-rc2/0900-remove-selftests.patch
rename to package/gcc/arc-2018.03/0900-remove-selftests.patch
diff --git a/package/gcc/gcc.hash b/package/gcc/gcc.hash
index 6d2fcda13e..a6dddb0813 100644
--- a/package/gcc/gcc.hash
+++ b/package/gcc/gcc.hash
@@ -10,6 +10,6 @@  sha512  ad41a7e4584e40e92cdf860bc0288500fbaf5dfb7e8c3fcabe9eba809c87bcfa85b46c19
 sha512  c96246f34a7aeb404c4525b754dc7f7708a18e06271aadb2b32fef00e6e0940f584e52430bfe2ab01e699c93e3cb418adc113d2622fa826facbec0ec8ce3eb2c  gcc-8.1.0.tar.xz
 
 # Locally calculated (fetched from Github)
-sha512  a0faf2bb34f6c72b6460c6432639d89915cfc63456cfdf016896b3ef075655b2e9f26e745d841bbc38e776bc7a3729359cca88f1e4fb83489fa6775a3ccb55b8  gcc-arc-2018.03-rc2.tar.gz
+sha512  7c6555d629957d154c9c0524fc2c82301c9ab9192f5b9175c47b1f2dde298ac032e86360d91866c3c4d001cf8e191a90dc88f3c900ebfc367c5888ab7bf2ce79  gcc-arc-2018.03.tar.gz
 # Locally calculated (fetched from Github)
 sha512  2de7cf47333a4092b02d3bb98f4206f14966f1d139a724d09cf3b22f8a43ae0c704f33e6477d6367a03c29b265480dc900169e9d417006c5d46f0ae446b8c6f1  gcc-or1k-musl-5.4.0-20170218.tar.gz
diff --git a/package/gdb/Config.in.host b/package/gdb/Config.in.host
index 0011966d88..f5b9211ed8 100644
--- a/package/gdb/Config.in.host
+++ b/package/gdb/Config.in.host
@@ -74,7 +74,7 @@  endif
 # If cross-gdb is not enabled, the latest working version is chosen.
 config BR2_GDB_VERSION
 	string
-	default "arc-2018.03-rc2-gdb" if BR2_arc
+	default "arc-2018.03-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
diff --git a/package/gdb/gdb.hash b/package/gdb/gdb.hash
index cfbaac40f6..e53f903bf5 100644
--- a/package/gdb/gdb.hash
+++ b/package/gdb/gdb.hash
@@ -5,4 +5,4 @@  sha512  0ac8d0a495103611ef41167a08313a010dce6ca4c6d827cbe8558a0c1a1a8a6bfa53f1b7
 sha512  5eb328910033f0918058be2f92caebf1e8dfc6caa3c730d99d621627e53de3c1b43761c2f683d53555893253c2f06768cbf56cdea051a3d291ffb6cfae87b5e1	gdb-8.0.1.tar.xz
 
 # Locally calculated (fetched from Github)
-sha512  0c58dd3e8fff8b51a459aba78f4acd1beaa3427e00a63a7242827f22c6af157e4aea91ab754cdc021e0075a5bf2b70df903dba67dbff2415fd0f82c8aab99087 	gdb-arc-2018.03-rc2-gdb.tar.gz
+sha512  b17e4066730491f6a75b00eab78012f67cc445fe95ecd82c06cda7c1255190e6c471ac89b92f2fcdba4790b0046756b9cecf1f827537afcb44e1e578345852ad 	gdb-arc-2018.03-gdb.tar.gz
diff --git a/package/glibc/glibc.hash b/package/glibc/glibc.hash
index 1fab3a245c..81dd5ad5ed 100644
--- a/package/glibc/glibc.hash
+++ b/package/glibc/glibc.hash
@@ -1,7 +1,7 @@ 
 # Locally calculated (fetched from Github)
 sha256  33189b3f10c88730a1f686fac794bc01f31765f12ffd75bc5e8a0f2a690d217a     glibc-glibc-2.27-57-g6c99e37f6fb640a50a3113b2dbee5d5389843c1e.tar.gz
 # Locally calculated (fetched from Github)
-sha256  ddc63360393ab88ab6a4a0c81d33481f34c5a9ebd758eec2e6bb35385058b4cb     glibc-arc-2018.03-rc2.tar.gz
+sha256  e08ab67b2db2d0f0e8f3311d23c54fb8f6d4c1ef6fa0b4047fd5da400e3ce9de     glibc-arc-2018.03-release.tar.gz
 
 sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  COPYING
 sha256  dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551  COPYING.LIB
diff --git a/package/glibc/glibc.mk b/package/glibc/glibc.mk
index f764b5da9c..6d21ae7ac0 100644
--- a/package/glibc/glibc.mk
+++ b/package/glibc/glibc.mk
@@ -5,7 +5,7 @@ 
 ################################################################################
 
 ifeq ($(BR2_arc),y)
-GLIBC_VERSION =  arc-2018.03-rc2
+GLIBC_VERSION =  arc-2018.03-release
 GLIBC_SITE = $(call github,foss-for-synopsys-dwc-arc-processors,glibc,$(GLIBC_VERSION))
 else
 # Generate version string using: