All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/3] support/config-fragments/autobuild: stop testing Sourcery AMD64 toolchain
@ 2020-08-23 11:15 Thomas Petazzoni
  2020-08-23 11:15 ` [Buildroot] [PATCH 2/3] toolchain/toolchain-external/toolchain-external-codesourcery-amd64: remove package Thomas Petazzoni
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2020-08-23 11:15 UTC (permalink / raw)
  To: buildroot

This toolchain uses an old gcc 6.2.0, and newer versions of the
toolchain are no longer publicly available. This old gcc 6.2.0 causes
build issues of Boost, which are unfixable without updating the
toolchain. As we're about to drop support for this toolchain entirely,
we must stop testing it in our autobuilder infrastructure.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
 support/config-fragments/autobuild/sourcery-x86-64.config | 4 ----
 support/config-fragments/autobuild/toolchain-configs.csv  | 1 -
 2 files changed, 5 deletions(-)
 delete mode 100644 support/config-fragments/autobuild/sourcery-x86-64.config

diff --git a/support/config-fragments/autobuild/sourcery-x86-64.config b/support/config-fragments/autobuild/sourcery-x86-64.config
deleted file mode 100644
index 6c7ad4c5b7..0000000000
--- a/support/config-fragments/autobuild/sourcery-x86-64.config
+++ /dev/null
@@ -1,4 +0,0 @@
-BR2_x86_64=y
-BR2_x86_steamroller=y
-BR2_TOOLCHAIN_EXTERNAL=y
-BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AMD64=y
diff --git a/support/config-fragments/autobuild/toolchain-configs.csv b/support/config-fragments/autobuild/toolchain-configs.csv
index 7f05064475..eaaac3d24b 100644
--- a/support/config-fragments/autobuild/toolchain-configs.csv
+++ b/support/config-fragments/autobuild/toolchain-configs.csv
@@ -69,4 +69,3 @@ support/config-fragments/autobuild/sourcery-arm-thumb2.config,x86
 support/config-fragments/autobuild/sourcery-mips64.config,x86
 support/config-fragments/autobuild/sourcery-mips.config,x86
 support/config-fragments/autobuild/sourcery-nios2.config,x86
-support/config-fragments/autobuild/sourcery-x86-64.config,x86
-- 
2.26.2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 2/3] toolchain/toolchain-external/toolchain-external-codesourcery-amd64: remove package
  2020-08-23 11:15 [Buildroot] [PATCH 1/3] support/config-fragments/autobuild: stop testing Sourcery AMD64 toolchain Thomas Petazzoni
@ 2020-08-23 11:15 ` Thomas Petazzoni
  2020-08-23 11:15 ` [Buildroot] [PATCH 3/3] support/config-fragments/autobuild: test Bootlin x86-64 toolchain Thomas Petazzoni
  2020-08-24 21:38 ` [Buildroot] [PATCH 1/3] support/config-fragments/autobuild: stop testing Sourcery AMD64 toolchain Yann E. MORIN
  2 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2020-08-23 11:15 UTC (permalink / raw)
  To: buildroot

This toolchain uses an old gcc 6.2.0 compiler (not even the latest gcc
from the 6.x series), which fails to build the recent Boost
package. Since newer versions of this toolchain are no longer made
publicly available from Mentor Graphics, our only option is to drop
the toolchain.

Fixes:

  http://autobuild.buildroot.net/results/10edaed22c15b9d0f7de187085aeebc96e5ebe6c/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
 Config.in.legacy                              | 11 ++++++++
 toolchain/toolchain-external/Config.in        |  6 ----
 .../Config.in                                 | 28 -------------------
 .../Config.in.options                         |  9 ------
 ...toolchain-external-codesourcery-amd64.hash |  3 --
 .../toolchain-external-codesourcery-amd64.mk  | 12 --------
 6 files changed, 11 insertions(+), 58 deletions(-)
 delete mode 100644 toolchain/toolchain-external/toolchain-external-codesourcery-amd64/Config.in
 delete mode 100644 toolchain/toolchain-external/toolchain-external-codesourcery-amd64/Config.in.options
 delete mode 100644 toolchain/toolchain-external/toolchain-external-codesourcery-amd64/toolchain-external-codesourcery-amd64.hash
 delete mode 100644 toolchain/toolchain-external/toolchain-external-codesourcery-amd64/toolchain-external-codesourcery-amd64.mk

diff --git a/Config.in.legacy b/Config.in.legacy
index cf7aaf75a5..7bff4913dc 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -146,6 +146,17 @@ endif
 
 comment "Legacy options removed in 2020.08"
 
+config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AMD64
+	bool "toolchain-external-codesourcery-amd64 removed"
+	select BR2_LEGACY
+	help
+	  The CodeSourcery toolchain for AMD64, in version 2016.11 was
+	  dropped, due to it using a too old gcc 6.2.0 compiler which
+	  caused issues compiling a number of recent packages
+	  (e.g. Boost). CodeSourcery has stopped making newer versions
+	  of this toolchain publicly available, so it was not possible
+	  to update it.
+
 config BR2_PACKAGE_EFL_GIF
 	bool "efl evas gif loader is mandatory"
 	select BR2_LEGACY
diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in
index 128bea257e..424ffec683 100644
--- a/toolchain/toolchain-external/Config.in
+++ b/toolchain/toolchain-external/Config.in
@@ -42,9 +42,6 @@ source "toolchain/toolchain-external/toolchain-external-codescape-mti-mips/Confi
 # NIOSII
 source "toolchain/toolchain-external/toolchain-external-codesourcery-niosII/Config.in"
 
-# x86_64
-source "toolchain/toolchain-external/toolchain-external-codesourcery-amd64/Config.in"
-
 # Kept last, so it remains the non-default choice, unless there isn't
 # any available toolchain profile for the currently selected
 # architecture, but before toolchains from br2-external trees.
@@ -149,9 +146,6 @@ source "toolchain/toolchain-external/toolchain-external-codescape-mti-mips/Confi
 # NIOSII
 source "toolchain/toolchain-external/toolchain-external-codesourcery-niosII/Config.in.options"
 
-# x86_64
-source "toolchain/toolchain-external/toolchain-external-codesourcery-amd64/Config.in.options"
-
 # Custom toolchains
 source "toolchain/toolchain-external/toolchain-external-custom/Config.in.options"
 
