Skip to contentSkip to conversation

arch: drop support for ARC big-endian

PATCH Applied Thomas Petazzoni via buildroot 1 participant 4 messages Dec 11, 2025 – Dec 13, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arch: drop support for ARC big-endian

Alexey Brodkin from Synopsys says:

I think indeed, we may remove all the big-endian support for ARC. Reasons are since introduction of ARC HS4x processors we no longer support big-endian in any new processor IP, and even for older IP which used to support big-endian it was rarely used... so basically there's no good justification to spend any cycles on big-endian support looking forward in this project. I.e. BE support in uClibc could also be removed if it makes any difference.

Therefore, let's removed support for ARC big-endian.

Cc Alexey Brodkin <[email protected]>
Cc ARC Maintainers <[email protected]>
---
 Config.in.legacy                                       |  9 +++++++++
 arch/Config.in                                         | 10 +---------
 arch/Config.in.arc                                     |  8 +++-----
 linux/Config.in                                        |  2 +-
 package/dhcpcd/Config.in                               |  2 +-
 package/fluent-bit/Config.in                           |  2 +-
 package/kodi/kodi.mk                                   |  2 +-
 package/libspdm/Config.in                              |  2 +-
 package/oprofile/Config.in                             |  2 +-
 package/postgresql/postgresql.mk                       |  2 +-
 package/swipl/Config.in                                |  2 +-
 package/uclibc/Config.in                               |  3 +--
 package/z3/Config.in                                   |  2 +-
 toolchain/toolchain-external/pkg-toolchain-external.mk |  4 ----
 .../toolchain-external-synopsys-arc/Config.in.options  |  3 +--
 15 files changed, 24 insertions(+), 31 deletions(-)
Config.in.legacy +9 -0
index 64151b2f44..304c9abddc 100644
@@ -146,6 +146,15 @@ endif
 
 comment "Legacy options removed in 2025.11"
 
+config BR2_arceb
+	bool "ARC big endian support removed"
+	select BR2_LEGACY
+	help
+	  Synopsys' DesignWare ARC Processor Cores are a family of
+	  32-bit CPUs that can be used from deeply embedded to high
+	  performance host applications. The big endian support was
+	  not used nor maintained, so it was removed.
+
 config BR2_KERNEL_HEADERS_5_4
 	bool "kernel headers version 5.4.x are no longer supported"
 	select BR2_LEGACY
arch/Config.in +1 -9
index 34422c0d50..9b8ab20ffc 100644
@@ -29,14 +29,6 @@ config BR2_arcle
 	  32-bit CPUs that can be used from deeply embedded to high
 	  performance host applications. Little endian.
 
-config BR2_arceb
-	bool "ARC (big endian)"
-	select BR2_USE_MMU
-	help
-	  Synopsys' DesignWare ARC Processor Cores are a family of
-	  32-bit CPUs that can be used from deeply embedded to high
-	  performance host applications. Big endian.
-
 config BR2_arm
 	bool "ARM (little endian)"
 	# MMU support is set by the subarchitecture file, arch/Config.in.arm
@@ -385,7 +377,7 @@ config BR2_BINFMT_SUPPORTS_SHARED
 config BR2_READELF_ARCH_NAME
 	string
 
-if BR2_arcle || BR2_arceb
+if BR2_arcle
 source "arch/Config.in.arc"
 endif
 
arch/Config.in.arc +3 -5
index f367c49131..7dd564d7f7 100644
@@ -59,19 +59,17 @@ config BR2_ARC_ATOMIC_EXT
 	default y if BR2_archs4x_rel31 || BR2_archs4x
 
 config BR2_ARCH
-	default "arc"	if BR2_arcle
-	default "arceb"	if BR2_arceb
+	default "arc"
 
 config BR2_NORMALIZED_ARCH
 	default "arc"
 
 config BR2_arc
 	bool
-	default y if BR2_arcle || BR2_arceb
+	default y
 
 config BR2_ENDIAN
-	default "LITTLE" if BR2_arcle
-	default "BIG"	 if BR2_arceb
+	default "LITTLE"
 
 config BR2_GCC_TARGET_CPU
 	default "arc700" if BR2_arc750d
linux/Config.in +1 -1
index 10024bef38..59070efb7c 100644
@@ -180,7 +180,7 @@ config BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG
 	# version. This is mainly needed to fix autobuilder testing.
 	select BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL if \
 	       BR2_LINUX_KERNEL_LATEST_VERSION && \
-	       (BR2_aarch64 || BR2_aarch64_be || BR2_arcle || BR2_arceb || \
+	       (BR2_aarch64 || BR2_aarch64_be || BR2_arcle || \
 	        BR2_or1k || BR2_riscv || BR2_sparc || BR2_x86_64)
 	help
 	  This option will use the default configuration for the
package/dhcpcd/Config.in +1 -1
index dda93ba1cb..0d72340ffe 100644
@@ -16,7 +16,7 @@ config BR2_PACKAGE_DHCPCD_ENABLE_PRIVSEP
 	default y
 	depends on BR2_USE_MMU
 	# Audit headers were only added in recent kernels for some arches
-	depends on !(BR2_arceb || BR2_arcle) || \
+	depends on !BR2_arcle || \
 		BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_2
 	depends on !(BR2_microblazeel || BR2_microblazebe) || \
 		BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
package/fluent-bit/Config.in +1 -1
index aeae034b2a..2af6279744 100644
@@ -23,7 +23,7 @@ if BR2_PACKAGE_FLUENT_BIT
 config BR2_PACKAGE_FLUENT_BIT_WASM_ARCH
 	string
 	default "AARCH64"    if BR2_aarch64 || BR2_aarch64_be
-	default "ARC"        if BR2_arcle || BR2_arceb
+	default "ARC"        if BR2_arcle
 	default "ARM"        if BR2_arm || BR2_armeb
 	default "MIPS"       if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
 	default "RISCV32"    if BR2_riscv && BR2_RISCV_32
package/kodi/kodi.mk +1 -1
index 57bfcff555..c31e789503 100644
@@ -146,7 +146,7 @@ KODI_DEPENDENCIES += libiconv
 KODI_EXTRA_LIBS += -liconv
 endif
 
-ifeq ($(BR2_arceb)$(BR2_arcle),y)
+ifeq ($(BR2_arcle),y)
 KODI_CONF_OPTS += -DWITH_ARCH=arc -DWITH_CPU=arc
 else ifeq ($(BR2_armeb),y)
 KODI_CONF_OPTS += -DWITH_ARCH=arm -DWITH_CPU=arm
package/libspdm/Config.in +1 -1
index 56c55f9c4d..e51634e896 100644
@@ -1,6 +1,6 @@
 config BR2_PACKAGE_LIBSPDM_CPU_FAMILY
 	string
-	# OpenSSL doesn't support "arc" (BR2_arcle || BR2_arceb), "arm"
+	# OpenSSL doesn't support "arc" (BR2_arcle), "arm"
 	# (if BR2_arm || BR2_armeb) or "riscv32"/"riscv6"
 	# (BR2_riscv && BR2_RISCV_32/BR2_RISCV_64). So we don't
 	# support those here
package/oprofile/Config.in +1 -1
index eca43d7ac3..df167e278a 100644
@@ -2,7 +2,7 @@
 config BR2_PACKAGE_OPROFILE_ARCH_SUPPORTS
 	bool
 	default y
-	depends on BR2_arceb || BR2_arcle || BR2_arm || BR2_armeb || \
+	depends on BR2_arcle || BR2_arm || BR2_armeb || \
 		BR2_aarch64 || BR2_aarch64_be || BR2_i386 || BR2_mips || \
 		BR2_mipsel || BR2_mips64 || BR2_mips64el || BR2_powerpc || \
 		BR2_powerpc64 || BR2_powerpc64le || BR2_s390x || BR2_sh || \
package/postgresql/postgresql.mk +1 -1
index 86761bf939..b3760f7e1f 100644
@@ -38,7 +38,7 @@ POSTGRESQL_INSTALL_TARGET_OPTS += DESTDIR=$(TARGET_DIR) install-world
 POSTGRESQL_INSTALL_STAGING_OPTS += DESTDIR=$(STAGING_DIR) install-world
 endif
 
-ifeq ($(BR2_arcle)$(BR2_arceb)$(BR2_microblazeel)$(BR2_microblazebe)$(BR2_or1k)$(BR2_riscv)$(BR2_xtensa),y)
+ifeq ($(BR2_arcle)$(BR2_microblazeel)$(BR2_microblazebe)$(BR2_or1k)$(BR2_riscv)$(BR2_xtensa),y)
 POSTGRESQL_CONF_OPTS += -Dspinlocks=false
 else
 POSTGRESQL_CONF_OPTS += -Dspinlocks=true
package/swipl/Config.in +1 -1
index 8bf58344b3..95f3e57770 100644
@@ -5,7 +5,7 @@
 config BR2_PACKAGE_SWIPL_ARCH_SUPPORTS
 	bool
 	default y if BR2_aarch64 || BR2_aarch64_be
-	default y if BR2_arceb || BR2_arcle
+	default y if BR2_arcle
 	default y if BR2_arm || BR2_armeb
 	default y if BR2_i386
 	default y if BR2_m68k
package/uclibc/Config.in +1 -2
index 4c360809c3..6b8b0d86f8 100644
@@ -3,7 +3,6 @@ config BR2_PACKAGE_UCLIBC_ARCH_SUPPORTS
 	default y if BR2_aarch64
 	default y if BR2_aarch64_be
 	default y if BR2_arcle
-	default y if BR2_arceb
 	default y if BR2_arm
 	default y if BR2_armeb
 	default y if BR2_i386
@@ -126,7 +125,7 @@ config BR2_UCLIBC_INSTALL_UTILS
 config BR2_UCLIBC_TARGET_ARCH
 	string
 	default "aarch64"  if BR2_aarch64 || BR2_aarch64_be
-	default "arc"	   if BR2_arcle || BR2_arceb
+	default "arc"	   if BR2_arcle
 	default "arm"	   if BR2_arm	|| BR2_armeb
 	default "m68k"	   if BR2_m68k
 	default "microblaze"   if BR2_microblaze
package/z3/Config.in +1 -1
index 3afb8a6a22..2ef2e3eb89 100644
@@ -5,7 +5,7 @@
 config BR2_PACKAGE_Z3_ARCH_SUPPORTS
 	bool
 	default y if BR2_aarch64 || BR2_aarch64_be
-	default y if BR2_arceb || BR2_arcle
+	default y if BR2_arcle
 	default y if BR2_arm || BR2_armeb
 	default y if BR2_i386
 	default y if BR2_m68k
toolchain/toolchain-external/pkg-toolchain-external.mk +0 -4
index 2c2afa76c0..270cf814ed 100644
@@ -237,10 +237,6 @@ ifeq ($(BR2_mips)$(BR2_mips64),y)
 TOOLCHAIN_EXTERNAL_TOOLCHAIN_WRAPPER_ARGS += -DBR_MIPS_TARGET_BIG_ENDIAN
 TOOLCHAIN_EXTERNAL_CFLAGS += -EB
 endif
-ifeq ($(BR2_arceb),y)
-TOOLCHAIN_EXTERNAL_TOOLCHAIN_WRAPPER_ARGS += -DBR_ARC_TARGET_BIG_ENDIAN
-TOOLCHAIN_EXTERNAL_CFLAGS += -EB
-endif
 
 TOOLCHAIN_EXTERNAL_CFLAGS += $(call qstrip,$(BR2_TARGET_OPTIMIZATION))
 
toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in.options +1 -2
index 4b4482106c..c60cf73460 100644
@@ -33,8 +33,7 @@ config BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARCHS_GLIBC
 endchoice
 
 config BR2_TOOLCHAIN_EXTERNAL_PREFIX
-	default "arc-linux"		 if BR2_arcle
-	default "arceb-linux"		 if BR2_arceb
+	default "arc-linux"
 
 config BR2_PACKAGE_PROVIDES_TOOLCHAIN_EXTERNAL
 	default "toolchain-external-synopsys-arc"
Signature · 6 lines
2.52.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
author Reviewed-by Maxim Kochetkov on v1 1/1
#1 lore raw
Quoted 10 lines · Thomas Petazzoni

Alexey Brodkin from Synopsys says:

I think indeed, we may remove all the big-endian support for ARC. Reasons are since introduction of ARC HS4x processors we no longer support big-endian in any new processor IP, and even for older IP which used to support big-endian it was rarely used... so basically there's no good justification to spend any cycles on big-endian support looking forward in this project. I.e. BE support in uClibc could also be removed if it makes any difference.

Quoted 5 lines

Therefore, let's removed support for ARC big-endian.

Cc Alexey Brodkin <[email protected]>
Cc ARC Maintainers <[email protected]>

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#2 lore raw
In reply to Thomas Petazzoni via buildroot
Quoted 10 lines · Thomas Petazzoni via buildroot

Alexey Brodkin from Synopsys says:

I think indeed, we may remove all the big-endian support for ARC. Reasons are since introduction of ARC HS4x processors we no longer support big-endian in any new processor IP, and even for older IP which used to support big-endian it was rarely used... so basically there's no good justification to spend any cycles on big-endian support looking forward in this project. I.e. BE support in uClibc could also be removed if it makes any difference.

Quoted 5 lines

Therefore, let's removed support for ARC big-endian.

Cc Alexey Brodkin <[email protected]>
Cc ARC Maintainers <[email protected]>

Applied to master, thanks.

For info, I had to remove a remaining "BR2_arceb" from pkg-meson.mk to fix a check-symbols error. See:
https://gitlab.com/buildroot.org/buildroot/-/commit/2d570f8369342590836378e86e3d2a65f7fb6fc3

Best regards,

Julien.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#3 lore raw
Quoted 5 lines · On Sat, 13 Dec 2025 17:49:34 +0100 Julien Olivain <[email protected]> wrote:

Applied to master, thanks.

For info, I had to remove a remaining "BR2_arceb" from pkg-meson.mk to fix a check-symbols error. See:
https://gitlab.com/buildroot.org/buildroot/-/commit/2d570f8369342590836378e86e3d2a65f7fb6fc3

Dang, sorry about this. I'm wondering how I missed it... :/

Thomas

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot