From 3cc2fef0d2bb77b677e3c55643085bffc583db49 Mon Sep 17 00:00:00 2001 From: Romain Naour Date: Thu, 9 Jan 2025 00:05:15 +0100 Subject: [PATCH] arch: disable nios2 The nios2 architecture was deprecated in gcc-14 and has been removed in the upcoming gcc-15 [1][2]. Our last and only nios2 defconfig "qemu_nios2_10m50_defconfig" was removed in 2024.11 due to nios2 removal from Qemu 9.1.0 [3]. This patch only definitively hides the symbol. When all references to it are removed (to come in followup patches), we'll eventually remove the symbol altogether. [1] https://sourceware.org/pipermail/binutils/2024-April/133675.html [2] https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=e876acab6cdd84bb2b32c98fc69fb0ba29c81153 [3] f96b4c176f6e9d6c4374a0d322de672bf44c35bf Signed-off-by: Romain Naour Signed-off-by: Julien Olivain --- .defconfig | 1 - arch/Config.in | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.defconfig b/.defconfig index 7ab0c3fbf0..d25c62e104 100644 --- a/.defconfig +++ b/.defconfig @@ -12,7 +12,6 @@ BR2_i386=y # BR2_m68k is not set # BR2_mips is not set # BR2_mipsel is not set -# BR2_nios2 is not set # BR2_powerpc is not set # BR2_sh is not set # BR2_sparc is not set diff --git a/arch/Config.in b/arch/Config.in index 7da2dc69e4..6254cb6467 100644 --- a/arch/Config.in +++ b/arch/Config.in @@ -145,6 +145,7 @@ config BR2_mips64el config BR2_nios2 bool "Nios II" + depends on BR2_BROKEN select BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT select BR2_USE_MMU help