[Buildroot] [git commit] msgpack: disable for ARC

Peter Korsgaard peter at korsgaard.com
Wed Jun 18 12:20:27 UTC 2014


commit: http://git.buildroot.net/buildroot/commit/?id=1e330a88b92b8fea5ff3cdfeb62cbb4576b383b1
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

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

Signed-off-by: Gustavo Zacarias <gustavo at zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/msgpack/Config.in        |    2 ++
 package/python-msgpack/Config.in |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/package/msgpack/Config.in b/package/msgpack/Config.in
index daa4fdd..b380c58 100644
--- a/package/msgpack/Config.in
+++ b/package/msgpack/Config.in
@@ -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
diff --git a/package/python-msgpack/Config.in b/package/python-msgpack/Config.in
index 2075ee6..c4b68a3 100644
--- a/package/python-msgpack/Config.in
+++ b/package/python-msgpack/Config.in
@@ -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


More information about the buildroot mailing list