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

Re: [Xen-devel] [PATCH] Fix Solaris ioemu compile

On Friday 02 November 2007 11:15:45 Keir Fraser wrote:
> On 1/11/07 21:28, "john.levon@xxxxxxx" <john.levon@xxxxxxx> wrote:
> > Fix Solaris ioemu compile
> >
> > Fixes for Solaris compilation.
> Mostly applied, with a few exceptions:
>  * Didn't add -m32 to CFLAGS in hvmloader/Makefile. XEN_TARGET_ARCH=x86_32
> should ensure that CFLAGS gets set up correctly anyway, and also there was
> no equivalent addition of -m32 to CFLAGS in vmxassist/Makefile, so I guess
> it's probably not needed at all.
>  * I couldn't fathom any of the changes to tools/Makefile, so I didn't
> apply any of them. Removing the XEN_ROOT assignment made no sense to me,
> and I don't understand the ioemu configuration changes. If they're in
> response to Daniel Berrange's ioemu changes, then maybe he can comment.

If you are compiling on x86-64, then you need to (cross-)build hvmloader
to a 32bit binary via the -m32 option. In that case, XEN_TARGET_ARCH does not 
match "x86_32".


AMD Saxony, Dresden, Germany
Operating System Research Center

Legal Information:
AMD Saxony Limited Liability Company & Co. KG
Sitz (Geschäftsanschrift):
   Wilschdorfer Landstr. 101, 01109 Dresden, Deutschland
Registergericht Dresden: HRA 4896
vertretungsberechtigter Komplementär:
   AMD Saxony LLC (Sitz Wilmington, Delaware, USA)
Geschäftsführer der AMD Saxony LLC:
   Dr. Hans-R. Deppe, Thomas McCoy

Xen-devel mailing list



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