From 365f22960d9f024c7566290b133b65ed8ad21739 Mon Sep 17 00:00:00 2001 From: Giulio Benetti Date: Sun, 6 Aug 2023 23:51:26 +0200 Subject: [PATCH] toolchain: introduce BR2_TOOLCHAIN_HAS_BINUTILS_BUG_30730 libheif package fails to build for the M68K architecture due to a binutils bug that leads to: Internal error in emit_expr_encoded at dw2gencfi.c:215 Let's add binutils bug to avoid to deal with architectures in packages when a binutils bug arises. Let's instead deal directly with binutils bug number. It's been reported upstream: https://sourceware.org/bugzilla/show_bug.cgi?id=30730 Signed-off-by: Giulio Benetti Signed-off-by: Thomas Petazzoni --- toolchain/Config.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/toolchain/Config.in b/toolchain/Config.in index 9d390ab11e..a37933bc12 100644 --- a/toolchain/Config.in +++ b/toolchain/Config.in @@ -77,6 +77,12 @@ config BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597 bool default y if BR2_nios2 +# https://sourceware.org/bugzilla/show_bug.cgi?id=30730 +# Affect toolchains built with binutils 2.40, still not fixed. +config BR2_TOOLCHAIN_HAS_BINUTILS_BUG_30730 + bool + default y if BR2_m68k_cf + # Atomic types can be: # - never lock-free # - sometimes lock-free