[Buildroot] [PATCH] trinity: needs __sync_val_compare_and_swap_4

Baruch Siach baruch at tkos.co.il
Tue Apr 18 09:47:40 UTC 2017


Hi Rahul,

On Tue, Apr 18, 2017 at 02:56:30PM +0530, Rahul Bedarkar wrote:
> 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>
> ---
>  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

Please update the comment dependency as well.

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -


More information about the buildroot mailing list