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] [PATCH] Fix Solaris ioemu compile

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] [PATCH] Fix Solaris ioemu compile
From: "Christoph Egger" <Christoph.Egger@xxxxxxx>
Date: Fri, 2 Nov 2007 12:36:16 +0200
Cc: john.levon@xxxxxxx
Delivery-date: Fri, 02 Nov 2007 03:37:17 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C350A951.17D2E%Keir.Fraser@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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <C350A951.17D2E%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.6
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".

Christoph


-- 
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
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel