mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-10 00:04:06 -09:00
package/gcc: drop ARC-specific version
A warning was sent to Synopsys ARC people in December 2025 that the
ARC support in Buildroot was poorly maintained and in particular the
ARC-pspecific toolchain components. 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.
This commit removes the ARC-specific gcc version.
[1] https://lore.kernel.org/buildroot/SJ2PR12MB818487232470DA4456967C73A1A3A@SJ2PR12MB8184.namprd12.prod.outlook.com/
Fixes:
https://autobuild.buildroot.org/results/9f2d41d503916d11f3e23b64fe0656ce9ee7f778/
Cc: ARC Maintainers <arc-buildroot@synopsys.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 2dff645d3e)
Signed-off-by: Titouan Christophe <titouan.christophe@mind.be>
This commit is contained in:
committed by
Titouan Christophe
parent
2a57b580a7
commit
41cb2a744d
@@ -146,6 +146,13 @@ endif
|
||||
|
||||
comment "Legacy options removed in 2025.02.17"
|
||||
|
||||
config BR2_GCC_VERSION_ARC
|
||||
bool "ARC-specific gcc version removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Support for the ARC-specific gcc version was removed, as it
|
||||
was no longer maintained in Buildroot.
|
||||
|
||||
config BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC
|
||||
bool "Synopsys ARC toolchain removed"
|
||||
select BR2_LEGACY
|
||||
@@ -5327,8 +5334,6 @@ config BR2_GCC_VERSION_4_8_ARC
|
||||
help
|
||||
The option that selects the gcc version for the ARC
|
||||
architecture has been renamed to BR2_GCC_VERSION_ARC.
|
||||
# Note: BR2_GCC_VERSION_4_8_ARC is still referenced from
|
||||
# package/gcc/Config.in.host
|
||||
|
||||
config BR2_KERNEL_HEADERS_4_0
|
||||
bool "kernel headers version 4.0.x are no longer supported"
|
||||
|
||||
@@ -2,19 +2,11 @@ comment "GCC Options"
|
||||
|
||||
choice
|
||||
prompt "GCC compiler Version"
|
||||
default BR2_GCC_VERSION_ARC if BR2_GCC_VERSION_4_8_ARC # legacy
|
||||
default BR2_GCC_VERSION_ARC if BR2_arc
|
||||
default BR2_GCC_VERSION_POWERPC_SPE if BR2_POWERPC_CPU_HAS_SPE
|
||||
default BR2_GCC_VERSION_13_X
|
||||
help
|
||||
Select the version of gcc you wish to use.
|
||||
|
||||
config BR2_GCC_VERSION_ARC
|
||||
bool "gcc arc (13.1)"
|
||||
# Only supported architecture
|
||||
depends on BR2_arc
|
||||
select BR2_TOOLCHAIN_GCC_AT_LEAST_13
|
||||
|
||||
config BR2_GCC_VERSION_POWERPC_SPE
|
||||
bool "gcc powerpc spe"
|
||||
# powerpc spe support has been deprecated since gcc 8.x.
|
||||
@@ -73,7 +65,6 @@ config BR2_GCC_VERSION
|
||||
default "12.5.0" if BR2_GCC_VERSION_12_X
|
||||
default "13.4.0" if BR2_GCC_VERSION_13_X
|
||||
default "14.4.0" if BR2_GCC_VERSION_14_X
|
||||
default "arc-2023.09-release" if BR2_GCC_VERSION_ARC
|
||||
|
||||
config BR2_EXTRA_GCC_CONFIG_OPTIONS
|
||||
string "Additional gcc options"
|
||||
|
||||
@@ -7,8 +7,6 @@ sha512 9b4b83ecf51ef355b868608b8d257b2fa435c06d2719cb86657a7c2c2a0828ff4ce04e9b
|
||||
# From https://gcc.gnu.org/pub/gcc/releases/gcc-14.4.0/sha512.sum
|
||||
sha512 725ed8bdd43ef1726ffe8b5e8615a13e247fac9575b7626ae013a2975d000ea213212dc414b2f2631ac4785c1c8beca85555222faf9904d3b2fa6a3807a83a15 gcc-14.4.0.tar.xz
|
||||
|
||||
# Locally calculated (fetched from Github)
|
||||
sha512 4dca20f517a42bb027fec605965b09fb917a535eebf3fe3e811d93476b02b1962df5ad4665f117bd44c2ec8e8015d51a44c00591761fe5f259c201ac5c7d920f gcc-arc-2023.09-release.tar.gz
|
||||
# Locally calculated (fetched from Github)
|
||||
sha512 2de7cf47333a4092b02d3bb98f4206f14966f1d139a724d09cf3b22f8a43ae0c704f33e6477d6367a03c29b265480dc900169e9d417006c5d46f0ae446b8c6f1 gcc-or1k-musl-5.4.0-20170218.tar.gz
|
||||
|
||||
|
||||
@@ -9,14 +9,8 @@
|
||||
#
|
||||
|
||||
GCC_VERSION = $(call qstrip,$(BR2_GCC_VERSION))
|
||||
|
||||
ifeq ($(BR2_GCC_VERSION_ARC),y)
|
||||
GCC_SITE = $(call github,foss-for-synopsys-dwc-arc-processors,gcc,$(GCC_VERSION))
|
||||
GCC_SOURCE = gcc-$(GCC_VERSION).tar.gz
|
||||
else
|
||||
GCC_SITE = $(BR2_GNU_MIRROR:/=)/gcc/gcc-$(GCC_VERSION)
|
||||
GCC_SOURCE = gcc-$(GCC_VERSION).tar.xz
|
||||
endif
|
||||
|
||||
HOST_GCC_LICENSE = GPL-2.0, GPL-3.0, LGPL-2.1, LGPL-3.0
|
||||
HOST_GCC_LICENSE_FILES = COPYING COPYING3 COPYING.LIB COPYING3.LIB
|
||||
|
||||
@@ -94,9 +94,5 @@ ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),)
|
||||
HARFBUZZ_CXXFLAGS += $(TARGET_CXXFLAGS) -DHB_NO_MT
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_GCC_VERSION_ARC),y)
|
||||
HARFBUZZ_CXXFLAGS += -O0
|
||||
endif
|
||||
|
||||
$(eval $(meson-package))
|
||||
$(eval $(host-meson-package))
|
||||
|
||||
Reference in New Issue
Block a user