WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] XCP: how to build dom0 kernel

To: YAMAMOTO Takashi <yamamoto@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] XCP: how to build dom0 kernel
From: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Date: Tue, 8 Jun 2010 08:46:27 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 08 Jun 2010 00:47:20 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100608073942.AD186719F7@xxxxxxxxxxxxxxxx>
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>
Organization: Citrix Systems, Inc.
References: <1275981768.13620.6.camel@xxxxxxxxxxxxxxxxxxxxx> <20100608073942.AD186719F7@xxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Tue, 2010-06-08 at 08:39 +0100, YAMAMOTO Takashi wrote:
> hi,
> > On Tue, 2010-06-08 at 07:56 +0100, YAMAMOTO Takashi wrote:
> > 
> > What are the contents of /usr/src/redhat/{SOURCES,SPECS}?
> 
> head-006% ls ~/rpm/{SPECS,SOURCES}
> [...]

all as expected.

> (i have ~/.rpmmacros so that i can build rpms as a non-root user.
> i have confirmed that removing .rpmmacros didn't fix the error.)

yes, this shouldn't cause trouble.

> > 
> >> any idea?  is there build instructions/scripts/etc somewhere?
> > 
> > I would have expected the steps you took to have worked. What is your
> > build environment, just a regular CentOS 5.4 install or something else?
> > 
> > Can you try:
> >     # rpmbuild --target i686 --rebuild 
> > kernel-2.6.27.42-0.1.1.xs0.1.1.737.1065.src.rpm
> > 
> > I don't really expect it will make any difference but that is precisely
> > what the XCP build system does so it may be informative.
> 
> it didn't make any difference.  see below.

OK. I'll install up a VM and give it a go see if I can work out what is
happening.

> my build host is running CentOS 5.3 and its normal toolchain.
> does ddk.iso contain some special toolchain which is different
> from CentOS's one?

Nope, it's just the standard one.

There is a special 64 bit cross compiled (x86_64-linux-gcc) but that is
only used for the hypervisor.

Oh, I have an idea -- is you host running 32 or 64 bit CentOS?

Ian.



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

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