[Buildroot] [PATCH 1/5] toolchain/toolchain-external: drop Synopsys ARC toolchain

Thomas Petazzoni via buildroot <[email protected]>
Newsgroups net.busybox.buildroot
Message-ID <[email protected]>
This toolchain is from 2024.06 and has not been updated since then. It
was marked in commit 11a8cdd2bbbd0ef4adf600e4792d75f6f2122ec8 in
January 2025.

A warning was sent to Synopsys ARC people in December 2025, and
despite a reply that some effort would be made [1], no contributions
were actually done. Also, Alexey Brodkin is no longer at
Synopsys. Time to remove Synopsys ARC specific toolchain and toolchain
components.

[1] https://lore.kernel.org/buildroot/SJ2PR12MB818487232470DA4456967C73A1A3A@SJ2PR12MB8184.namprd12.prod.outlook.com/

Cc: ARC Maintainers <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
---
 Config.in.legacy                              |  7 ++++
 toolchain/toolchain-external/Config.in        |  6 ---
 .../toolchain-external-synopsys-arc/Config.in | 18 --------
 .../Config.in.options                         | 41 -------------------
 .../toolchain-external-synopsys-arc.hash      |  7 ----
 .../toolchain-external-synopsys-arc.mk        | 29 -------------
 6 files changed, 7 insertions(+), 101 deletions(-)
 delete mode 100644 toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in
 delete mode 100644 toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in.options
 delete mode 100644 toolchain/toolchain-external/toolchain-external-synopsys-arc/toolchain-external-synopsys-arc.hash
 delete mode 100644 toolchain/toolchain-external/toolchain-external-synopsys-arc/toolchain-external-synopsys-arc.mk

diff --git a/Config.in.legacy b/Config.in.legacy
index e2f9d9131f..da69682f93 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -146,6 +146,13 @@ endif
 
 comment "Legacy options removed in 2026.08"
 
+config BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC
+	bool "Synopsys ARC toolchain removed"
+	select BR2_LEGACY
+	help
+	  The Synopsys ARC external toolchain has been removed, as it
+	  was no longer maintained in Buildroot.
+
 config BR2_PACKAGE_TS4900_FPGA
 	bool "ts4900-fpga removed"
 	select BR2_LEGACY
diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in
index 831387bc4e..9d8c815438 100644
--- a/toolchain/toolchain-external/Config.in
+++ b/toolchain/toolchain-external/Config.in
@@ -14,9 +14,6 @@ source "toolchain/toolchain-external/toolchain-external-arm-aarch64/Config.in"
 # Aarch64 big-endian
 source "toolchain/toolchain-external/toolchain-external-arm-aarch64-be/Config.in"
 
-# ARC
-source "toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in"
-
 # ARM (use ARM toolchain by default)
 source "toolchain/toolchain-external/toolchain-external-arm-arm/Config.in"
 
@@ -102,9 +99,6 @@ source "toolchain/toolchain-external/toolchain-external-arm-aarch64/Config.in.op
 # Aarch64 big-endian
 source "toolchain/toolchain-external/toolchain-external-arm-aarch64-be/Config.in.options"
 
-# ARC
-source "toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in.options"
-
 # ARM
 source "toolchain/toolchain-external/toolchain-external-arm-arm/Config.in.options"
 
diff --git a/toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in b/toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in
deleted file mode 100644
index 07688a1416..0000000000
--- a/toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in
+++ /dev/null
@@ -1,18 +0,0 @@
-config BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC
-	bool "Synopsys ARC 2024.06 toolchain"
-	depends on BR2_arc750d || BR2_arc770d || \
-		BR2_archs38_64mpy || BR2_archs38_full || \
-		BR2_archs4x_rel31 || BR2_archs4x
-	depends on BR2_HOSTARCH = "x86_64"
-	depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_15
-	# The toolchains have libncurses and libexpat in their
-	# sysroot, confusing Buildroot and causing build
-	# issues. Disable until the toolchains get fixed.
-	depends on BR2_BROKEN
-	select BR2_INSTALL_LIBSTDCPP
-	select BR2_TOOLCHAIN_HAS_SSP
-	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
deleted file mode 100644
index c60cf73460..0000000000
--- a/toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in.options
+++ /dev/null
@@ -1,41 +0,0 @@
-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 HS"
-	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"
-
-config BR2_PACKAGE_PROVIDES_TOOLCHAIN_EXTERNAL
-	default "toolchain-external-synopsys-arc"
-
-endif
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
deleted file mode 100644
index 52273871ab..0000000000
--- a/toolchain/toolchain-external/toolchain-external-synopsys-arc/toolchain-external-synopsys-arc.hash
+++ /dev/null
@@ -1,7 +0,0 @@
-# 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
deleted file mode 100644
index c88ca35c43..0000000000
--- a/toolchain/toolchain-external/toolchain-external-synopsys-arc/toolchain-external-synopsys-arc.mk
+++ /dev/null
@@ -1,29 +0,0 @@
-################################################################################
-#
-# toolchain-external-synopsys-arc
-#
-################################################################################
-
-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_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC700),y)
-TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_CORE = arc700
-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)
-TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_ENDIANESS = le
-else
-TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_ENDIANESS = be
-endif
-
-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.55.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.