diff --git a/toolchain/toolchain-external/toolchain-external-codesourcery-amd64/Config.in b/toolchain/toolchain-external/toolchain-external-codesourcery-amd64/Config.in
deleted file mode 100644
index c8ec970a4f..0000000000
--- a/toolchain/toolchain-external/toolchain-external-codesourcery-amd64/Config.in
+++ /dev/null
@@ -1,28 +0,0 @@
-config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AMD64
-	bool "Sourcery CodeBench AMD64 2016.11"
-	depends on BR2_x86_64
-	depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_7
-	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
-	depends on !BR2_STATIC_LIBS
-	depends on BR2_x86_jaguar || BR2_x86_steamroller
-	select BR2_TOOLCHAIN_EXTERNAL_GLIBC
-	select BR2_TOOLCHAIN_HAS_SSP
-	select BR2_TOOLCHAIN_HAS_NATIVE_RPC
-	select BR2_TOOLCHAIN_HAS_OPENMP
-	select BR2_INSTALL_LIBSTDCPP
-	select BR2_HOSTARCH_NEEDS_IA32_LIBS
-	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7
-	select BR2_TOOLCHAIN_GCC_AT_LEAST_6
-	select BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19615 # based-on binutils-2.26
-	select BR2_TOOLCHAIN_HAS_BINUTILS_BUG_20006 # based-on binutils-2.26
-	help
-	  Sourcery CodeBench toolchain for the amd64 (x86_64)
-	  architectures, from Mentor Graphics. It uses gcc 6.2,
-	  binutils 2.26, glibc 2.24, gdb 7.11 and kernel headers
-	  4.7. It has support for the following variants:
-	    - AMD Puma/Jaguar (family 16h), glibc
-	    Default for x86_64, nothing special to do.
-	    - AMD Steamroller (family 15h), glibc
-	    Select a steamroller core.
-	  No other architecture variants are supported since glibc
-	  is optimized for one of these two baselines.
diff --git a/toolchain/toolchain-external/toolchain-external-codesourcery-amd64/Config.in.options b/toolchain/toolchain-external/toolchain-external-codesourcery-amd64/Config.in.options
deleted file mode 100644
index 2ab23026e9..0000000000
--- a/toolchain/toolchain-external/toolchain-external-codesourcery-amd64/Config.in.options
+++ /dev/null
@@ -1,9 +0,0 @@
-if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AMD64
-
-config BR2_TOOLCHAIN_EXTERNAL_PREFIX
-	default "x86_64-amd-linux-gnu"
-
-config BR2_PACKAGE_PROVIDES_TOOLCHAIN_EXTERNAL
-	default "toolchain-external-codesourcery-amd64"
-
-endif
diff --git a/toolchain/toolchain-external/toolchain-external-codesourcery-amd64/toolchain-external-codesourcery-amd64.hash b/toolchain/toolchain-external/toolchain-external-codesourcery-amd64/toolchain-external-codesourcery-amd64.hash
deleted file mode 100644
index 291e6a59f6..0000000000
--- a/toolchain/toolchain-external/toolchain-external-codesourcery-amd64/toolchain-external-codesourcery-amd64.hash
+++ /dev/null
@@ -1,3 +0,0 @@
-# Locally calculated
-sha256 a6c23837dd45a33866c60a2fd8d7af40520cd84ff1059abda797952d7ee0fafd  amd-2016.11-19-x86_64-amd-linux-gnu-i686-pc-linux-gnu.tar.bz2
-sha256 d61ce0b5648ad63cca16fe233c82e7eaa6a3212a549d69a527e7a2d5350f7b4a  amd-2016.11-19-x86_64-amd-linux-gnu.src.tar.bz2
diff --git a/toolchain/toolchain-external/toolchain-external-codesourcery-amd64/toolchain-external-codesourcery-amd64.mk b/toolchain/toolchain-external/toolchain-external-codesourcery-amd64/toolchain-external-codesourcery-amd64.mk
deleted file mode 100644
index 1697e5e679..0000000000
--- a/toolchain/toolchain-external/toolchain-external-codesourcery-amd64/toolchain-external-codesourcery-amd64.mk
+++ /dev/null
@@ -1,12 +0,0 @@
-################################################################################
-#
-# toolchain-external-codesourcery-amd64
-#
-################################################################################
-
-TOOLCHAIN_EXTERNAL_CODESOURCERY_AMD64_SITE = https://sourcery.mentor.com/public/gnu_toolchain/$(TOOLCHAIN_EXTERNAL_PREFIX)
-TOOLCHAIN_EXTERNAL_CODESOURCERY_AMD64_VERSION = 2016.11-19
-TOOLCHAIN_EXTERNAL_CODESOURCERY_AMD64_SOURCE = amd-$(TOOLCHAIN_EXTERNAL_CODESOURCERY_AMD64_VERSION)-$(TOOLCHAIN_EXTERNAL_PREFIX)-i686-pc-linux-gnu.tar.bz2
-TOOLCHAIN_EXTERNAL_CODESOURCERY_AMD64_ACTUAL_SOURCE_TARBALL = amd-$(TOOLCHAIN_EXTERNAL_CODESOURCERY_AMD64_VERSION)-$(TOOLCHAIN_EXTERNAL_PREFIX).src.tar.bz2
-
-$(eval $(toolchain-external-package))
-- 
2.26.2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 3/3] support/config-fragments/autobuild: test Bootlin x86-64 toolchain
  2020-08-23 11:15 [Buildroot] [PATCH 1/3] support/config-fragments/autobuild: stop testing Sourcery AMD64 toolchain Thomas Petazzoni
  2020-08-23 11:15 ` [Buildroot] [PATCH 2/3] toolchain/toolchain-external/toolchain-external-codesourcery-amd64: remove package Thomas Petazzoni
@ 2020-08-23 11:15 ` Thomas Petazzoni
  2020-08-24 21:38 ` [Buildroot] [PATCH 1/3] support/config-fragments/autobuild: stop testing Sourcery AMD64 toolchain Yann E. MORIN
  2 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2020-08-23 11:15 UTC (permalink / raw)
  To: buildroot

As we recently stopped testing the x86-64 Sourcery toolchain, it means
we no longer have any x86-64 glibc based toolchain in our
autobuilders. Since this is a pretty common configuration, it makes
sense to test it, which this commit does by adding a config fragment
to use the x86-64 glibc bleeding edge Bootlin toolchain.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
 .../autobuild/bootlin-x86-64-glibc.config         | 15 +++++++++++++++
 .../autobuild/toolchain-configs.csv               |  1 +
 2 files changed, 16 insertions(+)
 create mode 100644 support/config-fragments/autobuild/bootlin-x86-64-glibc.config

diff --git a/support/config-fragments/autobuild/bootlin-x86-64-glibc.config b/support/config-fragments/autobuild/bootlin-x86-64-glibc.config
new file mode 100644
index 0000000000..6a372803b2
--- /dev/null
+++ b/support/config-fragments/autobuild/bootlin-x86-64-glibc.config
@@ -0,0 +1,15 @@
+BR2_x86_64=y
+BR2_x86_corei7=y
+BR2_TOOLCHAIN_EXTERNAL=y
+BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y
+BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
+BR2_TOOLCHAIN_EXTERNAL_URL="http://toolchains.bootlin.com/downloads/releases/toolchains/x86-64-core-i7/tarballs/x86-64-core-i7--glibc--bleeding-edge-2020.02-2.tar.bz2"
+BR2_TOOLCHAIN_EXTERNAL_GCC_9=y
+BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_19=y
+# BR2_TOOLCHAIN_EXTERNAL_LOCALE is not set
+BR2_TOOLCHAIN_EXTERNAL_CXX=y
+BR2_TOOLCHAIN_EXTERNAL_HAS_SSP=y
+BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG=y
+BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS=y
+BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_NPTL=y
+BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC=y
diff --git a/support/config-fragments/autobuild/toolchain-configs.csv b/support/config-fragments/autobuild/toolchain-configs.csv
index eaaac3d24b..5b8b9da7e7 100644
--- a/support/config-fragments/autobuild/toolchain-configs.csv
+++ b/support/config-fragments/autobuild/toolchain-configs.csv
@@ -24,6 +24,7 @@ support/config-fragments/autobuild/sourcery-arm.config,x86
 # Toolchains used by test-pkg only when the '-a' option is passed:
 support/config-fragments/autobuild/andes-nds32.config,x86
 support/config-fragments/autobuild/arm-aarch64.config,x86_64
+support/config-fragments/autobuild/bootlin-x86-64-glibc.config,x86_64
 support/config-fragments/autobuild/br-aarch64-glibc.config,x86_64
 support/config-fragments/autobuild/br-arc-full-internal.config,any
 support/config-fragments/autobuild/br-arc-internal-glibc.config,any
-- 
2.26.2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 1/3] support/config-fragments/autobuild: stop testing Sourcery AMD64 toolchain
  2020-08-23 11:15 [Buildroot] [PATCH 1/3] support/config-fragments/autobuild: stop testing Sourcery AMD64 toolchain Thomas Petazzoni
  2020-08-23 11:15 ` [Buildroot] [PATCH 2/3] toolchain/toolchain-external/toolchain-external-codesourcery-amd64: remove package Thomas Petazzoni
  2020-08-23 11:15 ` [Buildroot] [PATCH 3/3] support/config-fragments/autobuild: test Bootlin x86-64 toolchain Thomas Petazzoni
@ 2020-08-24 21:38 ` Yann E. MORIN
  2 siblings, 0 replies; 4+ messages in thread
