From 5f5e35104322e72a2d683248e86b157c9d0f2819 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sat, 8 Feb 2025 16:04:12 +0100 Subject: [PATCH] package/gcc: disable GCC 14.x on Microblaze GCC 14.x is badly broken on Microblaze, with important functions missing from libatomic, causing build failures in a huge number of packages. The issue has been reported upstream at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118280 but still isn't fixed. For the time being, let's disable GCC 14.x on Microblaze. Fixes: http://autobuild.buildroot.net/results/6fea0ecaa90b24da4e5575565b88018ea95e72c0/ Signed-off-by: Thomas Petazzoni Signed-off-by: Julien Olivain --- package/gcc/Config.in.host | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/gcc/Config.in.host b/package/gcc/Config.in.host index 911bc2f4de..10fe4bf609 100644 --- a/package/gcc/Config.in.host +++ b/package/gcc/Config.in.host @@ -44,6 +44,9 @@ config BR2_GCC_VERSION_14_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_CPU_HAS_SPE + # Severely broken on Microblaze + # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118280 + depends on !BR2_microblaze select BR2_TOOLCHAIN_GCC_AT_LEAST_14 endchoice