[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-users] Make error



 

> -----Original Message-----
> From: Ian Tobin [mailto:itobin@xxxxxxxxxxxxx] 
> Sent: 22 May 2007 13:01
> To: Petersson, Mats; James Harper; xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: RE: [Xen-users] Make error
> 
> yes your correct, it was set to PC-compatable, i have changed 
> that to XEN and it is now compiling.
>  
> not sure how you figured that out but thanks :)

I just went through the "obvious" steps of "trying to build just the
kernel", which meant "make menuconfig" on a "clean" Linux-2.6.18, which
in turn meant that the config file isn't set up for Xen (I noticed that
it wasn't before I tested it, so I just guessed that was the problem -
which I then proved by changing it and, as you say, it compiles). 

The reason it fails is that the patches that Xen apply modifies some
things. In this case, a macro that would in native mode compile nicely,
but now turns into something that can't be used in asm-offsets in Xen. 

--
Mats
>  
> 
> ________________________________
> 
> From: Petersson, Mats [mailto:Mats.Petersson@xxxxxxx]
> Sent: Tue 22/05/2007 12:45
> To: James Harper; Ian Tobin; xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: RE: [Xen-users] Make error
> 
> 
> 
> 
> 
> > -----Original Message-----
> > From: James Harper [mailto:james.harper@xxxxxxxxxxxxxxxx]
> > Sent: 22 May 2007 12:30
> > To: Petersson, Mats; Ian Tobin; xen-users@xxxxxxxxxxxxxxxxxxx
> > Subject: RE: [Xen-users] Make error
> >
> > > > -----Original Message-----
> > > > From: Ian Tobin [mailto:itobin@xxxxxxxxxxxxx]
> > > > Sent: 22 May 2007 12:00
> > > > To: Petersson, Mats; xen-users@xxxxxxxxxxxxxxxxxxx
> > > > Subject: RE: [Xen-users] Make error
> > > >
> > > > thanks Matts, just so you know this is  a Dell PE1750 2.4 Xeon.
> > >
> > > And that will make what difference? It should still build.
> > >
> >
> > It could make the world of difference... aren't there a few 
> different
> > flavours that come under the i386 architecture? Certainly I
> > don't think
> > you'd reproduce a problem from arch/i386 on a powerpc or amd64.
> 
> What MACHINE it is won't make much of a difference (afaik 
> Linux doesn't
> have any logic to figure out what the hardware looks like much beyond
> figuring which model and mode of processor it is being run on). The
> architecture being built for is a different matter.
> 
> >
> > A copy of the .config is probably required to reproduce the problem
> > though... as well as the version of gcc etc in use.
> 
> Possibly, but I've just repro'd the problem (although, as you say,
> x86_64 build doesn't have the same problem!)
> 
> And I believe I know what the problem is too: The 
> subarchitecture in the
> config isn't set to "Xen" but "PC-compatible".
> 
> --
> Mats
> >
> > James
> 
> 
> 
> 
> 



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.