diff mbox series

[2/2] package/gcc: disable GCC 14.x on Microblaze

Message ID 20250208150413.172911-2-thomas.petazzoni@bootlin.com
State Accepted
Delegated to: Julien Olivain
Headers show
Series [1/2] package/heimdal: host package needs host-libxcrypt | expand

Commit Message

Thomas Petazzoni Feb. 8, 2025, 3:04 p.m. UTC
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 <thomas.petazzoni@bootlin.com>
---
 package/gcc/Config.in.host | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

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