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>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
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_KERNEL_HEADERS_5_6
bool "kernel headers version 5.6.x are no longer supported"
select BR2_LEGACY
# 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.
# 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"
+++ /dev/null
-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.
+++ /dev/null
-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
+++ /dev/null
-# 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
+++ /dev/null
-################################################################################
-#
-# 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))