Skip to contentSkip to conversation

toolchain/Config.in: extend gcc bug 43744 to every sh architecture

Buildroot Thomas Petazzoni via buildroot 1 participant 1 message Feb 21, 2023

lore
Share & tools
lore
#0 lore raw

commit: https://git.buildroot.net/buildroot/commit/?id=ee7cf14b5188aca5f17dd38ab0b6673d5789942b
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/next

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.

---
 toolchain/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
toolchain/Config.in +1 -1
index 544b423001..01215e0e96 100644
@@ -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.

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot