qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

compilation problems (was: [Qemu-devel] Problem installing WIndows)


From: Thomas Schwinge
Subject: compilation problems (was: [Qemu-devel] Problem installing WIndows)
Date: Wed, 27 Jul 2005 16:48:59 +0200
User-agent: Mutt/1.4.2.1i

On Wed, Jul 27, 2005 at 01:45:26PM +0100, Paul Brook wrote:
> gcc3.4 works fine. I build qemu with it all the time.
> Some of the earlier versions would ICE while building the SSE emulation code 
> on some hosts, but recent versions should work.

One problem still exists:
#v+
gcc -I/package/misc/spf/qemu-0-20050726T193727Z-3/spf/zlib/include 
-I/package/misc/spf/qemu-0-20050726T193727Z-3/spf/sdl/include -O2 
-fno-strict-aliasing -O2 -pipe -march=athlon-xp -fomit-frame-pointer -I. 
-I/var/tmp/build/qemu/qemu-0/target-i386 -I/var/tmp/build/qemu/qemu-0 
-I/var/tmp/build/qemu/qemu-0/linux-user 
-I/var/tmp/build/qemu/qemu-0/linux-user/i386 -D_GNU_SOURCE 
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/var/tmp/build/qemu/qemu-0/fpu 
-I/var/tmp/build/qemu/qemu-0/slirp -c -o translate-copy.o 
/var/tmp/build/qemu/qemu-0/target-i386/translate-copy.c
/var/tmp/build/qemu/qemu-0/target-i386/ops_sse.h: In function `op_psrlq_mmx':
/var/tmp/build/qemu/qemu-0/target-i386/ops_sse.h:213: error: unable to find a 
register to spill in class `GENERAL_REGS'
/var/tmp/build/qemu/qemu-0/target-i386/ops_sse.h:213: error: this is the insn:
(insn:HI 36 35 37 3 (parallel [
            (set (reg:DI 63 [ <variable>.q ])
                (lshiftrt:DI (reg:DI 63 [ <variable>.q ])
                    (subreg:QI (reg/v:SI 60 [ shift ]) 0)))
            (clobber (scratch:SI))
            (clobber (reg:CC 17 flags))
        ]) 309 {lshrdi3_1} (insn_list 33 (insn_list 35 (nil)))
    (expr_list:REG_DEAD (reg/v:SI 60 [ shift ])
        (expr_list:REG_UNUSED (reg:CC 17 flags)
            (expr_list:REG_UNUSED (scratch:SI)
                (nil)))))
/var/tmp/build/qemu/qemu-0/target-i386/ops_sse.h:213: confused by earlier 
errors, bailing out
make[1]: *** [op.o] Error 1
#v-

The problem goes away if I build with '-march=pentium' instead of
'-march=athlon-xp'.


Regards,
 Thomas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]