m68k: gcc coldfire does not provide _sync atomics
authorWaldemar Brodkorb <wbx@openadk.org>
Mon, 13 Jun 2016 06:03:03 +0000 (08:03 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 27 Jun 2016 13:06:25 +0000 (15:06 +0200)
Trying to use __sync_fetch_and_add ends with a gcc ICE.
This fixes following autobuild failure, by actually disabling
the package for coldfire:
http://autobuild.buildroot.net/results/d719db11210d42501332586b4485ab0cc1e125dd/

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
toolchain/toolchain-common.in

index 1fe28a9e55c29ea91b9572af0b732d6d64d1be82..847c90581e20d4eda711840d8e911160f6a917c1 100644 (file)
@@ -331,6 +331,7 @@ config BR2_TOOLCHAIN_HAS_SYNC_1
        bool
        default y
        depends on !BR2_bfin
+       depends on !BR2_m68k_cf
        depends on !BR2_microblaze
        depends on !BR2_sparc
        depends on !(BR2_arc && !BR2_ARC_ATOMIC_EXT)
@@ -342,6 +343,7 @@ config BR2_TOOLCHAIN_HAS_SYNC_2
 config BR2_TOOLCHAIN_HAS_SYNC_4
        bool
        default y
+       depends on !BR2_m68k_cf
        depends on !BR2_sparc
        depends on !(BR2_arc && !BR2_ARC_ATOMIC_EXT)