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-users

[Xen-users] Re: Mixed DomU Architectures

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Re: Mixed DomU Architectures
From: Matthew Palmer <mpalmer@xxxxxxxxxxx>
Date: Fri, 2 Jun 2006 08:01:09 +1000
Delivery-date: Thu, 01 Jun 2006 16:08:36 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <447F1E91.3010608@xxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <62886.194.203.13.71.1149132037.squirrel@xxxxxxxxxxxxxxxx> <447F1E91.3010608@xxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Thu, Jun 01, 2006 at 01:06:25PM -0400, Yura Pismerov wrote:
> 
> How about building a chroot'ed 32bit tree within a domU ?
> At least this is what I do in Debian for installing and running 32bit
> packages from within 64bit environment.

The problem, as I understand the OP, is that the software being built checks
(something like) uname -m to see if it's building on a real 32-bit x86
machine.  This info comes directly from the kernel rather than through the
userland, so it reports itself as 64-bit even though it's running in a
32-bit userland.

A separate-but-related discussion is the (lack of) wisdom of asking the
kernel what architecture to build for, rather than (eg) gcc, because of (a)
this problem, and (b) the complete lack ability to support
cross-compilation.  But, if it's good enough for Xen, it's good enough for
the rest of us.

- Matt
(who has had to work around this very brain-damage building in 32 bit chroots)

-- 
How many Apple Newton users does it take to change a lightbulb?
Foux. There to eat lemons, axe gravy soup.
                -- Seen on the 'net

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

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