All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hetz Ben Hamo <hetzbh@gmail.com>
To: hc@studt.dk, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] ops sse.h:574: error: unable to find a register to spill in class âGENERAL REGSâ
Date: Mon, 5 Sep 2005 11:52:34 +0200	[thread overview]
Message-ID: <41e41e7a05090502524eb583b0@mail.gmail.com> (raw)
In-Reply-To: <20050905075806.GLRG21694.fep35.mail.dk@mail.dk>

Let me guess - you're using gcc 4?

GCC 4 and QEMU don' play together very well.
If you use GCC 4, then I suggest you should install the
gcc-compat-devel (and gcc-compat) RPMS and compile it with the gcc 3.x
compiler.

Hetz

On 9/5/05, Hans Christian Studt <hcstudt@post10.tele.dk> wrote:
> Guillaume POIRIER wrote:
> 
> >Hi,
> >
> >On 9/5/05, Hans Christian Studt <hcstudt@post10.tele.dk> wrote:
> >
> >>I get the error below when trying to compile version 0.7.2 with kqemu.
> >>
> >>I need help to figure out what the problem may be.
> >>
> >>(/user2/tux1700-user/home/hcs/Download/Qemu/qemu-0.7.2) $./configure
> >>Install prefix    /usr/local
> >>BIOS directory    /usr/local/share/qemu
> >>binary directory  /usr/local/bin
> >>Manual directory  /usr/local/share/man
> >>ELF interp prefix /usr/gnemul/qemu-%M
> >>Source path       /user2/tux1700-user/home/hcs/Download/Qemu/qemu-0.7.2
> >>C compiler        gcc
> >>Host C compiler   gcc
> >>make              make
> >>host CPU          i386
> >>host big endian   no
> >>target list       i386-user arm-user armeb-user sparc-user ppc-user i386-softmmu ppc-softmmu sparc-softmmu x86_64-softmmu mips-softmmu
> >>gprof enabled     no
> >>static build      no
> >>SDL support       yes
> >>SDL static link   yes
> >>mingw32 support   no
> >>Adlib support     no
> >>FMOD support      no
> >>kqemu support     yes
> >>
> >>KQEMU Linux module configuration:
> >>kernel sources    /lib/modules/2.6.12-1.1398_FC4/build
> >>kbuild type       2.6
> >>søp 04 20:06:16 (hcs)@(tux1700/2.6.12-1.1398_FC4)on(pts/35):
> >>(/user2/tux1700-user/home/hcs/Download/Qemu/qemu-0.7.2) $make
> >>:
> >>:
> >>:
> >>gcc -Wall -O2 -g -fno-strict-aliasing -fomit-frame-pointer -mpreferred-stack-boundary=2 -falign-functions=0 -fno-gcse -fno-reorder-blocks -fno-optimize-sibling-calls -I. -I/user2/tux1700-user/home/hcs/Download/Qemu/qemu-0.7.2/target-i386 -I/user2/tux1700-user/home/hcs/Download/Qemu/qemu-0.7.2 -I/user2/tux1700-user/home/hcs/Download/Qemu/qemu-0.7.2/linux-user -I/user2/tux1700-user/home/hcs/Download/Qemu/qemu-0.7.2/linux-user/i386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/user2/tux1700-user/home/hcs/Download/Qemu/qemu-0.7.2/fpu -I/user2/tux1700-user/home/hcs/Download/Qemu/qemu-0.7.2/slirp -c -o op.o /user2/tux1700-user/home/hcs/Download/Qemu/qemu-0.7.2/target-i386/op.c
> >>/user2/tux1700-user/home/hcs/Download/Qemu/qemu-0.7.2/target-i386/ops_sse.h: In function â_pshufw_mmxâ
> >>/user2/tux1700-user/home/hcs/Download/Qemu/qemu-0.7.2/target-i386/ops_sse.h:574: error: unable to find a register to spill in class âNERAL_REGSâ
> >>/user2/tux1700-user/home/hcs/Download/Qemu/qemu-0.7.2/target-i386/ops_sse.h:574: error: this is the insn:
> >>(insn:HI 18 17 19 0 /user2/tux1700-user/home/hcs/Download/Qemu/qemu-0.7.2/target-i386/ops_sse.h:569 (set (strict_low_part (subreg:HI (reg/v:DI 63 [ r ]) 0))
> >>        (mem/s/j:HI (plus:SI (mult:SI (reg:SI 64)
> >>                    (const_int 2 [0x2]))
> >>                (reg/v/f:SI 59 [ s ])) [0 <variable>._w S2 A16])) 41 {*movstricthi_1} (insn_list:REG_DEP_TRUE 16 (insn_list:REG_DEP_TRUE 12 (insn_list:REG_DEP_TRUE 53 (nil))))
> >>    (expr_list:REG_DEAD (reg:SI 64)
> >>        (nil)))
> >>/user2/tux1700-user/home/hcs/Download/Qemu/qemu-0.7.2/target-i386/ops_sse.h:574: confused by earlier errors, bailing out
> >>make[1]: *** [op.o] Error 1
> >>make[1]: Leaving directory `/user2/tux1700-user/home/hcs/Download/Qemu/qemu-0.7.2/i386-user'
> >>make: *** [all] Error 1
> >>Mon Sep 05 08:41:16 (hcs)@(tux1700/2.6.12-1.1398_FC4)on(pts/35):
> >
> >
> >I don't see what version you're using. Please try with a different
> >version, which may do the trick.
> >
> >Guillaume
> I am using these versions
> 
> -rw-rw-r--   1 hcs   79314 Sep  4 19:31 kqemu-0.7.2.tar.gz
> -rw-rw-r--   1 hcs 1341993 Sep  4 19:37 qemu-0.7.2.tar.gz
> 
> $head Changelog
> version 0.7.2:
> 
>  - x86_64 fixes (Win2000 and Linux 2.6 boot in 32 bit)
>  - merge self modifying code handling in dirty ram page mecanism.
> 
> $head kqemu/Changelog
> version 0.7.2:
> 
> - more precise segmentation support (aka Win98 support)
> - new API to track dirty RAM pages
> 
> Linux is Fedora Core 4
> kernel 2.6.12-1.1398_FC4
> 
> So which other versions should I try out ?
> 
> Mvh Hans Christian Studt
> Mobile +45 29 23 54 14
> hc[AT]studt[DOT]dk http://hc.studt.dk
> Powered by Linux 2.6.12-1.1398_FC4
> 
> 
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
>

  parent reply	other threads:[~2005-09-05 10:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-05  7:58 [Qemu-devel] ops sse.h:574: error: unable to find a register to spill in class âGENERAL REGSâ Hans Christian Studt
2005-09-05  9:20 ` Guillaume POIRIER
2005-09-05  9:52 ` Hetz Ben Hamo [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-09-05  6:51 Hans Christian Studt
2005-09-05  7:42 ` Guillaume POIRIER

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41e41e7a05090502524eb583b0@mail.gmail.com \
    --to=hetzbh@gmail.com \
    --cc=hc@studt.dk \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.