From owner-freebsd-amd64@FreeBSD.ORG Wed Feb 16 00:26:00 2005 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B337E16A4CF; Wed, 16 Feb 2005 00:26:00 +0000 (GMT) Received: from dragon.nuxi.com (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7228F43D5A; Wed, 16 Feb 2005 00:26:00 +0000 (GMT) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.13.1/8.13.1) with ESMTP id j1G0Q0kg098482; Tue, 15 Feb 2005 16:26:00 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.13.1/8.13.1/Submit) id j1G0Q068098481; Tue, 15 Feb 2005 16:26:00 -0800 (PST) (envelope-from obrien) Date: Tue, 15 Feb 2005 16:26:00 -0800 From: "David O'Brien" To: Ruslan Ermilov Message-ID: <20050216002600.GA97906@dragon.nuxi.com> References: <20050215141155.GA29160@gattaca.yadt.co.uk> <20050215195517.GA17904@ip.net.ua> <20050215234825.GA96584@dragon.nuxi.com> <20050216000428.GC24447@ip.net.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050216000428.GC24447@ip.net.ua> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 6.0-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 cc: freebsd-amd64@freebsd.org Subject: Re: Cross compiling for i386 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: obrien@freebsd.org List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Feb 2005 00:26:00 -0000 On Wed, Feb 16, 2005 at 02:04:28AM +0200, Ruslan Ermilov wrote: > On Tue, Feb 15, 2005 at 03:48:25PM -0800, David O'Brien wrote: > > On Tue, Feb 15, 2005 at 09:55:17PM +0200, Ruslan Ermilov wrote: > > > On Tue, Feb 15, 2005 at 02:11:55PM +0000, David Taylor wrote: > > > > Is this supposed to be possible/supported? And does anyone have any ideas > > > > how to make it work more automatically? > > > > > > No, this is not supported at all. What's supported is mounting i386's > > > /, /usr, and /var onto /mnt, /mnt/usr, and /mnt/var, and doing the > > > installworld with DESTDIR=/mnt from amd64. > > > > This isn't "supported" either. It happens to work most of the time. > > But isn't a guaranteed by The FreeBSD Project. > > Cross-built binaries should be fine. Some data files generated by > host tools may be corrupt due to endianness and type width issues > (e.g., "long" is 8 bytes on amd64 but only 4 bytes on i386). > > Last time I tried installing Alpha world + kernel generated by i386, > the only things I've noticed broken were NLS catalogs and locale > related data files. Yes, and that in my book means "some brokenness" and not offically supported (ie, to be depended on). -- -- David (obrien@FreeBSD.org)