Skip to contentSkip to conversation

msgpack: disable for ARC

PATCH New Gustavo Zacarias 2 participants 2 messages Jun 16, 2014 – Jun 18, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 msgpack: disable for ARC

msgpack uses the __sync_fetch_and_add() atomic primitive that is not available for ARC. Fixes:
http://autobuild.buildroot.net/results/829/8292e67354602738cae12d8ebea83b513ba35482/

---
 package/msgpack/Config.in        | 2 ++
 package/python-msgpack/Config.in | 2 ++
 2 files changed, 4 insertions(+)
package/msgpack/Config.in +2 -0
index daa4fdd..b380c58 100644
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_MSGPACK
 	bool "msgpack"
 	depends on BR2_INSTALL_LIBSTDCPP
+	depends on !BR2_arc # atomic builtins
 	help
 	  MessagePack is an efficient binary serialization format.
 
@@ -11,3 +12,4 @@ config BR2_PACKAGE_MSGPACK
 
 comment "msgpack needs a toolchain w/ C++"
 	depends on !BR2_INSTALL_LIBSTDCPP
+	depends on !BR2_arc
package/python-msgpack/Config.in +2 -0
index 2075ee6..c4b68a3 100644
@@ -3,6 +3,7 @@ config BR2_PACKAGE_PYTHON_MSGPACK
 	depends on BR2_PACKAGE_PYTHON
 	select BR2_PACKAGE_MSGPACK
 	depends on BR2_INSTALL_LIBSTDCPP # msgpack
+	depends on !BR2_arc # msgpack - atomic builtins
 	help
 	  MessagePack (http://msgpack.org/) is a fast, compact binary
 	  serialization format, suitable for similar data to JSON.
@@ -14,3 +15,4 @@ config BR2_PACKAGE_PYTHON_MSGPACK
 comment "python-msgpack needs a toolchain w/ C++"
 	depends on BR2_PACKAGE_PYTHON
 	depends on !BR2_INSTALL_LIBSTDCPP
+	depends on !BR2_arc
Signature · 1 line
1.8.5.5