Received: from eggs.gnu.org ([2001:4830:134:3::10]:59567) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2wkF-000407-Vy for qemu-devel@nongnu.org; Wed, 18 May 2016 04:22:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b2wkB-00014O-MY for qemu-devel@nongnu.org; Wed, 18 May 2016 04:22:18 -0400 Received: from e06smtp12.uk.ibm.com ([195.75.94.108]:50237) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2wkB-000145-D9 for qemu-devel@nongnu.org; Wed, 18 May 2016 04:22:15 -0400 Received: from localhost by e06smtp12.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 18 May 2016 09:22:13 +0100 Received: from b06cxnps3074.portsmouth.uk.ibm.com (d06relay09.portsmouth.uk.ibm.com [9.149.109.194]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id 401FC17D805D for ; Wed, 18 May 2016 09:22:51 +0100 (BST) Received: from d06av03.portsmouth.uk.ibm.com (d06av03.portsmouth.uk.ibm.com [9.149.37.213]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u4I8LoDq66256928 for ; Wed, 18 May 2016 08:21:50 GMT Received: from d06av03.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av03.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u4I8Lo5d016342 for ; Wed, 18 May 2016 02:21:50 -0600 Date: Wed, 18 May 2016 10:21:47 +0200 From: Cornelia Huck Message-ID: <20160518102147.30c63802.cornelia.huck@de.ibm.com> In-Reply-To: <1463412982-6681-1-git-send-email-pbonzini@redhat.com> References: <1463412982-6681-1-git-send-email-pbonzini@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH CFT v3 00/50] NEED_CPU_H / cpu.h / hw/hw.h cleanups List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qemu-devel@nongnu.org, Thomas Huth On Mon, 16 May 2016 17:35:32 +0200 Paolo Bonzini wrote: > I compiled this on x64 Linux (all patches) and 32-bit ARM > Linux, and I will compile it on Win32 before sending a pull > request. I would appreciate people compile-testing it on s390 > and PPC. The changes are available in the git repository at > git://github.com/bonzini/qemu.git, branch need-cpu-h (SHA1 for the top > commit is b65f2d57b126883367fb81d54f383352b24029b1). Hmm... In file included from /root/git/qemu/include/sysemu/kvm.h:221:0, from /root/git/qemu/balloon.c:30: /root/git/qemu/target-s390x/cpu.h: In function =E2=80=98vregs_needed=E2=80= =99: /root/git/qemu/target-s390x/cpu.h:1241:9: error: implicit declaration of fu= nction =E2=80=98kvm_check_extension=E2=80=99 [-Werror=3Dimplicit-function-d= eclaration] return kvm_check_extension(kvm_state, KVM_CAP_S390_VECTOR_REGISTER= S); ^ /root/git/qemu/target-s390x/cpu.h:1241:9: error: nested extern declaration = of =E2=80=98kvm_check_extension=E2=80=99 [-Werror=3Dnested-externs] In file included from /root/git/qemu/balloon.c:30:0: /root/git/qemu/include/sysemu/kvm.h: At top level: /root/git/qemu/include/sysemu/kvm.h:401:5: error: redundant redeclaration o= f =E2=80=98kvm_check_extension=E2=80=99 [-Werror=3Dredundant-decls] int kvm_check_extension(KVMState *s, unsigned int extension); ^ In file included from /root/git/qemu/include/sysemu/kvm.h:221:0, from /root/git/qemu/balloon.c:30: /root/git/qemu/target-s390x/cpu.h:1241:16: note: previous implicit declarat= ion of =E2=80=98kvm_check_extension=E2=80=99 was here return kvm_check_extension(kvm_state, KVM_CAP_S390_VECTOR_REGISTER= S); ^ That's on one of my s390x systems; on another one (where I don't test), it builds. But something's wrong :)