From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46359) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xm3kZ-00020c-Nv for qemu-devel@nongnu.org; Wed, 05 Nov 2014 11:48:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xm3kU-0000gQ-Hp for qemu-devel@nongnu.org; Wed, 05 Nov 2014 11:48:03 -0500 Received: from mail-wi0-f180.google.com ([209.85.212.180]:62338) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xm3kU-0000gB-BG for qemu-devel@nongnu.org; Wed, 05 Nov 2014 11:47:58 -0500 Received: by mail-wi0-f180.google.com with SMTP id hi2so2585155wib.13 for ; Wed, 05 Nov 2014 08:47:57 -0800 (PST) From: Eduardo Otubo Date: Wed, 5 Nov 2014 17:47:47 +0100 Message-Id: <1415206067-8594-1-git-send-email-eduardo.otubo@profitbricks.com> Subject: [Qemu-devel] [PATCH] seccomp: change configure to avoid arm 32 to break List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: pmoore@redhat.com, peter.maydell@linaro.org, philipp.gesang@intra2net.com, Eduardo Otubo Right now seccomp is breaking the compilation of Qemu on armv7l due to libsecomp current lack of support for this arch. This problem is already fixed on libseccomp upstream but no release date for that is scheduled to far. This patch disables support for seccomp on armv7l temporarily until libseccomp does a new release. Then I'll remove the hack and update libseccomp dependency on configure script. Related bug: https://bugs.launchpad.net/qemu/+bug/1363641 Signed-off-by: Eduardo Otubo --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 2f17bf3..2ec04b0 100755 --- a/configure +++ b/configure @@ -1822,7 +1822,7 @@ fi ########################################## # libseccomp check -if test "$seccomp" != "no" ; then +if test "$seccomp" != "no" && test "$cpu" != "arm" ; then if $pkg_config --atleast-version=2.1.0 libseccomp; then libs_softmmu="$libs_softmmu `$pkg_config --libs libseccomp`" QEMU_CFLAGS="$QEMU_CFLAGS `$pkg_config --cflags libseccomp`" -- 1.9.1