From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=49217 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJuLo-0006rE-A4 for qemu-devel@nongnu.org; Wed, 02 Jun 2010 16:15:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OJuLn-0002tk-1E for qemu-devel@nongnu.org; Wed, 02 Jun 2010 16:15:44 -0400 Received: from adelie.canonical.com ([91.189.90.139]:58004) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJuLm-0002td-Px for qemu-devel@nongnu.org; Wed, 02 Jun 2010 16:15:43 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by adelie.canonical.com with esmtp (Exim 4.69 #1 (Debian)) id 1OJuLk-0001ES-Mw for ; Wed, 02 Jun 2010 21:15:41 +0100 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id F25392E80F8 for ; Wed, 2 Jun 2010 21:15:35 +0100 (BST) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Wed, 02 Jun 2010 20:09:16 -0000 From: Anthony Liguori Sender: bounces@canonical.com References: <20090629161318.12033.83568.malonedeb@palladium.canonical.com> Message-Id: <20100602200916.14606.9258.launchpad@wampee.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 393531] Re: broken qemu linux-user build on ppc Reply-To: Bug 393531 <393531@bugs.launchpad.net> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org ** Changed in: qemu Status: New =3D> Fix Released -- = broken qemu linux-user build on ppc https://bugs.launchpad.net/bugs/393531 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. Status in QEMU: Fix Released Bug description: kvm-87 build fails on ppc, kvm-86 builds fine. https://koji.fedoraproject.org/koji/getfile?taskID=3D1441042&name=3Dbuild= .log gcc -I. -I.. -I/builddir/build/BUILD/qemu-kvm-devel-87/target-i386 -I/builddir/build/BUILD/qemu-kvm-devel-87 -MMD -MT elfload.o -MP -DNEED_CPU_H -D_GNU_SOURCE -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -D__user=3D -I/builddir/build/BUILD/qemu-kvm-devel-87/tcg -I/builddir/build/BUILD/qemu-kvm-devel-87/tcg/ppc64 -I/builddir/build/BUILD/qemu-kvm-devel-87/fpu -I/builddir/build/BUILD/qemu-kvm-devel-87/linux-user -I/builddir/build/BUILD/qemu-kvm-devel-87/linux-user/i386 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fstack-protector --param=3Dssp-buffer-size=3D4 -m64 -mminimal-toc -g -fno-strict-aliasing -O2 -Wall -Wundef -Wendif-labels -Wwrite-strings -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -c -o elfload.o /builddir/build/BUILD/qemu-kvm-devel-87/linux-user/elfload.c /builddir/build/BUILD/qemu-kvm-devel-87/linux-user/elfload.c:214: error: = conflicting types for 'elf_greg_t' /usr/include/asm/elf.h:123: note: previous declaration of 'elf_greg_t' wa= s here /builddir/build/BUILD/qemu-kvm-devel-87/linux-user/elfload.c:220: error: = conflicting types for 'elf_gregset_t' /usr/include/asm/elf.h:124: note: previous declaration of 'elf_gregset_t'= was here In file included from /builddir/build/BUILD/qemu-kvm-devel-87/linux-user/= elfload.c:697: ../elf.h:457:1: warning: "R_PPC_NUM" redefined In file included from /usr/include/asm/sigcontext.h:13, from /usr/include/bits/sigcontext.h:28, from /usr/include/signal.h:339, from /builddir/build/BUILD/qemu-kvm-devel-87/linux-user/= qemu.h:4, from /builddir/build/BUILD/qemu-kvm-devel-87/linux-user/= elfload.c:16: /usr/include/asm/elf.h:81:1: warning: this is the location of the previou= s definition also this: /builddir/build/BUILD/qemu-kvm-devel-87/linux-user/elfload.c:433: error: = expected identifier before numeric constant Problem seems to be that signal.h is pulling in a bunch of ppc kernel heade= rs which expose elf_greg_t, R_PPC_* and PPC_FEATURE_*. I think this what malc may be talking about in this commit: http://git.savannah.gnu.org/cgit/qemu.git/commit/?id=3Da6cc84f49