Skip to contentSkip to conversation

m68k: gcc coldfire does not provide _sync atomics

PATCH New Waldemar Brodkorb 2 participants 2 messages Jun 13, 2016 – Jun 27, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 m68k: gcc coldfire does not provide _sync atomics

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/

---
 toolchain/toolchain-common.in | 2 ++
 1 file changed, 2 insertions(+)
toolchain/toolchain-common.in +2 -0
index 1fe28a9..847c905 100644
@@ -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)
 
Signature · 1 line
2.1.4
#1 lore raw

PATCH 1/1 m68k: gcc coldfire does not provide _sync atomics

Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Waldemar" == Waldemar Brodkorb <[email protected]> writes:

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/

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard