lkml.org 
[lkml]   [2015]   [Mar]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: linux-next: Tree for Mar 31 (build failures and culprits)
Hi Greg,

On Wed, 1 Apr 2015 01:07:49 +0200 Greg Kroah-Hartman <gregkh@linuxfoundation.org> wrote:
>
> On Tue, Mar 31, 2015 at 09:16:40AM -0700, Guenter Roeck wrote:
> >
> > alpha:allmodconfig
> > mips:allmodconfig
> >
> > samples/kdbus/kdbus-workers.c: In function ‘prime_new’:
> > samples/kdbus/kdbus-workers.c:930:18: error: ‘__NR_memfd_create’ undeclared
> > (first use in this function)
> > p->fd = syscall(__NR_memfd_create, "prime-area", MFD_CLOEXEC);
> >
> > Looks like the kdbus example never worked for the affected architectures.
> > I don't build allmodconfig for all architectures, so other architectures
> > may be affected as well.
>
> You need 3.17 kernel headers to have memfd_create, not much the kdbus
> test code can do about that. You might want to update the kernel
> headers for these build boxes.
>
> Or have we not hooked up memfd for alpha and mips?

alpha has no definition for __NR_memfd_create and doesn't use
asm-generic/unistd.h.

mips has a definition for __NR_memfd_create if _MIPS_SIM ==
_MIPS_SIM_ABI32, _MIPS_SIM_ABI64 or _MIPS_SIM_NABI32 (is there any
other alternative?).

--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2015-04-01 02:21    [W:0.132 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site