buildroot/package/trinity/Config.in
Rahul Bedarkar 44a8c5dc82 trinity: needs __sync_val_compare_and_swap_4
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@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-04-18 17:41:00 +02:00

24 lines
827 B
Plaintext

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
config BR2_PACKAGE_TRINITY
bool "trinity"
depends on BR2_PACKAGE_TRINITY_ARCH_SUPPORTS
depends on !BR2_TOOLCHAIN_USES_MUSL # FTW_ACTIONRETVAL
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 # IPV6_UNICAST_IF
help
A Linux System call fuzz tester
http://codemonkey.org.uk/projects/trinity/
comment "trinity needs a uClibc or glibc toolchain w/ headers >= 3.4"
depends on BR2_PACKAGE_TRINITY_ARCH_SUPPORTS
depends on BR2_TOOLCHAIN_USES_MUSL || \
!BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4