From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [qemu-kvm] build fail on i386 RHEL5u4 Date: Tue, 17 Aug 2010 12:30:33 +0300 Message-ID: <4C6A56B9.7000501@redhat.com> References: <4C680807.3080303@redhat.com> <4C68FAF2.6080802@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "kvm@vger.kernel.org" , "qemu-devel@nongnu.org" To: "Hao, Xudong" Return-path: Received: from mx1.redhat.com ([209.132.183.28]:17984 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932198Ab0HQJah (ORCPT ); Tue, 17 Aug 2010 05:30:37 -0400 In-Reply-To: <4C68FAF2.6080802@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On 08/16/2010 11:46 AM, Avi Kivity wrote: > On 08/16/2010 04:27 AM, Hao, Xudong wrote: >> >>> 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. >> Avi, >> Gcc44 works for me. >> I saw Jakub marked this bug closed with "only i486 support that, but >> RHEL5 use -march=i386", so do we have ongoing fix on qemu-kvm? > > Should be easy to add a ./configure test for this. > > Or, just use --extra-cflags=-march=i686 or similar. -- error compiling committee.c: too many arguments to function