[Buildroot] [arc-buildroot] [PATCH] linux-tools/perf: Add dependency on atomic ops for ARC

Alexey Brodkin Alexey.Brodkin at synopsys.com
Thu Apr 18 17:06:16 UTC 2019


Hi Thomas,

> -----Original Message-----
> From: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
> Sent: Thursday, April 18, 2019 12:41 PM
> To: Alexey Brodkin <abrodkin at synopsys.com>
> Cc: buildroot at busybox.net; ARC Buildroot mailing list <arc-buildroot at synopsys.com>
> Subject: Re: [arc-buildroot] [Buildroot] [PATCH] linux-tools/perf: Add dependency on atomic ops for
> ARC
> 
> Hello,
> 
> On Thu, 18 Apr 2019 12:30:25 +0300
> Alexey Brodkin <Alexey.Brodkin at synopsys.com> wrote:
> 
> > Atomic ops are strictly required by perf utility as it uses
> > atomic_xxx() functions.

[snip]
 
> Since the actual dependency is on sync builtins, can we use
> BR2_TOOLCHAIN_HAS_SYNC_4 instead ?
> 
> BR2_TOOLCHAIN_HAS_SYNC_4 is already defined like this:
> 
> config BR2_TOOLCHAIN_HAS_SYNC_4
>         bool
>         default y
>         depends on !BR2_m68k_cf
>         depends on !BR2_sparc
>         depends on !(BR2_arc && !BR2_ARC_ATOMIC_EXT)

That looks much better in fact, so re-spin is coming.
Thanks for the hint!

-Alexey



More information about the buildroot mailing list