@@ -216,6 +216,11 @@ config BR2_sh
config BR2_sparc
bool "SPARC"
select BR2_USE_MMU
+ # uClibc-ng broken on sparc due to recent gcc changes
+ # that need to be reverted since gcc 8.4, 9.3 and 10.1.
+ # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98784
+ # gcc <= 10.x has been removed from Buildroot.
+ select BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT
help
SPARC (from Scalable Processor Architecture) is a RISC
instruction set architecture (ISA) developed by Sun
@@ -38,10 +38,6 @@ config BR2_GCC_VERSION_11_X
# powerpc spe support has been deprecated since gcc 8.x.
# https://gcc.gnu.org/ml/gcc/2018-04/msg00102.html
depends on !BR2_powerpc_SPE
- # uClibc-ng broken on sparc due to recent gcc changes
- # that need to be reverted since gcc 8.4, 9.3 and 10.1.
- # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98784
- depends on !BR2_sparc
# ARC HS48 rel 31 only supported by gcc arc fork.
depends on !BR2_archs4x_rel31
select BR2_TOOLCHAIN_GCC_AT_LEAST_11
@@ -52,10 +48,6 @@ config BR2_GCC_VERSION_12_X
# powerpc spe support has been deprecated since gcc 8.x.
# https://gcc.gnu.org/ml/gcc/2018-04/msg00102.html
depends on !BR2_powerpc_SPE
- # uClibc-ng broken on sparc due to recent gcc changes
- # that need to be reverted since gcc 8.4, 9.3 and 10.1.
- # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98784
- depends on !BR2_sparc
# ARC HS48 rel 31 only supported by gcc arc fork.
depends on !BR2_archs4x_rel31
select BR2_TOOLCHAIN_GCC_AT_LEAST_12
@@ -65,10 +57,6 @@ config BR2_GCC_VERSION_13_X
# powerpc spe support has been deprecated since gcc 8.x.
# https://gcc.gnu.org/ml/gcc/2018-04/msg00102.html
depends on !BR2_powerpc_SPE
- # uClibc-ng broken on sparc due to recent gcc changes
- # that need to be reverted since gcc 8.4, 9.3 and 10.1.
- # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98784
- depends on !BR2_sparc
# ARC HS48 rel 31 only supported by gcc arc fork.
depends on !BR2_archs4x_rel31
select BR2_TOOLCHAIN_GCC_AT_LEAST_13
Since gcc 11 [1] the sparc architecture is disabled since it produce a non working image. Buildroot now provide gcc 13.x, 12.x and 11.x and we are going to remove gcc 10 that was the last working release (thanks to a local patch). We have to disable the internal toolchain backend for sparc before removing gcc 10. While at it, remove !BR2_sparc dependency for gcc 11.x, 12.x and 13.x. [1] 2ab88dac293aed5adf2504e8b182f9d8a306b935 Signed-off-by: Romain Naour <romain.naour@gmail.com> --- v2: disable disable internal toolchain backend for sparc --- arch/Config.in | 5 +++++ package/gcc/Config.in.host | 12 ------------ 2 files changed, 5 insertions(+), 12 deletions(-)