From ee7cf14b5188aca5f17dd38ab0b6673d5789942b Mon Sep 17 00:00:00 2001 From: Giulio Benetti Date: Sun, 5 Feb 2023 22:25:21 +0100 Subject: [PATCH] toolchain/Config.in: extend gcc bug 43744 to every sh architecture Gcc bug 43744 affects seems to affect all SH family because it already affects: 1) sh4, here you can find a buildroot defconfig that fails to build: http://autobuild.buildroot.net/results/1db/1db6c59c98e3c09fa13277076ee2fbe7967f1f6b/defconfig 2) sh4a, here you can find a buildroot defconfig that fails to build: http://autobuild.buildroot.net/results/cf272cdc5be2faf4070de3d235ec7a0f7190867a/defconfig Note also that gcc bugzilla entry reports the bug for SH and not for sub-architectures: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43744 So let's extend the bug to BR2_sh to match the entire SH architecture. Signed-off-by: Giulio Benetti Signed-off-by: Thomas Petazzoni --- toolchain/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolchain/Config.in b/toolchain/Config.in index 544b423001..01215e0e96 100644 --- a/toolchain/Config.in +++ b/toolchain/Config.in @@ -115,7 +115,7 @@ config BR2_TOOLCHAIN_HAS_GCC_BUG_43744 bool default y if !BR2_TOOLCHAIN_GCC_AT_LEAST_8 default y if BR2_TOOLCHAIN_GCC_AT_LEAST_9 - depends on BR2_sh4 + depends on BR2_sh # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63261. This bug no # longer exists in gcc 8.x.