This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] Compile pvops kernel xen/stable-2.6.32.x error

To: Teck Choon Giam <giamteckchoon@xxxxxxxxx>
Subject: Re: [Xen-devel] Compile pvops kernel xen/stable-2.6.32.x error
From: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Date: Wed, 27 Oct 2010 13:51:41 -0400
Cc: Jeremy Fitzhardinge <jeremy@xxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 27 Oct 2010 10:52:53 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTi=eJ3fZ879O-qO0zxKmTDrzMD2vbdudeVfvDPz_@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTikiy=piFahngWT557p3G57xTyspe8C_xdWxB2jQ@xxxxxxxxxxxxxx> <4CC8605E.5080209@xxxxxxxx> <AANLkTi=eJ3fZ879O-qO0zxKmTDrzMD2vbdudeVfvDPz_@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.20 (2009-06-14)
On Thu, Oct 28, 2010 at 01:43:27AM +0800, Teck Choon Giam wrote:
> > Ah, how unpleasant.  Unfortunately the problem isn't really with the
> > 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.  Could you do "make arch/x86/mmu.i" and send
> > me the result?
> I guess you mean "make arch/x86/xen/mmu.i" instead?
> 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>
> 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 upgrade
it to a more modern version?

Xen-devel mailing list