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] pvops dom0 compile issues

To: Michael D Labriola <mlabriol@xxxxxxxx>
Subject: Re: [Xen-devel] pvops dom0 compile issues
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Fri, 04 Dec 2009 11:26:00 -0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 04 Dec 2009 11:26:21 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <OFC403D870.FB2D228F-ON85257682.0045F5E3-85257682.004668B0@xxxxxxxx>
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: <OFC403D870.FB2D228F-ON85257682.0045F5E3-85257682.004668B0@xxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20091125 Fedora/3.0-3.12.rc1.fc12 Lightning/1.0pre Thunderbird/3.0
On 12/04/09 04:49, Michael D Labriola wrote:

I've been playing with your pvops tree for a few weeks pretty
My first attempt had some strange linking errors that I wrote off as a
misconfiguration on my part.  I just pulled fresh from your xen/master
branch and snagged the example 32bit .config from the pvops Wiki and tried
to do a fresh compile.

The first problem I had was some inlining errors in mptsas.c.  I'm
that since that driver is enabled in the example .config that it compiles
for you... which means it's related to compiler differences perhaps?
Anyway, I attached a patch that fixed this.  Basically just moved the
offending function to before it's first invocation.

Now that that compile error is fixed, I get all the way to linking and get

drivers/built-in.o: In function `kmalloc':
include/trace/events/kmem.h:47: undefined reference to `.L1445'

I also saw some warnings suggesting I do a 'make
CONFIG_DEBUG_SECTION_MISMATCH=y', so I've done that and attached the last
page or so of output as well.

I got these errors to go away last time I compiled by gutting ALL the
debug stuff out of my .config... but I don't want to do that.

Any ideas?  I'm trying to get up to speed on this stuff, but am definitely
feeling a bit over my head.  ;-)


PS - I'm using gcc 3.4.6 on a custom linux distro forked off of fc5 a long
time ago...

gcc 3.4.6 is known to have compilation problems with pvops kernels, apparently because of 42854dc0a6320. Bug http://bugzilla.kernel.org/show_bug.cgi?id=14729 is tracking it, but its not clear what the right fix is. It's interesting you're seeing a different failure mode.

I was wondering if anyone is still using 3.4.6, but I guess you've answered that question. Nevertheless, I'd recommend upgrading if you can.


Xen-devel mailing list

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