From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: KVM-87 compile failed Date: Sun, 28 Jun 2009 12:13:22 +0300 Message-ID: <4A473432.40303@redhat.com> References: <200906252240.30600.gao@schrodinger.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: kvm@vger.kernel.org To: gao@schrodinger.com Return-path: Received: from mx2.redhat.com ([66.187.237.31]:59299 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753162AbZF1JL6 (ORCPT ); Sun, 28 Jun 2009 05:11:58 -0400 In-Reply-To: <200906252240.30600.gao@schrodinger.com> Sender: kvm-owner@vger.kernel.org List-ID: On 06/26/2009 08:40 AM, gao@schrodinger.com wrote: > Hi, > > Compiling KVM-87 failed with following error: > > make -C /lib/modules/2.6.29-gentoo-r5/build M=3D`pwd` \ > LINUXINCLUDE=3D"-I`pwd`/include -Iinclude \ > -Iarch/x86/include -I`pwd`/include-compat \ > -include include/linux/autoconf.h \ > -include `pwd`/x86/external-module-compat.h " \ > "$@" > CC [M] /tmp/kvm-87/kvm/kernel/x86/vmx.o > /tmp/kvm-87/kvm/kernel/x86/vmx.c: In function =E2=80=98ept_rsvd_mask=E2= =80=99: > /tmp/kvm-87/kvm/kernel/x86/vmx.c:3272: error: =E2=80=98struct cpuinfo= _x86=E2=80=99 has no > member named =E2=80=98x86_phys_bits=E2=80=99 > make[4]: *** [/tmp/kvm-87/kvm/kernel/x86/vmx.o] Error 1 > make[3]: *** [/tmp/kvm-87/kvm/kernel/x86] Error 2 > make[2]: *** [_module_/tmp/kvm-87/kvm/kernel] Error 2 > make[1]: *** [all] Error 2 > make: *** [kvm-kmod] Error 2 > > GCC-4.3.2-r3, kernel 2.6.29-gentoo-r5. > > Compiling worked fine with KVM-86. > > =20 kvm-87 is fairly compile-broken on 32-bit hosts. I need to improve my=20 compile testing infrastructure, or make the kvm-xx release candidate=20 process public. You can work around it by replacing 'boot_cpu_data.x86_phys_bits' in=20 vmx.c by the constant 40. --=20 error compiling committee.c: too many arguments to function