qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: [qemu-kvm] build fail on i386 RHEL5u4


From: Avi Kivity
Subject: [Qemu-devel] Re: [qemu-kvm] build fail on i386 RHEL5u4
Date: Sun, 15 Aug 2010 18:30:15 +0300
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.7) Gecko/20100720 Fedora/3.1.1-1.fc13 Lightning/1.0b2pre Thunderbird/3.1.1

 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 via email to

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