From: "Christoph Egger" Subject: Re: [PATCH] Fix Solaris ioemu compile Date: Fri, 2 Nov 2007 12:36:16 +0200 Message-ID: <200711021136.17033.Christoph.Egger@amd.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: john.levon@sun.com List-Id: xen-devel@lists.xenproject.org On Friday 02 November 2007 11:15:45 Keir Fraser wrote: > On 1/11/07 21:28, "john.levon@sun.com" 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=3Dx86= _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 n= ot=20 match "x86_32". Christoph =2D-=20 AMD Saxony, Dresden, Germany Operating System Research Center Legal Information: AMD Saxony Limited Liability Company & Co. KG Sitz (Gesch=E4ftsanschrift): Wilschdorfer Landstr. 101, 01109 Dresden, Deutschland Registergericht Dresden: HRA 4896 vertretungsberechtigter Komplement=E4r: AMD Saxony LLC (Sitz Wilmington, Delaware, USA) Gesch=E4ftsf=FChrer der AMD Saxony LLC: Dr. Hans-R. Deppe, Thomas McCoy