qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefano Stabellini <stefano.stabellini@citrix.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Compilation error on Ubuntu 6.06 and 7.10 with gcc-3.4
Date: Sun, 27 Jan 2008 18:01:22 +0000	[thread overview]
Message-ID: <479CC6F2.6050207@citrix.com> (raw)
In-Reply-To: <479CBCF4.8000905@wasp.net.au>

I can confirm this, I have the same problem on Kubuntu 7.10 i386 using 
either gcc-3.4 or gcc-3.3.

Brad Campbell wrote:
> G'day all,
> 
> Getting this on my two development machines with up-to-date CVS as of now..
> 
> I did a complete directory removal and fresh CVS checkout just to be sure.
> 
> Configured with..
> 
> ./configure --target-list=i386-softmmu --enable-alsa
> 
> 
> gcc-3.4 -Wall -O2 -g -fno-strict-aliasing -fomit-frame-pointer -I. -I.. 
> -I/tracks/src/src/qemu/target-i386 -I/tracks/src/src/qemu -MMD -MP 
> -DNEED_CPU_H -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
> -I/tracks/src/src/qemu/fpu -DHAS_AUDIO -DHAS_AUDIO_CHOICE 
> -I/tracks/src/src/qemu/slirp    -c -o cpu-exec.o 
> /tracks/src/src/qemu/cpu-exec.c
> /tracks/src/src/qemu/cpu-exec.c: In function `cmp1':
> /tracks/src/src/qemu/cpu-exec.c:143: error: unable to find a register to 
> spill in class `DIREG'
> /tracks/src/src/qemu/cpu-exec.c:143: error: this is the insn:
> (insn:HI 15 62 16 0 /tracks/src/src/qemu/cpu-exec.c:140 (parallel [
>             (set (reg:SI 2 cx [64])
>                 (unspec:SI [
>                         (mem:BLK (reg/f:SI 66 [ s2 ]) [0 A8])
>                         (reg:QI 0 ax [68])
>                         (const_int 1 [0x1])
>                         (reg:SI 2 cx [67])
>                     ] 20))
>             (use (reg:SI 19 dirflag))
>             (clobber (reg/f:SI 66 [ s2 ]))
>             (clobber (reg:CC 17 flags))
>         ]) 632 {*strlenqi_1} (insn_list 11 (insn_list 12 (insn_list 13 
> (insn_list 14 (nil)))))
>     (expr_list:REG_DEAD (reg:SI 19 dirflag)
>         (expr_list:REG_DEAD (reg:SI 2 cx [67])
>             (expr_list:REG_DEAD (reg:QI 0 ax [68])
>                 (expr_list:REG_DEAD (reg/f:SI 66 [ s2 ])
>                     (expr_list:REG_UNUSED (reg:CC 17 flags)
>                         (expr_list:REG_UNUSED (reg/f:SI 66 [ s2 ])
>                             (expr_list:REG_EQUAL (unspec:SI [
>                                         (mem:BLK (reg/f:SI 66 [ s2 ]) [0 
> A8])
>                                         (reg:QI 0 ax [68])
>                                         (const_int 1 [0x1])
>                                         (reg:SI 2 cx [67])
>                                     ] 20)
>                                 (nil)))))))))
> /tracks/src/src/qemu/cpu-exec.c:143: confused by earlier errors, bailing 
> out
> make[1]: *** [cpu-exec.o] Error 1
> make[1]: Leaving directory `/tracks/src/src/qemu/i386-softmmu'
> make: *** [subdir-i386-softmmu] Error 2
> 
> brad@bklaptop2:/tracks/src/src/qemu$ gcc-3.4 --version
> gcc-3.4 (GCC) 3.4.6 (Ubuntu 3.4.6-1ubuntu2)
> Copyright (C) 2006 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> 
> Brad

  reply	other threads:[~2008-01-27 18:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-27 17:18 [Qemu-devel] Compilation error on Ubuntu 6.06 and 7.10 with gcc-3.4 Brad Campbell
2008-01-27 18:01 ` Stefano Stabellini [this message]
2008-01-27 19:24   ` Carlo Marcelo Arenas Belon
2008-01-28  8:16     ` Brad Campbell
2008-01-28 10:59       ` Stefano Stabellini
2008-01-28 11:07         ` Brad Campbell

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=479CC6F2.6050207@citrix.com \
    --to=stefano.stabellini@citrix.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).