From owner-freebsd-amd64@FreeBSD.ORG Wed Feb 16 00:04:26 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 3C73116A4CE; Wed, 16 Feb 2005 00:04:26 +0000 (GMT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7193143D45; Wed, 16 Feb 2005 00:04:25 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id j1G04Ov3046059; Wed, 16 Feb 2005 02:04:24 +0200 (EET) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 83589-12; Wed, 16 Feb 2005 02:04:23 +0200 (EET) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id j1G04Ncr046056 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 16 Feb 2005 02:04:23 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.1/8.13.1) id j1G04Sqf049360; Wed, 16 Feb 2005 02:04:28 +0200 (EET) (envelope-from ru) Date: Wed, 16 Feb 2005 02:04:28 +0200 From: Ruslan Ermilov To: "David O'Brien" Message-ID: <20050216000428.GC24447@ip.net.ua> References: <20050215141155.GA29160@gattaca.yadt.co.uk> <20050215195517.GA17904@ip.net.ua> <20050215234825.GA96584@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Km1U/tdNT/EmXiR1" Content-Disposition: inline In-Reply-To: <20050215234825.GA96584@dragon.nuxi.com> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at ip.net.ua 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 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:04:26 -0000 --Km1U/tdNT/EmXiR1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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? > >=20 > > 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=3D/mnt from amd64. >=20 > This isn't "supported" either. It happens to work most of the time. > But isn't a guaranteed by The FreeBSD Project. >=20 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. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --Km1U/tdNT/EmXiR1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFCEo4MqRfpzJluFF4RAjc/AJ40CRCWTtxk3rbRFENUf0BlcNv9DQCdEBTp couNyRxgHBAkcTyFGu0wFuo= =PE5/ -----END PGP SIGNATURE----- --Km1U/tdNT/EmXiR1--