public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: "aurelien@aurel32.net" <aurelien@aurel32.net>
To: "Hao, Xudong" <xudong.hao@intel.com>
Cc: "kvm@vger.kernel.org" <kvm@vger.kernel.org>, Avi Kivity <avi@redhat.com>
Subject: Re: Qemu-kvm Build fail with function 'cirrus_bitblt_start' on RHEL5 system
Date: Mon, 10 Jan 2011 07:17:23 +0100	[thread overview]
Message-ID: <20110110061723.GD17026@hall.aurel32.net> (raw)
In-Reply-To: <BC00F5384FCFC9499AF06F92E8B78A9E1E71175883@shsmsx502.ccr.corp.intel.com>

On Mon, Jan 10, 2011 at 10:05:17AM +0800, Hao, Xudong wrote:
> Qemu-kvm commit 92d675d1c1f23f3617e24b63c825074a1d1da44b changed sx, dx and others variables into a judgement, there was a build failure on RHEL5 system. 
> 
> ...
>   CC    x86_64-softmmu/debugcon.o
> cc1: warnings being treated as errors
> /workspace/ia32-pae/nightly/qemu-kvm/hw/cirrus_vga.c: In function 'cirrus_bitblt_start':
> /workspace/ia32-pae/nightly/qemu-kvm/hw/cirrus_vga.c:678: warning: 'dx' may be used uninitialized in this function
> /workspace/ia32-pae/nightly/qemu-kvm/hw/cirrus_vga.c:677: warning: 'sx' may be used uninitialized in this function
> /workspace/ia32-pae/nightly/qemu-kvm/hw/cirrus_vga.c:679: warning: 'depth' may be used uninitialized in this function
> /workspace/ia32-pae/nightly/qemu-kvm/hw/cirrus_vga.c:678: warning: 'dy' may be used uninitialized in this function
> /workspace/ia32-pae/nightly/qemu-kvm/hw/cirrus_vga.c:677: warning: 'sy' may be used uninitialized in this function
>   CC    x86_64-softmmu/multiboot.o
> make[1]: *** [cirrus_vga.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
> make: *** [subdir-x86_64-softmmu] Error 2
> 

Yes, the code is correct, but some compilers choke on that, some not.
Anyway it's fixed in 78935c4a4bfec8ef2f4f924cfc35ac09a963e81e.

Aurelien

-- 
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net

      reply	other threads:[~2011-01-10  6:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-10  2:05 Qemu-kvm Build fail with function 'cirrus_bitblt_start' on RHEL5 system Hao, Xudong
2011-01-10  6:17 ` aurelien [this message]

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=20110110061723.GD17026@hall.aurel32.net \
    --to=aurelien@aurel32.net \
    --cc=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=xudong.hao@intel.com \
    /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