[Buildroot] [PATCH] boost: fix build on ARC
Alexey Brodkin
Alexey.Brodkin at synopsys.com
Thu Aug 20 08:41:34 UTC 2015
Hi Peter, Thomas,
> -----Original Message-----
> From: Thomas Petazzoni [mailto:thomas.petazzoni at free-electrons.com]
> Sent: 20 августа 2015 г. 0:04
> To: Peter Korsgaard
> Cc: buildroot at uclibc.org; Alexey Brodkin
> Subject: Re: [PATCH] boost: fix build on ARC
>
> Peter,
>
> On Wed, 19 Aug 2015 22:57:56 +0200, Peter Korsgaard wrote:
> > >>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at free-electrons.com> writes:
> >
> > > This commit adds a patch to Boost to make it use the eventfd()
> > > function provided by the C library when uClibc is used, rather than
> > > falling back to using directly the __NR_eventfd system call. This
> > > fixes the build on ARC, which doesn't define __NR_eventfd.
> >
> > What does it then do? Only __NR_eventfd2?
In case of ARC as being one of very few architectures that closely follow kernel's UAPI
we don't support lots of obsolete things and __NR_eventfd is one of them.
And indeed __NR_eventfd2 is supported.
For a bit more details pls refer to this explanation:
http://lists.boost.org/Archives/boost/2015/07/224257.php
-Alexey
More information about the buildroot
mailing list