From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KkIEm-0003HM-3Y for qemu-devel@nongnu.org; Mon, 29 Sep 2008 08:52:28 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KkIEj-0003G2-7J for qemu-devel@nongnu.org; Mon, 29 Sep 2008 08:52:27 -0400 Received: from [199.232.76.173] (port=47061 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KkIEj-0003Fz-3M for qemu-devel@nongnu.org; Mon, 29 Sep 2008 08:52:25 -0400 Received: from moutng.kundenserver.de ([212.227.126.171]:63896) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KkIEi-0002ca-Ok for qemu-devel@nongnu.org; Mon, 29 Sep 2008 08:52:25 -0400 Message-ID: <48E0CF86.7050807@opensuse.org> Date: Mon, 29 Sep 2008 14:52:22 +0200 From: Martin Mohring MIME-Version: 1.0 Subject: Re: [Qemu-devel] latest svn sparc-softmmu compile warnings References: <48E0205B.40205@earthlink.net> <48E0228B.7060405@earthlink.net> <48E08F44.6030301@opensuse.org> <48E0BB10.2050201@earthlink.net> <48E0C83B.3090604@opensuse.org> <48E0C916.9000208@opensuse.org> In-Reply-To: <48E0C916.9000208@opensuse.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Martin Mohring wrote: > Martin Mohring wrote: > >> Robert Reif wrote: >> >> >>> Martin Mohring wrote: >>> >>> >>>> Still get this on i586 host for tcg-dyngen.c on i586, arm, cris, >>>> m68k.... Using svn trunk -r 5349 here. host os openSUSE 11.0, kernel >>>> headers host 2.6.25. >>>> >>>> >>>> >>>> >>> It turns out patch 5174 introduced this warning. >>> The following patch fixes it but I don't know if its the best way to >>> fix it. >>> >>> >> Yes, now on openSUSE 11.0 the warning is gone. But now I get a >> compilation error on Fedora 8/i586 host (I am doing both, Fedora 8 and >> openSUSE 11.0) with that fix: >> >> > Sorry, wrong log. Now the correct error log (for Fedora 8, i586 host): > > gcc -I. -I.. -I/usr/src/redhat/BUILD/qemu-0.9.2svn5349/target-ppc > -I/usr/src/redhat/BUILD/qemu-0.9.2svn5349 -MMD -MT tcg/tcg.o -MP > -DNEED_CPU_H -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE > -I/usr/src/redhat/BUILD/qemu-0.9.2svn5349/tcg > -I/usr/src/redhat/BUILD/qemu-0.9.2svn5349/tcg/i386 > -I/usr/src/redhat/BUILD/qemu-0.9.2svn5349/fpu -DHAS_AUDIO > -DHAS_AUDIO_CHOICE -I/usr/src/redhat/BUILD/qemu-0.9.2svn5349/slirp -O2 > -g -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables > -fno-strict-aliasing -O2 -g -fno-strict-aliasing -Wall -Wundef > -Wendif-labels -Wwrite-strings -m32 -c -o tcg/tcg.o > /usr/src/redhat/BUILD/qemu-0.9.2svn5349/tcg/tcg.c > gcc -I. -I.. -I/usr/src/redhat/BUILD/qemu-0.9.2svn5349/target-ppc > -I/usr/src/redhat/BUILD/qemu-0.9.2svn5349 -MMD -MT tcg/tcg-dyngen.o -MP > -DNEED_CPU_H -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE > -I/usr/src/redhat/BUILD/qemu-0.9.2svn5349/tcg > -I/usr/src/redhat/BUILD/qemu-0.9.2svn5349/tcg/i386 > -I/usr/src/redhat/BUILD/qemu-0.9.2svn5349/fpu -DHAS_AUDIO > -DHAS_AUDIO_CHOICE -I/usr/src/redhat/BUILD/qemu-0.9.2svn5349/slirp -O2 > -g -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables > -fno-strict-aliasing -O2 -g -fno-strict-aliasing -Wall -Wundef > -Wendif-labels -Wwrite-strings -m32 -c -o tcg/tcg-dyngen.o > /usr/src/redhat/BUILD/qemu-0.9.2svn5349/tcg/tcg-dyngen.c > In file included from > /usr/src/redhat/BUILD/qemu-0.9.2svn5349/tcg/tcg-dyngen.c:418: > ./op.h: In function 'dyngen_op': > ./op.h:988: error: 'store_booke_tsr' redeclared as different kind of symbol > /usr/src/redhat/BUILD/qemu-0.9.2svn5349/target-ppc/cpu.h:765: error: > previous declaration of 'store_booke_tsr' was here > ./op.h:997: error: 'store_booke_tcr' redeclared as different kind of symbol > /usr/src/redhat/BUILD/qemu-0.9.2svn5349/target-ppc/cpu.h:764: error: > previous declaration of 'store_booke_tcr' was here > ./op.h:1006: error: 'store_40x_sler' redeclared as different kind of symbol > /usr/src/redhat/BUILD/qemu-0.9.2svn5349/target-ppc/cpu.h:763: error: > previous declaration of 'store_40x_sler' was here > ./op.h:1015: error: 'store_40x_dbcr0' redeclared as different kind of symbol > /usr/src/redhat/BUILD/qemu-0.9.2svn5349/target-ppc/cpu.h:762: error: > previous declaration of 'store_40x_dbcr0' was here > ./op.h:1024: error: 'store_40x_pit' redeclared as different kind of symbol > /usr/src/redhat/BUILD/qemu-0.9.2svn5349/target-ppc/cpu.h:761: error: > previous declaration of 'store_40x_pit' was here > ./op.h:1033: error: 'load_40x_pit' redeclared as different kind of symbol > /usr/src/redhat/BUILD/qemu-0.9.2svn5349/target-ppc/cpu.h:760: error: > previous declaration of 'load_40x_pit' was here > ./op.h:1093: error: 'ppcemb_tlb_search' redeclared as different kind of > symbol > /usr/src/redhat/BUILD/qemu-0.9.2svn5349/target-ppc/cpu.h:772: error: > previous declaration of 'ppcemb_tlb_search' was here > ./op.h:1388: error: 'do_store_ibatu_601' redeclared as different kind of > symbol > /usr/src/redhat/BUILD/qemu-0.9.2svn5349/target-ppc/cpu.h:713: error: > previous declaration of 'do_store_ibatu_601' was here > ./op.h:1400: error: 'do_store_ibatl_601' redeclared as different kind of > symbol > /usr/src/redhat/BUILD/qemu-0.9.2svn5349/target-ppc/cpu.h:714: error: > previous declaration of 'do_store_ibatl_601' was here > ./op.h:1420: error: 'cpu_ppc601_store_rtcu' redeclared as different kind > of symbol > > Looks like with this include, for all distros in can build for (openSUSE 10.2,10.3,11.0+Fedora 8,9 on host i586 x86_64, all combinations), I now get this double inclusion error.