From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753011AbbCaXYp (ORCPT ); Tue, 31 Mar 2015 19:24:45 -0400 Received: from ozlabs.org ([103.22.144.67]:55251 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751595AbbCaXYn (ORCPT ); Tue, 31 Mar 2015 19:24:43 -0400 Message-ID: <1427844281.4256.3.camel@ellerman.id.au> Subject: Re: linux-next: Tree for Mar 31 (build failures and culprits) From: Michael Ellerman To: Greg Kroah-Hartman Cc: Guenter Roeck , Stephen Rothwell , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Tony Lindgren , Felipe Balbi , Ard Biesheuvel , Russell King , Arnd Bergmann , Lad@roeck-us.net, Prabhakar , Thomas Gleixner , Daniel Mack , Mikko Perttunen , Thierry Reding Date: Wed, 01 Apr 2015 10:24:41 +1100 In-Reply-To: <20150331230749.GA6564@kroah.com> References: <20150401000221.21961ecd@canb.auug.org.au> <20150331161640.GA16540@roeck-us.net> <20150331230749.GA6564@kroah.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.10-0ubuntu1~14.10.1 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2015-04-01 at 01:07 +0200, Greg Kroah-Hartman 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 just 'make headers_install' before building the samples should do it. cheers