eed1670d8a
Previously, it was possible to select an external toolchain that did not support the GCC arch tuning the user had selected. This is problematic because it can lead to confusing error messages during builds [0]. Now, external toolchain selections will be filtered to only those that support the required GCC version specified by the target arch tuning. Note: this patch does not touch the Bootlin toolchain config file as it is generated by a script. Additional note: there is "soft" support for toolchains prior to GCC 4.8 but there are no accompanying BR2_ARCH_NEEDS_GCC_AT_LEAST_X symbols. Instead of adding those, just use BR2_ARCH_NEEDS_GCC_AT_LEAST_4_8 which is the minimum GCC version with claimed support [1]. [0]: https://lists.buildroot.org/pipermail/buildroot/2023-August/671877.html [1]: https://buildroot.org/downloads/manual/manual.html#requirement-mandatory Signed-off-by: Vincent Fazio <vfazio@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
19 lines
643 B
Plaintext
19 lines
643 B
Plaintext
config BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC
|
|
bool "Synopsys ARC 2019.09 toolchain"
|
|
depends on BR2_arc
|
|
depends on BR2_HOSTARCH = "x86_64"
|
|
depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_10
|
|
select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
|
|
select BR2_INSTALL_LIBSTDCPP
|
|
select BR2_ENABLE_LOCALE
|
|
select BR2_USE_WCHAR
|
|
select BR2_TOOLCHAIN_HAS_THREADS
|
|
select BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
|
select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
|
|
select BR2_TOOLCHAIN_HAS_SSP
|
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_15
|
|
select BR2_TOOLCHAIN_GCC_AT_LEAST_9
|
|
help
|
|
Toolchain for the ARC cores, from
|
|
https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases
|