support/config-fragments/autobuild: stop testing Sourcery AMD64 toolchain
PATCH 1/3 support/config-fragments/autobuild: stop testing Sourcery AMD64 toolchain
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.
--- 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
support/config-fragments/autobuild/sourcery-x86-64.config deleted +0 -4
@@ -1,4 +0,0 @@ -BR2_x86_64=y -BR2_x86_steamroller=y -BR2_TOOLCHAIN_EXTERNAL=y -BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AMD64=y
support/config-fragments/autobuild/toolchain-configs.csv +0 -1
@@ -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
Signature · 1 line
2.26.2
PATCH 2/3 toolchain/toolchain-external/toolchain-external-codesourcery-amd64: remove package
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/
--- 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
Config.in.legacy +11 -0
@@ -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
toolchain/toolchain-external/Config.in +0 -6
@@ -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"
toolchain/toolchain-external/toolchain-external-codesourcery-amd64/Config.in deleted +0 -28
@@ -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.
toolchain/toolchain-external/toolchain-external-codesourcery-amd64/Config.in.options deleted +0 -9
@@ -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
toolchain/toolchain-external/toolchain-external-codesourcery-amd64/toolchain-external-codesourcery-amd64.hash deleted +0 -3
@@ -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
toolchain/toolchain-external/toolchain-external-codesourcery-amd64/toolchain-external-codesourcery-amd64.mk deleted +0 -12
@@ -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))
Signature · 1 line
2.26.2
PATCH 3/3 support/config-fragments/autobuild: test Bootlin x86-64 toolchain
In reply to Thomas PetazzoniAs 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.
--- .../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
support/config-fragments/autobuild/bootlin-x86-64-glibc.config new file +15 -0
@@ -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
support/config-fragments/autobuild/toolchain-configs.csv +1 -0
@@ -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
Signature · 1 line
2.26.2
PATCH 1/3 support/config-fragments/autobuild: stop testing Sourcery AMD64 toolchain
In reply to Thomas PetazzoniThomas, All,
On 2020-08-23 13:15 +0200, Thomas Petazzoni spake thusly:
Quoted 7 lines
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 <[email protected]>
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.
Quoted 28 lines
--- 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.configsupport/config-fragments/autobuild/sourcery-x86-64.config deleted +0
-4@@ -1,4 +0,0 @@ -BR2_x86_64=y -BR2_x86_steamroller=y -BR2_TOOLCHAIN_EXTERNAL=y -BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AMD64=ysupport/config-fragments/autobuild/toolchain-configs.csv +0
-1@@ -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,x86Signature · 1 line
2.26.2
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | 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. | '------------------------------^-------^------------------^--------------------'