All of lore.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: "Hao, Xudong" <xudong.hao@intel.com>
Cc: "kvm@vger.kernel.org" <kvm@vger.kernel.org>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: [qemu-kvm] build fail on i386 RHEL5u4
Date: Sun, 15 Aug 2010 18:30:15 +0300	[thread overview]
Message-ID: <4C680807.3080303@redhat.com> (raw)
In-Reply-To: <BC00F5384FCFC9499AF06F92E8B78A9E0D4251CB9E@shsmsx502.ccr.corp.intel.com>

  On 08/11/2010 04:49 AM, Hao, Xudong wrote:
> Hi,
> Recently I build qemu-kvm on 32bit RHEL5u4/RHEL5u5, it will fail on fuction "vhost_dev_sync_region". But RHEL5u1 system is fine to build.
> Did anyone meet similar issue?
>
> qemu-kvm commit: 59d71ddb432db04b57ee2658ce50a3e35d7db97e
>
> build error:
> ...
>    CC    x86_64-softmmu/i8254.o
>    CC    x86_64-softmmu/i8254-kvm.o
>    CC    x86_64-softmmu/device-assignment.o
>    LINK  x86_64-softmmu/qemu-system-x86_64
> vhost.o: In function `vhost_dev_sync_region':
> /home/source/qemu-kvm/hw/vhost.c:47: undefined reference to `__sync_fetch_and_and_4'
> collect2: ld returned 1 exit status
> make[1]: *** [qemu-system-x86_64] Error 1
> make: *** [subdir-x86_64-softmmu] Error 2
>

Appears to be a gcc bug.  I opened 
https://bugzilla.redhat.com/show_bug.cgi?id=624279 to track this.

Meanwhile, installing the gcc44 package and building with it 
(./configure --cc=gcc44) appears to work.

-- 
error compiling committee.c: too many arguments to function


WARNING: multiple messages have this Message-ID (diff)
From: Avi Kivity <avi@redhat.com>
To: "Hao, Xudong" <xudong.hao@intel.com>
Cc: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
	"kvm@vger.kernel.org" <kvm@vger.kernel.org>
Subject: [Qemu-devel] Re: [qemu-kvm] build fail on i386 RHEL5u4
Date: Sun, 15 Aug 2010 18:30:15 +0300	[thread overview]
Message-ID: <4C680807.3080303@redhat.com> (raw)
In-Reply-To: <BC00F5384FCFC9499AF06F92E8B78A9E0D4251CB9E@shsmsx502.ccr.corp.intel.com>

  On 08/11/2010 04:49 AM, Hao, Xudong wrote:
> Hi,
> Recently I build qemu-kvm on 32bit RHEL5u4/RHEL5u5, it will fail on fuction "vhost_dev_sync_region". But RHEL5u1 system is fine to build.
> Did anyone meet similar issue?
>
> qemu-kvm commit: 59d71ddb432db04b57ee2658ce50a3e35d7db97e
>
> build error:
> ...
>    CC    x86_64-softmmu/i8254.o
>    CC    x86_64-softmmu/i8254-kvm.o
>    CC    x86_64-softmmu/device-assignment.o
>    LINK  x86_64-softmmu/qemu-system-x86_64
> vhost.o: In function `vhost_dev_sync_region':
> /home/source/qemu-kvm/hw/vhost.c:47: undefined reference to `__sync_fetch_and_and_4'
> collect2: ld returned 1 exit status
> make[1]: *** [qemu-system-x86_64] Error 1
> make: *** [subdir-x86_64-softmmu] Error 2
>

Appears to be a gcc bug.  I opened 
https://bugzilla.redhat.com/show_bug.cgi?id=624279 to track this.

Meanwhile, installing the gcc44 package and building with it 
(./configure --cc=gcc44) appears to work.

-- 
error compiling committee.c: too many arguments to function

  reply	other threads:[~2010-08-15 15:30 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-11  1:49 [qemu-kvm] build fail on i386 RHEL5u4 Hao, Xudong
2010-08-11  1:49 ` [Qemu-devel] " Hao, Xudong
2010-08-15 15:30 ` Avi Kivity [this message]
2010-08-15 15:30   ` [Qemu-devel] " Avi Kivity
2010-08-16  1:27   ` Hao, Xudong
2010-08-16  1:27     ` [Qemu-devel] " Hao, Xudong
2010-08-16  8:46     ` Avi Kivity
2010-08-16  8:46       ` [Qemu-devel] " Avi Kivity
2010-08-17  9:30       ` Avi Kivity
2010-08-17  9:30         ` [Qemu-devel] " Avi Kivity
2010-08-18  0:59         ` Hao, Xudong
2010-08-18  0:59           ` [Qemu-devel] " Hao, Xudong

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=4C680807.3080303@redhat.com \
    --to=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=qemu-devel@nongnu.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 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.