* [Buildroot] [PATCH next 0/7] Update some external toolchains
@ 2024-08-10 21:56 Thomas Petazzoni via buildroot
2024-08-10 21:56 ` [Buildroot] [PATCH next 1/7] arch/Config.in: introduce BR2_ARCH_NEEDS_GCC_AT_LEAST_15 Thomas Petazzoni via buildroot
` (7 more replies)
0 siblings, 8 replies; 10+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-08-10 21:56 UTC (permalink / raw)
To: buildroot; +Cc: Thomas Petazzoni
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
--
2.45.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH next 1/7] arch/Config.in: introduce BR2_ARCH_NEEDS_GCC_AT_LEAST_15
2024-08-10 21:56 [Buildroot] [PATCH next 0/7] Update some external toolchains Thomas Petazzoni via buildroot
@ 2024-08-10 21:56 ` Thomas Petazzoni via buildroot
2024-08-10 21:56 ` [Buildroot] [PATCH next 2/7] toolchain/toolchain-external/toolchain-external-arm-arm: bump to 13.3.rel1 Thomas Petazzoni via buildroot
` (6 subsequent siblings)
7 siblings, 0 replies; 10+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-08-10 21:56 UTC (permalink / raw)
To: buildroot; +Cc: Thomas Petazzoni
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.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
arch/Config.in | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/Config.in b/arch/Config.in
index f39c33ef7f..2e7ac080ef 100644
--- a/arch/Config.in
+++ b/arch/Config.in
@@ -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
--
2.45.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH next 2/7] toolchain/toolchain-external/toolchain-external-arm-arm: bump to 13.3.rel1
2024-08-10 21:56 [Buildroot] [PATCH next 0/7] Update some external toolchains Thomas Petazzoni via buildroot
2024-08-10 21:56 ` [Buildroot] [PATCH next 1/7] arch/Config.in: introduce BR2_ARCH_NEEDS_GCC_AT_LEAST_15 Thomas Petazzoni via buildroot
@ 2024-08-10 21:56 ` Thomas Petazzoni via buildroot
2024-08-10 21:56 ` [Buildroot] [PATCH next 3/7] toolchain/toolchain-external/toolchain-external-arm-aarch64: " Thomas Petazzoni via buildroot
` (5 subsequent siblings)
7 siblings, 0 replies; 10+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-08-10 21:56 UTC (permalink / raw)
To: buildroot; +Cc: Romain Naour, Giulio Benetti, Thomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
.../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(-)
diff --git a/toolchain/toolchain-external/toolchain-external-arm-arm/Config.in b/toolchain/toolchain-external/toolchain-external-arm-arm/Config.in
index bee8d61164..b110885a96 100644
--- a/toolchain/toolchain-external/toolchain-external-arm-arm/Config.in
+++ b/toolchain/toolchain-external/toolchain-external-arm-arm/Config.in
@@ -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.
diff --git a/toolchain/toolchain-external/toolchain-external-arm-arm/toolchain-external-arm-arm.hash b/toolchain/toolchain-external/toolchain-external-arm-arm/toolchain-external-arm-arm.hash
index e979e5f508..6d4facfdad 100644
--- a/toolchain/toolchain-external/toolchain-external-arm-arm/toolchain-external-arm-arm.hash
+++ b/toolchain/toolchain-external/toolchain-external-arm-arm/toolchain-external-arm-arm.hash
@@ -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
diff --git a/toolchain/toolchain-external/toolchain-external-arm-arm/toolchain-external-arm-arm.mk b/toolchain/toolchain-external/toolchain-external-arm-arm/toolchain-external-arm-arm.mk
index 5962121af6..84e0e18276 100644
--- a/toolchain/toolchain-external/toolchain-external-arm-arm/toolchain-external-arm-arm.mk
+++ b/toolchain/toolchain-external/toolchain-external-arm-arm/toolchain-external-arm-arm.mk
@@ -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
--
2.45.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH next 3/7] toolchain/toolchain-external/toolchain-external-arm-aarch64: bump to 13.3.rel1
2024-08-10 21:56 [Buildroot] [PATCH next 0/7] Update some external toolchains Thomas Petazzoni via buildroot
2024-08-10 21:56 ` [Buildroot] [PATCH next 1/7] arch/Config.in: introduce BR2_ARCH_NEEDS_GCC_AT_LEAST_15 Thomas Petazzoni via buildroot
2024-08-10 21:56 ` [Buildroot] [PATCH next 2/7] toolchain/toolchain-external/toolchain-external-arm-arm: bump to 13.3.rel1 Thomas Petazzoni via buildroot
@ 2024-08-10 21:56 ` Thomas Petazzoni via buildroot
2024-08-10 21:56 ` [Buildroot] [PATCH next 4/7] toolchain/toolchain-external/toolchain-external-arm-aarch64-be: " Thomas Petazzoni via buildroot
` (4 subsequent siblings)
7 siblings, 0 replies; 10+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-08-10 21:56 UTC (permalink / raw)
To: buildroot; +Cc: Giulio Benetti, Romain Naour, Thomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
.../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(-)
diff --git a/toolchain/toolchain-external/toolchain-external-arm-aarch64/Config.in b/toolchain/toolchain-external/toolchain-external-arm-aarch64/Config.in
index 2565707def..7f4fc61f2f 100644
--- a/toolchain/toolchain-external/toolchain-external-arm-aarch64/Config.in
+++ b/toolchain/toolchain-external/toolchain-external-arm-aarch64/Config.in
@@ -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
diff --git a/toolchain/toolchain-external/toolchain-external-arm-aarch64/toolchain-external-arm-aarch64.hash b/toolchain/toolchain-external/toolchain-external-arm-aarch64/toolchain-external-arm-aarch64.hash
index 9de90d4b06..75478913b0 100644
--- a/toolchain/toolchain-external/toolchain-external-arm-aarch64/toolchain-external-arm-aarch64.hash
+++ b/toolchain/toolchain-external/toolchain-external-arm-aarch64/toolchain-external-arm-aarch64.hash
@@ -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
diff --git a/toolchain/toolchain-external/toolchain-external-arm-aarch64/toolchain-external-arm-aarch64.mk b/toolchain/toolchain-external/toolchain-external-arm-aarch64/toolchain-external-arm-aarch64.mk
index f9adda8921..b6c75ecf3f 100644
--- a/toolchain/toolchain-external/toolchain-external-arm-aarch64/toolchain-external-arm-aarch64.mk
+++ b/toolchain/toolchain-external/toolchain-external-arm-aarch64/toolchain-external-arm-aarch64.mk
@@ -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
--
2.45.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH next 4/7] toolchain/toolchain-external/toolchain-external-arm-aarch64-be: bump to 13.3.rel1
2024-08-10 21:56 [Buildroot] [PATCH next 0/7] Update some external toolchains Thomas Petazzoni via buildroot
` (2 preceding siblings ...)
2024-08-10 21:56 ` [Buildroot] [PATCH next 3/7] toolchain/toolchain-external/toolchain-external-arm-aarch64: " Thomas Petazzoni via buildroot
@ 2024-08-10 21:56 ` Thomas Petazzoni via buildroot
2024-08-10 21:56 ` [Buildroot] [PATCH next 5/7] toolchain/toolchain-external/toolchain-external-synopsys-arc: bump to 2024.06 Thomas Petazzoni via buildroot
` (3 subsequent siblings)
7 siblings, 0 replies; 10+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-08-10 21:56 UTC (permalink / raw)
To: buildroot; +Cc: Giulio Benetti, Romain Naour, Thomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
.../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(-)
diff --git a/toolchain/toolchain-external/toolchain-external-arm-aarch64-be/Config.in b/toolchain/toolchain-external/toolchain-external-arm-aarch64-be/Config.in
index 1cee601a89..d3c095b2b6 100644
--- a/toolchain/toolchain-external/toolchain-external-arm-aarch64-be/Config.in
+++ b/toolchain/toolchain-external/toolchain-external-arm-aarch64-be/Config.in
@@ -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
diff --git a/toolchain/toolchain-external/toolchain-external-arm-aarch64-be/toolchain-external-arm-aarch64-be.hash b/toolchain/toolchain-external/toolchain-external-arm-aarch64-be/toolchain-external-arm-aarch64-be.hash
index a9830c43c3..f876465543 100644
--- a/toolchain/toolchain-external/toolchain-external-arm-aarch64-be/toolchain-external-arm-aarch64-be.hash
+++ b/toolchain/toolchain-external/toolchain-external-arm-aarch64-be/toolchain-external-arm-aarch64-be.hash
@@ -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
diff --git a/toolchain/toolchain-external/toolchain-external-arm-aarch64-be/toolchain-external-arm-aarch64-be.mk b/toolchain/toolchain-external/toolchain-external-arm-aarch64-be/toolchain-external-arm-aarch64-be.mk
index 7771269b0d..dd03635e71 100644
--- a/toolchain/toolchain-external/toolchain-external-arm-aarch64-be/toolchain-external-arm-aarch64-be.mk
+++ b/toolchain/toolchain-external/toolchain-external-arm-aarch64-be/toolchain-external-arm-aarch64-be.mk
@@ -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
--
2.45.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH next 5/7] toolchain/toolchain-external/toolchain-external-synopsys-arc: bump to 2024.06
2024-08-10 21:56 [Buildroot] [PATCH next 0/7] Update some external toolchains Thomas Petazzoni via buildroot
` (3 preceding siblings ...)
2024-08-10 21:56 ` [Buildroot] [PATCH next 4/7] toolchain/toolchain-external/toolchain-external-arm-aarch64-be: " Thomas Petazzoni via buildroot
@ 2024-08-10 21:56 ` Thomas Petazzoni via buildroot
2024-09-03 20:19 ` Yann E. MORIN
2024-08-10 21:56 ` [Buildroot] [PATCH next 6/7] support/testing/tests/toolchain/test_external_arm.py: new test Thomas Petazzoni via buildroot
` (2 subsequent siblings)
7 siblings, 1 reply; 10+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-08-10 21:56 UTC (permalink / raw)
To: buildroot; +Cc: Romain Naour, Giulio Benetti, Thomas Petazzoni
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 <thomas.petazzoni@bootlin.com>
---
.../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(-)
diff --git a/toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in b/toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in
index 292e652fb0..dc333f8474 100644
--- a/toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in
+++ b/toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in
@@ -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
diff --git a/toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in.options b/toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in.options
index ceb7dd0081..faedaf2ffb 100644
--- a/toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in.options
+++ b/toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in.options
@@ -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
diff --git a/toolchain/toolchain-external/toolchain-external-synopsys-arc/toolchain-external-synopsys-arc.hash b/toolchain/toolchain-external/toolchain-external-synopsys-arc/toolchain-external-synopsys-arc.hash
index 3c22723833..52273871ab 100644
--- a/toolchain/toolchain-external/toolchain-external-synopsys-arc/toolchain-external-synopsys-arc.hash
+++ b/toolchain/toolchain-external/toolchain-external-synopsys-arc/toolchain-external-synopsys-arc.hash
@@ -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
diff --git a/toolchain/toolchain-external/toolchain-external-synopsys-arc/toolchain-external-synopsys-arc.mk b/toolchain/toolchain-external/toolchain-external-synopsys-arc/toolchain-external-synopsys-arc.mk
index c8f141e45d..c88ca35c43 100644
--- a/toolchain/toolchain-external/toolchain-external-synopsys-arc/toolchain-external-synopsys-arc.mk
+++ b/toolchain/toolchain-external/toolchain-external-synopsys-arc/toolchain-external-synopsys-arc.mk
@@ -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))
--
2.45.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH next 6/7] support/testing/tests/toolchain/test_external_arm.py: new test
2024-08-10 21:56 [Buildroot] [PATCH next 0/7] Update some external toolchains Thomas Petazzoni via buildroot
` (4 preceding siblings ...)
2024-08-10 21:56 ` [Buildroot] [PATCH next 5/7] toolchain/toolchain-external/toolchain-external-synopsys-arc: bump to 2024.06 Thomas Petazzoni via buildroot
@ 2024-08-10 21:56 ` Thomas Petazzoni via buildroot
2024-08-10 21:56 ` [Buildroot] [PATCH next 7/7] support/testing/tests/toolchain/test_external_synopsys.py: " Thomas Petazzoni via buildroot
2024-09-03 20:17 ` [Buildroot] [PATCH next 0/7] Update some external toolchains Yann E. MORIN
7 siblings, 0 replies; 10+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-08-10 21:56 UTC (permalink / raw)
To: buildroot; +Cc: Thomas Petazzoni
Test the 3 ARM toolchains: ARM, AArch64 and AArch64 BE.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
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
diff --git a/DEVELOPERS b/DEVELOPERS
index d7d0af3543..bf98a7642b 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -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 <timo.ketola@exertus.fi>
diff --git a/support/testing/tests/toolchain/test_external_arm.py b/support/testing/tests/toolchain/test_external_arm.py
new file mode 100644
index 0000000000..1f8e5b4e56
--- /dev/null
+++ b/support/testing/tests/toolchain/test_external_arm.py
@@ -0,0 +1,41 @@
+from tests.toolchain.test_external import TestExternalToolchain
+
+
+class TestExternalToolchainArmArm(TestExternalToolchain):
+ config = """
+ BR2_arm=y
+ BR2_cortex_a8=y
+ BR2_TOOLCHAIN_EXTERNAL=y
+ BR2_TOOLCHAIN_EXTERNAL_ARM_ARM=y
+ # BR2_TARGET_ROOTFS_TAR is not set
+ """
+ toolchain_prefix = "arm-none-linux-gnueabihf"
+
+ def test_run(self):
+ TestExternalToolchain.common_check(self)
+
+
+class TestExternalToolchainArmAarch64(TestExternalToolchain):
+ config = """
+ BR2_aarch64=y
+ BR2_TOOLCHAIN_EXTERNAL=y
+ BR2_TOOLCHAIN_EXTERNAL_ARM_AARCH64=y
+ # BR2_TARGET_ROOTFS_TAR is not set
+ """
+ toolchain_prefix = "aarch64-none-linux-gnu"
+
+ def test_run(self):
+ TestExternalToolchain.common_check(self)
+
+
+class TestExternalToolchainArmAarch64Be(TestExternalToolchain):
+ config = """
+ BR2_aarch64_be=y
+ BR2_TOOLCHAIN_EXTERNAL=y
+ BR2_TOOLCHAIN_EXTERNAL_ARM_AARCH64_BE=y
+ # BR2_TARGET_ROOTFS_TAR is not set
+ """
+ toolchain_prefix = "aarch64_be-none-linux-gnu"
+
+ def test_run(self):
+ TestExternalToolchain.common_check(self)
--
2.45.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH next 7/7] support/testing/tests/toolchain/test_external_synopsys.py: new test
2024-08-10 21:56 [Buildroot] [PATCH next 0/7] Update some external toolchains Thomas Petazzoni via buildroot
` (5 preceding siblings ...)
2024-08-10 21:56 ` [Buildroot] [PATCH next 6/7] support/testing/tests/toolchain/test_external_arm.py: new test Thomas Petazzoni via buildroot
@ 2024-08-10 21:56 ` Thomas Petazzoni via buildroot
2024-09-03 20:17 ` [Buildroot] [PATCH next 0/7] Update some external toolchains Yann E. MORIN
7 siblings, 0 replies; 10+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-08-10 21:56 UTC (permalink / raw)
To: buildroot; +Cc: Thomas Petazzoni
Test the 6 combinations of Synopsys toolchains.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
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
diff --git a/DEVELOPERS b/DEVELOPERS
index bf98a7642b..92e13c69bc 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -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 <timo.ketola@exertus.fi>
diff --git a/support/testing/tests/toolchain/test_external_synopsys.py b/support/testing/tests/toolchain/test_external_synopsys.py
new file mode 100644
index 0000000000..19ed9f67b0
--- /dev/null
+++ b/support/testing/tests/toolchain/test_external_synopsys.py
@@ -0,0 +1,91 @@
+from tests.toolchain.test_external import TestExternalToolchain
+
+
+class TestExternalToolchainSynopsysArc700LE(TestExternalToolchain):
+ config = """
+ BR2_arcle=y
+ BR2_arc770d=y
+ BR2_TOOLCHAIN_EXTERNAL=y
+ BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC=y
+ BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC700=y
+ # BR2_TARGET_ROOTFS_TAR is not set
+ """
+ toolchain_prefix = "arc-linux"
+
+ def test_run(self):
+ TestExternalToolchain.common_check(self)
+
+
+class TestExternalToolchainSynopsysArc700BE(TestExternalToolchain):
+ config = """
+ BR2_arceb=y
+ BR2_arc770d=y
+ BR2_TOOLCHAIN_EXTERNAL=y
+ BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC=y
+ BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC700=y
+ # BR2_TARGET_ROOTFS_TAR is not set
+ """
+ toolchain_prefix = "arceb-linux"
+
+ def test_run(self):
+ TestExternalToolchain.common_check(self)
+
+
+class TestExternalToolchainSynopsysArcHSGlibcLE(TestExternalToolchain):
+ config = """
+ BR2_arcle=y
+ BR2_archs38_full=y
+ BR2_TOOLCHAIN_EXTERNAL=y
+ BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC=y
+ BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARCHS_GLIBC=y
+ # BR2_TARGET_ROOTFS_TAR is not set
+ """
+ toolchain_prefix = "arc-linux"
+
+ def test_run(self):
+ TestExternalToolchain.common_check(self)
+
+
+class TestExternalToolchainSynopsysArcHSGlibcBE(TestExternalToolchain):
+ config = """
+ BR2_arceb=y
+ BR2_archs38_full=y
+ BR2_TOOLCHAIN_EXTERNAL=y
+ BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC=y
+ BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARCHS_GLIBC=y
+ # BR2_TARGET_ROOTFS_TAR is not set
+ """
+ toolchain_prefix = "arceb-linux"
+
+ def test_run(self):
+ TestExternalToolchain.common_check(self)
+
+
+class TestExternalToolchainSynopsysArcHSuClibcLE(TestExternalToolchain):
+ config = """
+ BR2_arcle=y
+ BR2_archs38_full=y
+ BR2_TOOLCHAIN_EXTERNAL=y
+ BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC=y
+ BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARCHS_UCLIBC=y
+ # BR2_TARGET_ROOTFS_TAR is not set
+ """
+ toolchain_prefix = "arc-linux"
+
+ def test_run(self):
+ TestExternalToolchain.common_check(self)
+
+
+class TestExternalToolchainSynopsysArcHSuClibcBE(TestExternalToolchain):
+ config = """
+ BR2_arceb=y
+ BR2_archs38_full=y
+ BR2_TOOLCHAIN_EXTERNAL=y
+ BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC=y
+ BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARCHS_UCLIBC=y
+ # BR2_TARGET_ROOTFS_TAR is not set
+ """
+ toolchain_prefix = "arceb-linux"
+
+ def test_run(self):
+ TestExternalToolchain.common_check(self)
--
2.45.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [Buildroot] [PATCH next 0/7] Update some external toolchains
2024-08-10 21:56 [Buildroot] [PATCH next 0/7] Update some external toolchains Thomas Petazzoni via buildroot
` (6 preceding siblings ...)
2024-08-10 21:56 ` [Buildroot] [PATCH next 7/7] support/testing/tests/toolchain/test_external_synopsys.py: " Thomas Petazzoni via buildroot
@ 2024-09-03 20:17 ` Yann E. MORIN
7 siblings, 0 replies; 10+ messages in thread
From: Yann E. MORIN @ 2024-09-03 20:17 UTC (permalink / raw)
To: Thomas Petazzoni; +Cc: buildroot
Thomas, All,
On 2024-08-10 23:56 +0200, Thomas Petazzoni via buildroot spake thusly:
> This series updates the ARM external toolchains (ARM, AArch64 and
> AArch64 BE) as well as the Synopsys toolchains.
[--SNIP--]
> 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
I'll further reply on that patch.
Series applied to next, thanks.
Regards,
Yann E. MORIN.
> 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
>
> --
> 2.45.2
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| 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
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Buildroot] [PATCH next 5/7] toolchain/toolchain-external/toolchain-external-synopsys-arc: bump to 2024.06
2024-08-10 21:56 ` [Buildroot] [PATCH next 5/7] toolchain/toolchain-external/toolchain-external-synopsys-arc: bump to 2024.06 Thomas Petazzoni via buildroot
@ 2024-09-03 20:19 ` Yann E. MORIN
0 siblings, 0 replies; 10+ messages in thread
From: Yann E. MORIN @ 2024-09-03 20:19 UTC (permalink / raw)
To: Thomas Petazzoni; +Cc: Romain Naour, Giulio Benetti, buildroot
Thomas, All,
On 2024-08-10 23:56 +0200, Thomas Petazzoni via buildroot spake thusly:
> 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 <thomas.petazzoni@bootlin.com>
> ---
[--SNIP--]
> diff --git a/toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in.options b/toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in.options
> index ceb7dd0081..faedaf2ffb 100644
> --- a/toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in.options
> +++ b/toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in.options
> @@ -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.
> + 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"
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.
> + 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
> diff --git a/toolchain/toolchain-external/toolchain-external-synopsys-arc/toolchain-external-synopsys-arc.hash b/toolchain/toolchain-external/toolchain-external-synopsys-arc/toolchain-external-synopsys-arc.hash
> index 3c22723833..52273871ab 100644
> --- a/toolchain/toolchain-external/toolchain-external-synopsys-arc/toolchain-external-synopsys-arc.hash
> +++ b/toolchain/toolchain-external/toolchain-external-synopsys-arc/toolchain-external-synopsys-arc.hash
> @@ -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
> diff --git a/toolchain/toolchain-external/toolchain-external-synopsys-arc/toolchain-external-synopsys-arc.mk b/toolchain/toolchain-external/toolchain-external-synopsys-arc/toolchain-external-synopsys-arc.mk
> index c8f141e45d..c88ca35c43 100644
> --- a/toolchain/toolchain-external/toolchain-external-synopsys-arc/toolchain-external-synopsys-arc.mk
> +++ b/toolchain/toolchain-external/toolchain-external-synopsys-arc/toolchain-external-synopsys-arc.mk
> @@ -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))
> --
> 2.45.2
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| 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
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2024-09-03 20:19 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-10 21:56 [Buildroot] [PATCH next 0/7] Update some external toolchains Thomas Petazzoni via buildroot
2024-08-10 21:56 ` [Buildroot] [PATCH next 1/7] arch/Config.in: introduce BR2_ARCH_NEEDS_GCC_AT_LEAST_15 Thomas Petazzoni via buildroot
2024-08-10 21:56 ` [Buildroot] [PATCH next 2/7] toolchain/toolchain-external/toolchain-external-arm-arm: bump to 13.3.rel1 Thomas Petazzoni via buildroot
2024-08-10 21:56 ` [Buildroot] [PATCH next 3/7] toolchain/toolchain-external/toolchain-external-arm-aarch64: " Thomas Petazzoni via buildroot
2024-08-10 21:56 ` [Buildroot] [PATCH next 4/7] toolchain/toolchain-external/toolchain-external-arm-aarch64-be: " Thomas Petazzoni via buildroot
2024-08-10 21:56 ` [Buildroot] [PATCH next 5/7] toolchain/toolchain-external/toolchain-external-synopsys-arc: bump to 2024.06 Thomas Petazzoni via buildroot
2024-09-03 20:19 ` Yann E. MORIN
2024-08-10 21:56 ` [Buildroot] [PATCH next 6/7] support/testing/tests/toolchain/test_external_arm.py: new test Thomas Petazzoni via buildroot
2024-08-10 21:56 ` [Buildroot] [PATCH next 7/7] support/testing/tests/toolchain/test_external_synopsys.py: " Thomas Petazzoni via buildroot
2024-09-03 20:17 ` [Buildroot] [PATCH next 0/7] Update some external toolchains Yann E. MORIN
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox