From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: Compile pvops kernel xen/stable-2.6.32.x error Date: Wed, 27 Oct 2010 13:51:41 -0400 Message-ID: <20101027175141.GA16318@dumpdata.com> References: <4CC8605E.5080209@goop.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Teck Choon Giam Cc: Jeremy Fitzhardinge , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Thu, Oct 28, 2010 at 01:43:27AM +0800, Teck Choon Giam wrote: > > Ah, how unpleasant. =A0Unfortunately the problem isn't really with th= e > > lines its pointing out, but with something earlier in the source (or > > headers) which is also per-cpu, and gcc has decided there's a section > > conflict between the two. =A0Could you do "make arch/x86/mmu.i" and s= end > > me the result? >=20 > I guess you mean "make arch/x86/xen/mmu.i" instead? >=20 > mock-chroot> make arch/x86/mmu.i > make: *** No rule to make target `arch/x86/mmu.i'. Stop. > mock-chroot> make arch/x86/xen/mmu. > mmu.c mmu.h > mock-chroot> make arch/x86/xen/mmu.i > CHK include/linux/version.h > CHK include/linux/utsrelease.h > SYMLINK include/asm -> include/asm-x86 > CALL scripts/checksyscalls.sh > CPP arch/x86/xen/mmu.i > mock-chroot> >=20 > FYI, I am able to compile if I optimized the kernel configuration such > as CPUSET, Power related such as battery, adaptors, laptop related > etc. all disabled. The problem config is used from RHEL6 x86_64 > kernel (ftp://ftp.redhat.com/pub/redhat/rhel/beta/6Server-beta2/x86_64/= os/Packages/kernel-2.6.32-44.2.el6.x86_64.rpm) > as base and just make oldconfig etc. to enable XEN related and there I > got those errors :/ This looks like your compiler is ancient. 4.1 is pretty old. Can you upgr= ade it to a more modern version?