[Buildroot] [git commit branch/2017.11.x] toolchain: m68k coldfire is also affected by gcc bug 64735

Peter Korsgaard peter at korsgaard.com
Mon Jan 8 21:39:50 UTC 2018


commit: https://git.buildroot.net/buildroot/commit/?id=13ade0145c2457f0a35a9519549f30da87579f03
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2017.11.x

Verified experimentally by using exception_ptr with m68k_cf5208 and
looking at the value of ATOMIC_INT_LOCK_FREE. ATOMIC_INT_LOCK_FREE=1,
so the issue is present. Also verified that gcc 7.x fixed it also for
cf5208.

Signed-off-by: Jan Heylen <jan.heylen at nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
(cherry picked from commit 98b3b83fb54323cd1be0f38084a51c4e0c939e65)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 toolchain/toolchain-common.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/toolchain/toolchain-common.in b/toolchain/toolchain-common.in
index d87d4d7..6c28599 100644
--- a/toolchain/toolchain-common.in
+++ b/toolchain/toolchain-common.in
@@ -22,6 +22,7 @@ config BR2_TOOLCHAIN_HAS_GCC_BUG_64735
 	default y if BR2_ARM_CPU_ARMV4
 	default y if BR2_ARM_CPU_ARMV5
 	default y if BR2_sparc_v8
+	default y if BR2_m68k_cf5208
 	depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_7
 
 config BR2_TOOLCHAIN_HAS_NATIVE_RPC


More information about the buildroot mailing list