toolchain: m68k coldfire is also affected by gcc bug 64735
authorJan Heylen <jan.heylen@nokia.com>
Thu, 4 Jan 2018 12:28:30 +0000 (13:28 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 7 Jan 2018 20:56:59 +0000 (21:56 +0100)
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@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
toolchain/toolchain-common.in

index d743c637ceee05b510b5118cedf21f882099d54b..00007133311edc9412e31e220cff103e89186d64 100644 (file)
@@ -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