Update some external toolchains
cover Update some external toolchains
Hello,
This series updates the ARM external toolchains (ARM, AArch64 and AArch64 BE) as well as the Synopsys toolchains.
While at it, it adds some basic tests that at least ensure a minimal Buildroot build works with each of those toolchain variants. All tests are successful:
23:41:27 TestExternalToolchainSynopsysArcHSuClibcLE Starting 23:41:28 TestExternalToolchainSynopsysArcHSuClibcLE Building 23:42:23 TestExternalToolchainSynopsysArcHSuClibcLE Building done 23:42:23 TestExternalToolchainSynopsysArcHSuClibcLE Cleaning up .23:42:23 TestExternalToolchainSynopsysArcHSuClibcBE Starting 23:42:24 TestExternalToolchainSynopsysArcHSuClibcBE Building 23:43:18 TestExternalToolchainSynopsysArcHSuClibcBE Building done 23:43:18 TestExternalToolchainSynopsysArcHSuClibcBE Cleaning up .23:43:18 TestExternalToolchainSynopsysArcHSGlibcLE Starting 23:43:19 TestExternalToolchainSynopsysArcHSGlibcLE Building 23:44:16 TestExternalToolchainSynopsysArcHSGlibcLE Building done 23:44:16 TestExternalToolchainSynopsysArcHSGlibcLE Cleaning up .23:44:16 TestExternalToolchainSynopsysArcHSGlibcBE Starting 23:44:16 TestExternalToolchainSynopsysArcHSGlibcBE Building 23:45:13 TestExternalToolchainSynopsysArcHSGlibcBE Building done 23:45:13 TestExternalToolchainSynopsysArcHSGlibcBE Cleaning up
.23:45:13 TestExternalToolchainSynopsysArc700LE Starting
23:45:14 TestExternalToolchainSynopsysArc700LE Building 23:46:01 TestExternalToolchainSynopsysArc700LE Building done 23:46:01 TestExternalToolchainSynopsysArc700LE Cleaning up .23:46:01 TestExternalToolchainSynopsysArc700BE Starting 23:46:02 TestExternalToolchainSynopsysArc700BE Building 23:46:49 TestExternalToolchainSynopsysArc700BE Building done 23:46:49 TestExternalToolchainSynopsysArc700BE Cleaning up .23:46:49 TestExternalToolchainArmArm Starting 23:46:50 TestExternalToolchainArmArm Building 23:47:39 TestExternalToolchainArmArm Building done 23:47:39 TestExternalToolchainArmArm Cleaning up .23:47:39 TestExternalToolchainArmAarch64Be Starting 23:47:39 TestExternalToolchainArmAarch64Be Building 23:48:30 TestExternalToolchainArmAarch64Be Building done 23:48:30 TestExternalToolchainArmAarch64Be Cleaning up .23:48:30 TestExternalToolchainArmAarch64 Starting 23:48:31 TestExternalToolchainArmAarch64 Building 23:49:21 TestExternalToolchainArmAarch64 Building done 23:49:21 TestExternalToolchainArmAarch64 Cleaning up
.
----------------------------------------------------------------------
Ran 9 tests in 474.019s
OK
Thomas Petazzoni (7):
arch/Config.in: introduce BR2_ARCH_NEEDS_GCC_AT_LEAST_15 toolchain/toolchain-external/toolchain-external-arm-arm: bump to
13.3.rel1
toolchain/toolchain-external/toolchain-external-arm-aarch64: bump to
13.3.rel1
toolchain/toolchain-external/toolchain-external-arm-aarch64-be: bump
to 13.3.rel1
toolchain/toolchain-external/toolchain-external-synopsys-arc: bump to
2024.06 support/testing/tests/toolchain/test_external_arm.py: new test support/testing/tests/toolchain/test_external_synopsys.py: new test
DEVELOPERS | 2 + arch/Config.in | 4 + .../tests/toolchain/test_external_arm.py | 41 +++++++++ .../tests/toolchain/test_external_synopsys.py | 91 +++++++++++++++++++ .../Config.in | 2 +- .../toolchain-external-arm-aarch64-be.hash | 4 +- .../toolchain-external-arm-aarch64-be.mk | 2 +- .../toolchain-external-arm-aarch64/Config.in | 2 +- .../toolchain-external-arm-aarch64.hash | 4 +- .../toolchain-external-arm-aarch64.mk | 2 +- .../toolchain-external-arm-arm/Config.in | 6 +- .../toolchain-external-arm-arm.hash | 8 +- .../toolchain-external-arm-arm.mk | 2 +- .../toolchain-external-synopsys-arc/Config.in | 13 +-- .../Config.in.options | 32 +++++++ .../toolchain-external-synopsys-arc.hash | 12 ++- .../toolchain-external-synopsys-arc.mk | 13 ++- 17 files changed, 206 insertions(+), 34 deletions(-) create mode 100644 support/testing/tests/toolchain/test_external_arm.py create mode 100644 support/testing/tests/toolchain/test_external_synopsys.py
Signature · 6 lines
2.45.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 1/7 arch/Config.in: introduce BR2_ARCH_NEEDS_GCC_AT_LEAST_15
Since we're going to introduce external toolchains that are based on GCC 14.x, we will need them to "depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_15", so let's introduce this symbol first.
--- arch/Config.in | 4 ++++ 1 file changed, 4 insertions(+)
arch/Config.in +4 -0
@@ -312,6 +312,10 @@ config BR2_ARCH_NEEDS_GCC_AT_LEAST_14 bool select BR2_ARCH_NEEDS_GCC_AT_LEAST_13 +config BR2_ARCH_NEEDS_GCC_AT_LEAST_15 + bool + select BR2_ARCH_NEEDS_GCC_AT_LEAST_14 + # The following string values are defined by the individual # Config.in.$ARCH files config BR2_ARCH
Signature · 6 lines
2.45.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 2/7 toolchain/toolchain-external/toolchain-external-arm-arm: bump to 13.3.rel1
In reply to Thomas Petazzoni via buildroot--- .../toolchain-external-arm-arm/Config.in | 6 +++--- .../toolchain-external-arm-arm.hash | 8 ++++---- .../toolchain-external-arm-arm.mk | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-)
toolchain/toolchain-external/toolchain-external-arm-arm/Config.in +3 -3
@@ -3,7 +3,7 @@ comment "Arm toolchains available for Cortex-A with NEON + EABIhf" depends on !BR2_ARM_CPU_ARMV7A || !BR2_ARM_EABIHF || !BR2_ARM_CPU_HAS_NEON config BR2_TOOLCHAIN_EXTERNAL_ARM_ARM - bool "Arm ARM 13.2.rel1" + bool "Arm ARM 13.3.rel1" depends on BR2_arm depends on BR2_ARM_CPU_ARMV7A || BR2_ARM_CPU_ARMV8A depends on BR2_ARM_CPU_HAS_NEON
@@ -18,8 +18,8 @@ config BR2_TOOLCHAIN_EXTERNAL_ARM_ARM select BR2_TOOLCHAIN_HAS_FORTRAN select BR2_TOOLCHAIN_HAS_OPENMP help - Arm toolchain for the ARM architecture. It uses GCC 13.2, - GDB 13, glibc 2.38, Binutils 2.41. It generates code + Arm toolchain for the ARM architecture. It uses GCC 13.3, + GDB 14, glibc 2.38, Binutils 2.42. It generates code that runs on all Cortex-A profile devices. The code generated uses the hard floating point calling convention, and uses the NEON FPU instructions.
toolchain/toolchain-external/toolchain-external-arm-arm/toolchain-external-arm-arm.hash +4 -4
@@ -1,4 +1,4 @@ -# From https://developer.arm.com/-/media/Files/downloads/gnu/13.2.rel1/binrel/arm-gnu-toolchain-13.2.rel1-x86_64-arm-none-linux-gnueabihf.tar.xz.sha256asc -sha256 df0f4927a67d1fd366ff81e40bd8c385a9324fbdde60437a512d106215f257b3 arm-gnu-toolchain-13.2.rel1-x86_64-arm-none-linux-gnueabihf.tar.xz -# From https://developer.arm.com/-/media/Files/downloads/gnu/13.2.rel1/binrel/arm-gnu-toolchain-13.2.rel1-aarch64-arm-none-linux-gnueabihf.tar.xz.sha256asc -sha256 8ad384bb328bccc44396d85c8f8113b7b8c5e11bcfef322e77cda3ebe7baadb5 arm-gnu-toolchain-13.2.rel1-aarch64-arm-none-linux-gnueabihf.tar.xz +# From https://developer.arm.com/-/media/Files/downloads/gnu/13.3.rel1/binrel/arm-gnu-toolchain-13.3.rel1-x86_64-arm-none-linux-gnueabihf.tar.xz.sha256asc +sha256 560267bdecf966b7a48467d0af6c81a85b906ef7b0a9b9dd91f506184b940281 arm-gnu-toolchain-13.3.rel1-x86_64-arm-none-linux-gnueabihf.tar.xz +# From https://developer.arm.com/-/media/Files/downloads/gnu/13.3.rel1/binrel/arm-gnu-toolchain-13.3.rel1-aarch64-arm-none-linux-gnueabihf.tar.xz.sha256asc +sha256 377d11ec2b55c55306d435d3f2e3760f92efafa649393d5b6778457b3c8af1ab arm-gnu-toolchain-13.3.rel1-aarch64-arm-none-linux-gnueabihf.tar.xz
toolchain/toolchain-external/toolchain-external-arm-arm/toolchain-external-arm-arm.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -TOOLCHAIN_EXTERNAL_ARM_ARM_VERSION = 13.2.rel1 +TOOLCHAIN_EXTERNAL_ARM_ARM_VERSION = 13.3.rel1 TOOLCHAIN_EXTERNAL_ARM_ARM_SITE = https://developer.arm.com/-/media/Files/downloads/gnu/$(TOOLCHAIN_EXTERNAL_ARM_ARM_VERSION)/binrel TOOLCHAIN_EXTERNAL_ARM_ARM_SOURCE = arm-gnu-toolchain-$(TOOLCHAIN_EXTERNAL_ARM_ARM_VERSION)-$(HOSTARCH)-arm-none-linux-gnueabihf.tar.xz
Signature · 6 lines
2.45.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 3/7 toolchain/toolchain-external/toolchain-external-arm-aarch64: bump to 13.3.rel1
In reply to Thomas Petazzoni via buildroot--- .../toolchain-external-arm-aarch64/Config.in | 2 +- .../toolchain-external-arm-aarch64.hash | 4 ++-- .../toolchain-external-arm-aarch64.mk | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-)
toolchain/toolchain-external/toolchain-external-arm-aarch64/Config.in +1 -1
@@ -1,5 +1,5 @@ config BR2_TOOLCHAIN_EXTERNAL_ARM_AARCH64 - bool "Arm AArch64 13.2.rel1" + bool "Arm AArch64 13.3.rel1" depends on BR2_aarch64 depends on BR2_HOSTARCH = "x86_64" depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_13
toolchain/toolchain-external/toolchain-external-arm-aarch64/toolchain-external-arm-aarch64.hash +2 -2
@@ -1,2 +1,2 @@ -# From https://developer.arm.com/-/media/Files/downloads/gnu/13.2.rel1/binrel/arm-gnu-toolchain-13.2.rel1-x86_64-aarch64-none-linux-gnu.tar.xz.sha256asc -sha256 12fcdf13a7430655229b20438a49e8566e26551ba08759922cdaf4695b0d4e23 arm-gnu-toolchain-13.2.rel1-x86_64-aarch64-none-linux-gnu.tar.xz +# From https://developer.arm.com/-/media/Files/downloads/gnu/13.3.rel1/binrel/arm-gnu-toolchain-13.3.rel1-x86_64-aarch64-none-linux-gnu.tar.xz.sha256asc +sha256 322f0b4482fc0d9fa0bb468134841f08d8c554c54ff5aa29a13a7a24bf7e1eb5 arm-gnu-toolchain-13.3.rel1-x86_64-aarch64-none-linux-gnu.tar.xz
toolchain/toolchain-external/toolchain-external-arm-aarch64/toolchain-external-arm-aarch64.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -TOOLCHAIN_EXTERNAL_ARM_AARCH64_VERSION = 13.2.rel1 +TOOLCHAIN_EXTERNAL_ARM_AARCH64_VERSION = 13.3.rel1 TOOLCHAIN_EXTERNAL_ARM_AARCH64_SITE = https://developer.arm.com/-/media/Files/downloads/gnu/$(TOOLCHAIN_EXTERNAL_ARM_AARCH64_VERSION)/binrel TOOLCHAIN_EXTERNAL_ARM_AARCH64_SOURCE = arm-gnu-toolchain-$(TOOLCHAIN_EXTERNAL_ARM_AARCH64_VERSION)-x86_64-aarch64-none-linux-gnu.tar.xz
Signature · 6 lines
2.45.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 4/7 toolchain/toolchain-external/toolchain-external-arm-aarch64-be: bump to 13.3.rel1
In reply to Thomas Petazzoni via buildroot--- .../toolchain-external-arm-aarch64-be/Config.in | 2 +- .../toolchain-external-arm-aarch64-be.hash | 4 ++-- .../toolchain-external-arm-aarch64-be.mk | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-)
toolchain/toolchain-external/toolchain-external-arm-aarch64-be/Config.in +1 -1
@@ -1,5 +1,5 @@ config BR2_TOOLCHAIN_EXTERNAL_ARM_AARCH64_BE - bool "Arm AArch64 BE 13.2.rel1" + bool "Arm AArch64 BE 13.3.rel1" depends on BR2_aarch64_be depends on BR2_HOSTARCH = "x86_64" depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_13
toolchain/toolchain-external/toolchain-external-arm-aarch64-be/toolchain-external-arm-aarch64-be.hash +2 -2
@@ -1,2 +1,2 @@ -# From https://developer.arm.com/-/media/Files/downloads/gnu/13.2.rel1/binrel/arm-gnu-toolchain-13.2.rel1-x86_64-aarch64_be-none-linux-gnu.tar.xz.sha256asc -sha256 fe864b2b15127f58867a171cfcd639318609e734fbc8b78bb40258312a21a097 arm-gnu-toolchain-13.2.rel1-x86_64-aarch64_be-none-linux-gnu.tar.xz +# From https://developer.arm.com/-/media/Files/downloads/gnu/13.3.rel1/binrel/arm-gnu-toolchain-13.3.rel1-x86_64-aarch64_be-none-linux-gnu.tar.xz.sha256asc +sha256 55a2f073708c938ffe1d302859e5c3d6195b8bca3affa3d3aa6b2aafd79bf487 arm-gnu-toolchain-13.3.rel1-x86_64-aarch64_be-none-linux-gnu.tar.xz
toolchain/toolchain-external/toolchain-external-arm-aarch64-be/toolchain-external-arm-aarch64-be.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -TOOLCHAIN_EXTERNAL_ARM_AARCH64_BE_VERSION = 13.2.rel1 +TOOLCHAIN_EXTERNAL_ARM_AARCH64_BE_VERSION = 13.3.rel1 TOOLCHAIN_EXTERNAL_ARM_AARCH64_BE_SITE = https://developer.arm.com/-/media/Files/downloads/gnu/$(TOOLCHAIN_EXTERNAL_ARM_AARCH64_BE_VERSION)/binrel TOOLCHAIN_EXTERNAL_ARM_AARCH64_BE_SOURCE = arm-gnu-toolchain-$(TOOLCHAIN_EXTERNAL_ARM_AARCH64_BE_VERSION)-x86_64-aarch64_be-none-linux-gnu.tar.xz
Signature · 6 lines
2.45.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 5/7 toolchain/toolchain-external/toolchain-external-synopsys-arc: bump to 2024.06
In reply to Thomas Petazzoni via buildrootUntil now only one option was shown, and we were automatically selecting the ARC700/ARChs and LE/BE toolchains based on the architecture selection. However now, Synopsys offers glibc/uClibc toolchains, and we can't decide that automatically, so let's add an explicit choice for the user to chose between the different variants of Synopsys toolchains available.
--- .../toolchain-external-synopsys-arc/Config.in | 13 +++----- .../Config.in.options | 32 +++++++++++++++++++ .../toolchain-external-synopsys-arc.hash | 12 ++++--- .../toolchain-external-synopsys-arc.mk | 13 +++++--- 4 files changed, 52 insertions(+), 18 deletions(-)
toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in +4 -9
@@ -1,17 +1,12 @@ config BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC - bool "Synopsys ARC 2019.09 toolchain" + bool "Synopsys ARC 2024.06 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 + depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_15 select BR2_INSTALL_LIBSTDCPP - 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 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_16 + select BR2_TOOLCHAIN_GCC_AT_LEAST_14 help Toolchain for the ARC cores, from https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases
toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in.options +32 -0
@@ -1,5 +1,37 @@ if BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC +choice + prompt "Synopsys toolchain variant" + +config BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC700 + bool "Linux/uClibc ARC 700" + depends on BR2_arc750d || BR2_arc770d + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + select BR2_USE_WCHAR + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + +config BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARCHS_UCLIBC + bool "Linux/uClibc ARC HS" + depends on BR2_archs38_64mpy || BR2_archs38_full || \ + BR2_archs4x_rel31 || BR2_archs4x + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + 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_FORTRAN + +config BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARCHS_GLIBC + bool "Linux/glibc ARC 700" + depends on BR2_archs38_64mpy || BR2_archs38_full || \ + BR2_archs4x_rel31 || BR2_archs4x + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + select BR2_TOOLCHAIN_HAS_FORTRAN + +endchoice + config BR2_TOOLCHAIN_EXTERNAL_PREFIX default "arc-linux" if BR2_arcle default "arceb-linux" if BR2_arceb
toolchain/toolchain-external/toolchain-external-synopsys-arc/toolchain-external-synopsys-arc.hash +7 -5
@@ -1,5 +1,7 @@ -# From https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/tag/arc-2019.09-release -sha256 f7cbf68ef251943db7baf63535e0ec98dafbdf5d925017b4e1d4fc64d9b38a26 arc_gnu_2019.09_prebuilt_uclibc_le_arc700_linux_install.tar.gz -sha256 ac09f0a21f9d50146a5e542f4a6abc93e5a1dcb0a1372cb5c3ba86bbefaaec7d arc_gnu_2019.09_prebuilt_uclibc_be_arc700_linux_install.tar.gz -sha256 245ca49fe8ea2456617541b18bb96e52e6c0dc619f00e293fcaad519fc436c35 arc_gnu_2019.09_prebuilt_uclibc_le_archs_linux_install.tar.gz -sha256 6f039a0158c03af398ada31fae96009e47f0d7b7f7d52e12eb419492fc3f27e7 arc_gnu_2019.09_prebuilt_uclibc_be_archs_linux_install.tar.gz +# From https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/tag/arc-2024.06-release +sha256 080bbf8c0747d221314d04b0fcef89f91dc82710afa1aa66a88f04c93719663a arc_gnu_2024.06_prebuilt_uclibc_le_arc700_linux_install.tar.bz2 +sha256 37ad59b2624608cd126fab3a83a188edc18ad9e2bba8bbb778d46cdd49ad2ffe arc_gnu_2024.06_prebuilt_glibc_le_archs_linux_install.tar.bz2 +sha256 6867bc6f895c29b053020423923ead2054b8474816f1d067f2726b13e8ee16c0 arc_gnu_2024.06_prebuilt_uclibc_le_archs_linux_install.tar.bz2 +sha256 6efd9025e4b226bf1b4a4d448670e00f928e61e0051a0b209b7adaa327945a32 arc_gnu_2024.06_prebuilt_uclibc_be_arc700_linux_install.tar.bz2 +sha256 ae2ffb5fbe8d6002341dd87d005400010e85dfc1df1e8db070a19ab7300d738f arc_gnu_2024.06_prebuilt_glibc_be_archs_linux_install.tar.bz2 +sha256 892a576acdf962afafde345d2c830317cb14ff8ef95da7cadc79177c226db269 arc_gnu_2024.06_prebuilt_uclibc_be_archs_linux_install.tar.bz2
toolchain/toolchain-external/toolchain-external-synopsys-arc/toolchain-external-synopsys-arc.mk +9 -4
@@ -4,13 +4,18 @@ # ################################################################################ -TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_VERSION = 2019.09 +TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_VERSION = 2024.06 TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_SITE = https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/download/arc-$(TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_VERSION)-release -ifeq ($(BR2_arc750d)$(BR2_arc770d),y) +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC700),y) TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_CORE = arc700 -else +TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_LIBC = uclibc +else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARCHS_UCLIBC),y) +TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_CORE = archs +TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_LIBC = uclibc +else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARCHS_GLIBC),y) TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_CORE = archs +TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_LIBC = glibc endif ifeq ($(BR2_arcle),y)
@@ -19,6 +24,6 @@ else TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_ENDIANESS = be endif -TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_SOURCE = arc_gnu_$(TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_VERSION)_prebuilt_uclibc_$(TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_ENDIANESS)_$(TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_CORE)_linux_install.tar.gz +TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_SOURCE = arc_gnu_$(TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_VERSION)_prebuilt_$(TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_LIBC)_$(TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_ENDIANESS)_$(TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_CORE)_linux_install.tar.bz2 $(eval $(toolchain-external-package))
Signature · 6 lines
2.45.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Yann E. MORIN
AppliedRe: [Buildroot] [PATCH next 5/7] toolchain/toolchain-external/toolchain-external-synopsys-arc: bump to 2024.06
Thomas, All,
On 2024-08-10 23:56 +0200, Thomas Petazzoni via buildroot spake thusly:
Quoted 9 lines
Until now only one option was shown, and we were automatically selecting the ARC700/ARChs and LE/BE toolchains based on the architecture selection. However now, Synopsys offers glibc/uClibc toolchains, and we can't decide that automatically, so let's add an explicit choice for the user to chose between the different variants of Synopsys toolchains available.
Signed-off-by Thomas Petazzoni <[email protected]>---
[--SNIP--]
toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in.options line 7
Quoted 12 lines
toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in.options +5
-0@@ -1,5 +1,37 @@ if BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC +choice + prompt "Synopsys toolchain variant" + +config BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC700 + bool "Linux/uClibc ARC 700"
As discussed on IRC, this is the ARC 700 familly, so I kept it rather tha change to 7x0 (or 7xx) as we discussed. If that's wrong ARC experts can send a patch to fix the prompt.
Quoted 10 lines
toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in.options +10
-0+ depends on BR2_arc750d || BR2_arc770d + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + select BR2_USE_WCHAR + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + +config BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARCHS_UCLIBC + bool "Linux/uClibc ARC HS" + depends on BR2_archs38_64mpy || BR2_archs38_full || \
toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in.options line 27
Quoted 10 lines
toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in.options +10
-0+ BR2_archs4x_rel31 || BR2_archs4x + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + 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_FORTRAN + +config BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARCHS_GLIBC + bool "Linux/glibc ARC 700"
As discussed on IRC, that prompt was actualyl incorrect, as it really is for ARC HS, so I fixed that when applying.
Applied to next, thanks.
Regards,
Yann E. MORIN.
Quoted 68 lines
toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in.options +7
-0+ depends on BR2_archs38_64mpy || BR2_archs38_full || \ + BR2_archs4x_rel31 || BR2_archs4x + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + select BR2_TOOLCHAIN_HAS_FORTRAN + +endchoice + config BR2_TOOLCHAIN_EXTERNAL_PREFIX default "arc-linux" if BR2_arcle default "arceb-linux" if BR2_arcebtoolchain/toolchain-external/toolchain-external-synopsys-arc/toolchain-external-synopsys-arc.hash +7
-5@@ -1,5 +1,7 @@ -# From https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/tag/arc-2019.09-release -sha256 f7cbf68ef251943db7baf63535e0ec98dafbdf5d925017b4e1d4fc64d9b38a26 arc_gnu_2019.09_prebuilt_uclibc_le_arc700_linux_install.tar.gz -sha256 ac09f0a21f9d50146a5e542f4a6abc93e5a1dcb0a1372cb5c3ba86bbefaaec7d arc_gnu_2019.09_prebuilt_uclibc_be_arc700_linux_install.tar.gz -sha256 245ca49fe8ea2456617541b18bb96e52e6c0dc619f00e293fcaad519fc436c35 arc_gnu_2019.09_prebuilt_uclibc_le_archs_linux_install.tar.gz -sha256 6f039a0158c03af398ada31fae96009e47f0d7b7f7d52e12eb419492fc3f27e7 arc_gnu_2019.09_prebuilt_uclibc_be_archs_linux_install.tar.gz +# From https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/tag/arc-2024.06-release +sha256 080bbf8c0747d221314d04b0fcef89f91dc82710afa1aa66a88f04c93719663a arc_gnu_2024.06_prebuilt_uclibc_le_arc700_linux_install.tar.bz2 +sha256 37ad59b2624608cd126fab3a83a188edc18ad9e2bba8bbb778d46cdd49ad2ffe arc_gnu_2024.06_prebuilt_glibc_le_archs_linux_install.tar.bz2 +sha256 6867bc6f895c29b053020423923ead2054b8474816f1d067f2726b13e8ee16c0 arc_gnu_2024.06_prebuilt_uclibc_le_archs_linux_install.tar.bz2 +sha256 6efd9025e4b226bf1b4a4d448670e00f928e61e0051a0b209b7adaa327945a32 arc_gnu_2024.06_prebuilt_uclibc_be_arc700_linux_install.tar.bz2 +sha256 ae2ffb5fbe8d6002341dd87d005400010e85dfc1df1e8db070a19ab7300d738f arc_gnu_2024.06_prebuilt_glibc_be_archs_linux_install.tar.bz2 +sha256 892a576acdf962afafde345d2c830317cb14ff8ef95da7cadc79177c226db269 arc_gnu_2024.06_prebuilt_uclibc_be_archs_linux_install.tar.bz2toolchain/toolchain-external/toolchain-external-synopsys-arc/toolchain-external-synopsys-arc.mk +9
-4@@ -4,13 +4,18 @@ # ################################################################################ -TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_VERSION = 2019.09 +TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_VERSION = 2024.06 TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_SITE = https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/download/arc-$(TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_VERSION)-release -ifeq ($(BR2_arc750d)$(BR2_arc770d),y) +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC700),y) TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_CORE = arc700 -else +TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_LIBC = uclibc +else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARCHS_UCLIBC),y) +TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_CORE = archs +TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_LIBC = uclibc +else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARCHS_GLIBC),y) TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_CORE = archs +TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_LIBC = glibc endif ifeq ($(BR2_arcle),y)@@ -19,6 +24,6 @@ else TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_ENDIANESS = be endif -TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_SOURCE = arc_gnu_$(TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_VERSION)_prebuilt_uclibc_$(TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_ENDIANESS)_$(TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_CORE)_linux_install.tar.gz +TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_SOURCE = arc_gnu_$(TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_VERSION)_prebuilt_$(TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_LIBC)_$(TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_ENDIANESS)_$(TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_CORE)_linux_install.tar.bz2 $(eval $(toolchain-external-package))Signature · 6 lines
2.45.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 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. | '------------------------------^-------^------------------^--------------------' _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 6/7 support/testing/tests/toolchain/test_external_arm.py: new test
In reply to Thomas Petazzoni via buildrootTest the 3 ARM toolchains: ARM, AArch64 and AArch64 BE.
--- DEVELOPERS | 1 + .../tests/toolchain/test_external_arm.py | 41 +++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 support/testing/tests/toolchain/test_external_arm.py
DEVELOPERS +1 -0
@@ -3190,6 +3190,7 @@ F: support/testing/tests/package/test_python_flask.py F: support/testing/tests/package/test_python_flask_expects_json.py F: support/testing/tests/package/test_python_git.py F: support/testing/tests/package/test_python_unittest_xml_reporting.py +F: support/testing/tests/toolchain/test_external_arm.py F: toolchain/ N: Timo Ketola <[email protected]>
support/testing/tests/toolchain/test_external_arm.py new file +41 -0
41 lines not on this page · raw message
Signature · 6 lines
2.45.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 7/7 support/testing/tests/toolchain/test_external_synopsys.py: new test
In reply to Thomas Petazzoni via buildrootTest the 6 combinations of Synopsys toolchains.
--- DEVELOPERS | 1 + .../tests/toolchain/test_external_synopsys.py | 91 +++++++++++++++++++ 2 files changed, 92 insertions(+) create mode 100644 support/testing/tests/toolchain/test_external_synopsys.py
DEVELOPERS +1 -0
@@ -3191,6 +3191,7 @@ F: support/testing/tests/package/test_python_flask_expects_json.py F: support/testing/tests/package/test_python_git.py F: support/testing/tests/package/test_python_unittest_xml_reporting.py F: support/testing/tests/toolchain/test_external_arm.py +F: support/testing/tests/toolchain/test_external_synopsys.py F: toolchain/ N: Timo Ketola <[email protected]>
support/testing/tests/toolchain/test_external_synopsys.py new file +91 -0
91 lines not on this page · raw message
Signature · 6 lines
2.45.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas, All,
On 2024-08-10 23:56 +0200, Thomas Petazzoni via buildroot spake thusly:
Quoted 2 lines
This series updates the ARM external toolchains (ARM, AArch64 and AArch64 BE) as well as the Synopsys toolchains.
[--SNIP--]
Quoted 10 lines
Thomas Petazzoni (7):
arch/Config.in: introduceBR2_ARCH_NEEDS_GCC_AT_LEAST_15toolchain/toolchain-external/toolchain-external-arm-arm: bump to13.3.rel1 toolchain/toolchain-external/toolchain-external-arm-aarch64: bump to 13.3.rel1 toolchain/toolchain-external/toolchain-external-arm-aarch64-be: bump to 13.3.rel1 toolchain/toolchain-external/toolchain-external-synopsys-arc: bump to 2024.06
I'll further reply on that patch.
Series applied to next, thanks.
Regards,
Yann E. MORIN.
Quoted 31 lines
support/testing/tests/toolchain/test_external_arm.py: new testsupport/testing/tests/toolchain/test_external_synopsys.py: new testDEVELOPERS | 2 + arch/Config.in | 4 + .../tests/toolchain/test_external_arm.py | 41 +++++++++ .../tests/toolchain/test_external_synopsys.py | 91 +++++++++++++++++++ .../Config.in | 2 +- .../toolchain-external-arm-aarch64-be.hash | 4 +- .../toolchain-external-arm-aarch64-be.mk | 2 +- .../toolchain-external-arm-aarch64/Config.in | 2 +- .../toolchain-external-arm-aarch64.hash | 4 +- .../toolchain-external-arm-aarch64.mk | 2 +- .../toolchain-external-arm-arm/Config.in | 6 +- .../toolchain-external-arm-arm.hash | 8 +- .../toolchain-external-arm-arm.mk | 2 +- .../toolchain-external-synopsys-arc/Config.in | 13 +-- .../Config.in.options | 32 +++++++ .../toolchain-external-synopsys-arc.hash | 12 ++- .../toolchain-external-synopsys-arc.mk | 13 ++- 17 files changed, 206 insertions(+), 34 deletions(-) create mode 100644 support/testing/tests/toolchain/test_external_arm.py create mode 100644 support/testing/tests/toolchain/test_external_synopsys.pySignature · 6 lines
2.45.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 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. | '------------------------------^-------^------------------^--------------------' _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot