From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BqDo1-0008VX-IK for qemu-devel@nongnu.org; Thu, 29 Jul 2004 12:30:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BqDny-0008V9-1K for qemu-devel@nongnu.org; Thu, 29 Jul 2004 12:30:57 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BqDnx-0008Uy-VU for qemu-devel@nongnu.org; Thu, 29 Jul 2004 12:30:54 -0400 Received: from [64.233.170.196] (helo=mproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BqDkZ-00058y-Ud for qemu-devel@nongnu.org; Thu, 29 Jul 2004 12:27:24 -0400 Received: by mproxy.gmail.com with SMTP id 74so20320rnk for ; Thu, 29 Jul 2004 09:27:23 -0700 (PDT) Message-ID: <2ad73a04072909275dceacc2@mail.gmail.com> Date: Thu, 29 Jul 2004 13:27:23 -0300 From: =?ISO-8859-1?Q?Andr=E9_Braga?= Subject: Re: [Qemu-devel] (TEST) CFLAGS options + qemu 1.60 In-Reply-To: <41091370.7070805@ambientebrasil.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <41091370.7070805@ambientebrasil.com.br> 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 That's a (now-)known bug... in GCC. =P It's good to see that more people are fiddling with the CFLAGS :D BTW, the makefiles are wrong in the sense that they don't respect the environment-set CFLAGS. I'll send a patch later tonight. On Thu, 29 Jul 2004 12:10:40 -0300, Leonardo Marques de Souza wrote: > Host machine: athlon-xp(2200+) 1800MHz > gcc version 3.3.4 (Debian 1:3.3.4-4) > libsdl-dev 1.2.7-7 > GNU Make 3.80 > > -march=pentium (OK) * > -march=k6-2 (OK) > -march=k6-3 (OK) (looking binary it is diferent than k6-2) > -march=k6-3 -m3dnow (OK) > -march=k6-2 -m3dnow (OK) > > * OK - > Windows 98SE + IExplorer + updates run OK > +------------------------------------------------------------ > -march=athlon -m3dnow (ERROR) > -march=athlon-xp -m3dnow (same ERROR as "athlon" option) > > make[1]: Entering directory `/root/qemu-0.6.0/i386' > gcc -Wall -O2 -march=athlon -m3dnow -fno-strict-aliasing > -fomit-frame-pointer -I. -I/root/qemu-0.6.0/target-i386 > -I/root/qemu-0.6.0 -D_GNU_SOURCE -I/root/qemu-0.6.0/slirp -c -o helper.o > /root/qemu-0.6.0/target-i386/helper.c > In file included from /root/qemu-0.6.0/target-i386/helper.c:2554: > /root/qemu-0.6.0/softmmu_template.h: In function `slow_ldq_mmu': > /root/qemu-0.6.0/softmmu_template.h:179: error: unable to find a > register to spill in class `GENERAL_REGS' > /root/qemu-0.6.0/softmmu_template.h:179: error: this is the insn: > (insn:HI 173 170 174 6 0x4160ff20 (parallel [ > (set (reg:DI 116) > (lshiftrt:DI (reg/v:DI 63) > (subreg:QI (reg:SI 115) 0))) > (clobber (scratch:SI)) > (clobber (reg:CC 17 flags)) > ]) 320 {lshrdi3_1} (insn_list 142 (insn_list 170 (nil))) > (expr_list:REG_DEAD (reg/v:DI 63) > (expr_list:REG_UNUSED (scratch:SI) > (expr_list:REG_UNUSED (reg:CC 17 flags) > (nil))))) > /root/qemu-0.6.0/softmmu_template.h:179: confused by earlier errors, > bailing out > make[1]: *** [helper.o] Error 1 > make[1]: Leaving directory `/root/qemu-0.6.0/i386' > make: *** [all] Error 1 > root@devel:~/qemu-0.6.0# > +---------------------------------------------------- > -- "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning" Rich Cook