[Buildroot] [git commit] trinity: needs __sync_val_compare_and_swap_4

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Apr 18 15:41:00 UTC 2017


commit: https://git.buildroot.net/buildroot/commit/?id=44a8c5dc82d27ca9a05d8cb70af566f85ddee416
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

syscalls/futex.c uses sync_val_compare_and_swap(). So add dependency on
BR2_TOOLCHAIN_HAS_SYNC_4.

Fixes:
  http://autobuild.buildroot.net/results/17f/17f7fe79242a40ff3e588748230de7bf2a010941

Signed-off-by: Rahul Bedarkar <rahulbedarkar89 at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 package/trinity/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/trinity/Config.in b/package/trinity/Config.in
index 0ce1f9a..0fc737e 100644
--- a/package/trinity/Config.in
+++ b/package/trinity/Config.in
@@ -2,6 +2,7 @@ config BR2_PACKAGE_TRINITY_ARCH_SUPPORTS
 	bool
 	default y
 	depends on BR2_USE_MMU # fork()
+	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # __sync_val_compare_and_swap_4
 	depends on BR2_aarch64 || BR2_arm || BR2_armeb || BR2_i386 || \
 		BR2_mips || BR2_mipsel || BR2_powerpc || BR2_powerpc64 || \
 		BR2_powerpc64le || BR2_sparc || BR2_x86_64


More information about the buildroot mailing list