[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] (TEST) CFLAGS options + qemu 1.60
From: |
André Braga |
Subject: |
Re: [Qemu-devel] (TEST) CFLAGS options + qemu 1.60 |
Date: |
Thu, 29 Jul 2004 13:27:23 -0300 |
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
<address@hidden> 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
> address@hidden:~/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