From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JFSGJ-0007Kq-1E for qemu-devel@nongnu.org; Thu, 17 Jan 2008 05:46:19 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JFSGH-0007Jt-D9 for qemu-devel@nongnu.org; Thu, 17 Jan 2008 05:46:17 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JFSGG-0007Jm-W4 for qemu-devel@nongnu.org; Thu, 17 Jan 2008 05:46:17 -0500 Received: from ns2.uludag.org.tr ([193.140.100.220] helo=uludag.org.tr) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JFSGG-0005Cq-8R for qemu-devel@nongnu.org; Thu, 17 Jan 2008 05:46:16 -0500 Received: from ninjamobile.local (unknown [85.96.241.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by uludag.org.tr (Postfix) with ESMTP id 8A3EA61F3BE1 for ; Thu, 17 Jan 2008 12:45:52 +0200 (EET) From: Ismail =?utf-8?q?D=C3=B6nmez?= Subject: Re: [Qemu-devel] [PATCH 0/5] Enable building of op.o on gcc4 Date: Thu, 17 Jan 2008 12:46:01 +0200 References: <478EF89C.60501@csgraf.de> In-Reply-To: <478EF89C.60501@csgraf.de> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200801171246.01670.ismail@pardus.org.tr> 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 Thursday 17 January 2008 08:41:32 tarihinde Alexander Graf =C5=9Funlar=C4= =B1 yazm=C4=B1=C5=9Ft=C4=B1: > Compiling qemu on gcc4 has been a long standing issue. During the time > several approaches came up, each more or less intrusive. > > I have collected the ones I found to be the cleanest, fixed PowerPC host > support with Michael Matz and am sending everything as a patchset now, > hoping that someone comments on these patches and they will finally get > included. > > Please test these patches on all platforms you have available. Thanks but ppc target doesn't work here with gcc 4.3 trunk , i686-linux : gcc -mtune=3Dnative -march=3Dnative -O2 -pipe -fomit-frame-pointer -Wstrict= =2Doverflow -Wall -O2 -g -fno-strict-aliasing -fomit-frame-pointer -I. -I..= =20 =2DI/var/pisi/qemu-0.9.1-9/work/qemu-0.9.1/target-ppc -I/var/pisi/qemu-0.9.= 1-9/work/qemu-0.9.1 -MMD -MP -DNEED_CPU_H -I/var/pisi/qemu-0.9.1-9/work/qem= u-0.9.1/linux-user=20 =2DI/var/pisi/qemu-0.9.1-9/work/qemu-0.9.1/linux-user/ppc -D_GNU_SOURCE -D_= =46ILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -I/var/pisi/qemu-0.9.1-9/work/q= emu-0.9.1/fpu-DHAS_AUDIO=20 =2DDHAS_AUDIO_CHOICE -I/var/pisi/qemu-0.9.1-9/work/qemu-0.9.1/slirp -c -= o=20 cpu-exec.o /var/pisi/qemu-0.9.1-9/work/qemu-0.9.1/cpu-exec.c =2E./dyngen -g -o gen-op.h op.o dyngen: ret or jmp expected at the end of op_divw This is for ppc-linux-user . Also arm-linux-user is broken : gcc -mtune=3Dnative -march=3Dnative -O2 -pipe -fomit-frame-pointer -Wstrict= =2Doverflow -Wall -O2 -g -fno-strict-aliasing -I. -I..=20 =2DI/var/pisi/qemu-0.9.1-9/work/qemu-0.9.1/target-mips -I/var/pisi/qemu-0.9= =2E1-9/work/qemu-0.9.1 -MMD -MP -DNEED_CPU_H=20 =2DI/var/pisi/qemu-0.9.1-9/work/qemu-0.9.1/linux-user -I/var/pisi/qemu-0.9.= 1-9/work/qemu-0.9.1/linux-user/mips -D_GNU_SOURCE -D_FILE_OFFSET_BITS=3D64= =20 =2DD_LARGEFILE_SOURCE -I/var/pisi/qemu-0.9.1-9/work/qemu-0.9.1/fpu -DHAS_A= UDIO -I/var/pisi/qemu-0.9.1-9/work/qemu-0.9.1/slirp -c -o=20 helper.o /var/pisi/qemu-0.9.1-9/work/qemu-0.9.1/target-mips/helper.c /var/pisi/qemu-0.9.1-9/work/qemu-0.9.1/target-arm/op_iwmmxt.c: In=20 function 'op_iwmmxt_movq_wRn_M0': /var/pisi/qemu-0.9.1-9/work/qemu-0.9.1/target-arm/op_iwmmxt.c:176: error:=20 unable to find a register to spill in class 'GENERAL_REGS' /var/pisi/qemu-0.9.1-9/work/qemu-0.9.1/target-arm/op_iwmmxt.c:176: error: t= his=20 is the insn: (insn:HI 8 17 18=20 2 /var/pisi/qemu-0.9.1-9/work/qemu-0.9.1/target-arm/op_iwmmxt.c:175 (set=20 (mem/s/j:DI (plus:SI (plus:SI (mult:SI (reg/f:SI 59) (const_int 8 [0x8])) (reg/f:SI 58 [ env.2032 ])) (const_int 4 [0x4])) [0 .iwmmxt.regs S8 A32]) (reg:DI 60 [ .iwmmxt.val ])) 63 {*movdi_2}=20 (expr_list:REG_DEAD (reg:DI 60 [ .iwmmxt.val ]) (expr_list:REG_DEAD (reg/f:SI 59) (expr_list:REG_DEAD (reg/f:SI 58 [ env.2032 ]) (nil))))) /var/pisi/qemu-0.9.1-9/work/qemu-0.9.1/target-arm/op_iwmmxt.c:176: confused= by=20 earlier errors, bailing out Thanks, ismail =2D-=20 Never learn by your mistakes, if you do you may never dare to try again.