Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753702AbbG2QT1 (ORCPT ); Wed, 29 Jul 2015 12:19:27 -0400 Received: from mail1.windriver.com ([147.11.146.13]:58832 "EHLO mail1.windriver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751206AbbG2QTZ (ORCPT ); Wed, 29 Jul 2015 12:19:25 -0400 Date: Wed, 29 Jul 2015 12:19:12 -0400 From: Paul Gortmaker To: CC: , , , , , Subject: samples/kdbus/kdbus-workers.c and cross compiling MIPS Message-ID: <20150729161912.GF18685@windriver.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1239 Lines: 28 Hi David, Does it make sense to build this sample when cross compiling? The reason I ask is that it has been breaking the linux-next build of allmodconfig for a while now, with: HOSTCC samples/kdbus/kdbus-workers samples/kdbus/kdbus-workers.c: In function ‘prime_new’: samples/kdbus/kdbus-workers.c:934:18: error: ‘__NR_memfd_create’ undeclared (first use in this function) p->fd = syscall(__NR_memfd_create, "prime-area", MFD_CLOEXEC); ^ samples/kdbus/kdbus-workers.c:934:18: note: each undeclared identifier is reported only once for each function it appears in scripts/Makefile.host:91: recipe for target 'samples/kdbus/kdbus-workers' failed make[2]: *** [samples/kdbus/kdbus-workers] Error 1 http://kisskb.ellerman.id.au/kisskb/buildresult/12473453/ We recently made some changes to skip other sample/test programs when cross compiling in mainline 65f6f092a6987 and f59514b6a8c5ca6dd and 6a407a81a9abcf. Maybe it makes sense to do the same here? Paul. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/