[Buildroot] [PATCH] trinity: needs __sync_val_compare_and_swap_4

Rahul Bedarkar rahulbedarkar89 at gmail.com
Tue Apr 18 09:54:49 UTC 2017


Hi Baruch,

On Tue, Apr 18, 2017 at 3:17 PM, Baruch Siach <baruch at tkos.co.il> wrote:
> 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.

SYNC_4 dependency is added in BR2_PACKAGE_TRINITY_ARCH_SUPPORTS which
is already a dependency of comment string.

Thanks,
Rahul



More information about the buildroot mailing list