From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: compiling with icc: kvm.h(240): error Date: Sun, 09 Nov 2008 17:00:04 +0200 Message-ID: <4916FAF4.2010806@redhat.com> References: <4900AD7F.6030606@nagafix.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Antoine Martin Return-path: Received: from mx2.redhat.com ([66.187.237.31]:39793 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754838AbYKIPAN (ORCPT ); Sun, 9 Nov 2008 10:00:13 -0500 In-Reply-To: <4900AD7F.6030606@nagafix.co.uk> Sender: kvm-owner@vger.kernel.org List-ID: Antoine Martin wrote: > Hi, > > I am testing kernel builds with Intel's ICC and got a failure on KVM > (not that the rest was very smooth either...) > Just in case someone is interested, here it is (this kernel tree is > loosely based on linux-next + other patches): > > CC [M] arch/x86/kvm/svm.o - due to: include/linux/bounds.h > icc -Wp,-MD,arch/x86/kvm/.svm.o.d -nostdinc -isystem icc > -I/usr/lib/gcc/i486-pc-linux-gnu/4.3.2/include -D__KERNEL__ -Iinclude > -I/usr/src/fastboot.git/arch/x86/include -include > include/linux/autoconf.h -Wall -fno-strict-aliasing -fno-common > -Werror-implicit-function-declaration -Os -m32 -freg-struct-return > -mtune=generic -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 > -pipe -Iinclude/asm-x86/mach-default -fno-omit-frame-pointer > -Ivirt/kvm -Iarch/x86/kvm -DMODULE -DKBUILD_STR(s)=#s > -DKBUILD_BASENAME=KBUILD_STR(svm) -DKBUILD_MODNAME=KBUILD_STR(kvm_amd) > -c -o arch/x86/kvm/.tmp_svm.o arch/x86/kvm/svm.c > icc: command line warning #10156: ignoring option '-W'; no argument > required > include/linux/kvm.h(240): error: "padding" has already been declared > in the current scope > __u64 padding; > ^ > Please resend with a changelog entry and signoff. -- error compiling committee.c: too many arguments to function