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: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Subject: Re: [Xen-devel] Compile pvops kernel xen/stable-2.6.32.x error
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Wed, 27 Oct 2010 11:12:48 -0700
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Teck Choon Giam <giamteckchoon@xxxxxxxxx>
Delivery-date: Wed, 27 Oct 2010 11:13:24 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20101027175141.GA16318@xxxxxxxxxxxx>
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> <20101027175141.GA16318@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100921 Fedora/3.1.4-1.fc13 Lightning/1.0b3pre Thunderbird/3.1.4
 On 10/27/2010 10:51 AM, Konrad Rzeszutek Wilk wrote:
> 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?

It is old, but not ancient and still supported.  And as Teck says, if
its the disto standard compiler we definitely need to make sure it works.

But the whole section mismatch thing is very annoying because its a
behaviour which changes a lot from version to version, and is also very
sensitive to config options and even small, semantically neutral code


Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>