From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34468) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yg2in-0006LD-EQ for qemu-devel@nongnu.org; Wed, 08 Apr 2015 23:01:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yg2ik-0006Gw-84 for qemu-devel@nongnu.org; Wed, 08 Apr 2015 23:01:37 -0400 Message-ID: <5525EB8B.5030501@suse.de> Date: Thu, 09 Apr 2015 05:01:31 +0200 From: =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] seccomp breakage on arm List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel , Eduardo Otubo , Marcus Meissner Cc: Peter Maydell , Riku Voipio , qemu-ppc , Alexander Graf Hello, I am seeing the following build failure on openSUSE Tumbleweed armv7l with --enable-seccomp in v2.3.0-rc2: [ 551s] In file included from qemu-seccomp.c:16:0: [ 551s] /usr/include/libseccomp/seccomp.h:177:23: error: '__NR_mmap' undeclared here (not in a function) [ 551s] #define SCMP_SYS(x) (__NR_##x) [ 551s] ^ [ 551s] qemu-seccomp.c:36:7: note: in expansion of macro 'SCMP_SYS' [ 551s] { SCMP_SYS(mmap), 247 }, [ 551s] ^ [ 551s] /usr/include/libseccomp/seccomp.h:177:23: error: '__NR_getrlimit' undeclared here (not in a function) [ 551s] #define SCMP_SYS(x) (__NR_##x) [ 551s] ^ [ 551s] qemu-seccomp.c:57:7: note: in expansion of macro 'SCMP_SYS' [ 551s] { SCMP_SYS(getrlimit), 245 }, [ 551s] ^ [ 551s] /home/abuild/rpmbuild/BUILD/qemu-2.3.0-rc2/rules.mak:57: recipe for target 'qemu-seccomp.o' failed [ 551s] make: *** [qemu-seccomp.o] Error 1 Is this a problem with libseccomp 2.2.0 / master and needs to be fixed in the library? Or do we need to #ifdef some syscalls in qemu-seccomp.c? aarch64 builds fine. For ppc and ppc64 we're carrying a libseccomp patch in openSUSE, those build okay then; ppc64le is still missing in libseccom= p. Regards, Andreas --=20 SUSE Linux GmbH, Maxfeldstr. 5, 90409 N=C3=BCrnberg, Germany GF: Felix Imend=C3=B6rffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu, Graham Norton; HRB 21284 (AG N=C3=BCrnberg)