From: Yann E. MORIN @ 2020-08-24 21:38 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2020-08-23 13:15 +0200, Thomas Petazzoni spake thusly:
> This toolchain uses an old gcc 6.2.0, and newer versions of the
> toolchain are no longer publicly available. This old gcc 6.2.0 causes
> build issues of Boost, which are unfixable without updating the
> toolchain. As we're about to drop support for this toolchain entirely,
> we must stop testing it in our autobuilder infrastructure.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>

All three applied to master.

Initially, I was not too keen on doing so so late in the freeze window,
but there is no alternative solution...

Thanks.

Regards,
Yann E. MORIN.

> ---
>  support/config-fragments/autobuild/sourcery-x86-64.config | 4 ----
>  support/config-fragments/autobuild/toolchain-configs.csv  | 1 -
>  2 files changed, 5 deletions(-)
>  delete mode 100644 support/config-fragments/autobuild/sourcery-x86-64.config
> 
> diff --git a/support/config-fragments/autobuild/sourcery-x86-64.config b/support/config-fragments/autobuild/sourcery-x86-64.config
> deleted file mode 100644
> index 6c7ad4c5b7..0000000000
> --- a/support/config-fragments/autobuild/sourcery-x86-64.config
> +++ /dev/null
> @@ -1,4 +0,0 @@
> -BR2_x86_64=y
> -BR2_x86_steamroller=y
> -BR2_TOOLCHAIN_EXTERNAL=y
> -BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AMD64=y
> diff --git a/support/config-fragments/autobuild/toolchain-configs.csv b/support/config-fragments/autobuild/toolchain-configs.csv
> index 7f05064475..eaaac3d24b 100644
> --- a/support/config-fragments/autobuild/toolchain-configs.csv
> +++ b/support/config-fragments/autobuild/toolchain-configs.csv
> @@ -69,4 +69,3 @@ support/config-fragments/autobuild/sourcery-arm-thumb2.config,x86
>  support/config-fragments/autobuild/sourcery-mips64.config,x86
>  support/config-fragments/autobuild/sourcery-mips.config,x86
>  support/config-fragments/autobuild/sourcery-nios2.config,x86
> -support/config-fragments/autobuild/sourcery-x86-64.config,x86
> -- 
> 2.26.2
> 

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-08-24 21:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-23 11:15 [Buildroot] [PATCH 1/3] support/config-fragments/autobuild: stop testing Sourcery AMD64 toolchain Thomas Petazzoni
2020-08-23 11:15 ` [Buildroot] [PATCH 2/3] toolchain/toolchain-external/toolchain-external-codesourcery-amd64: remove package Thomas Petazzoni
2020-08-23 11:15 ` [Buildroot] [PATCH 3/3] support/config-fragments/autobuild: test Bootlin x86-64 toolchain Thomas Petazzoni
2020-08-24 21:38 ` [Buildroot] [PATCH 1/3] support/config-fragments/autobuild: stop testing Sourcery AMD64 toolchain Yann E. MORIN

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.