From owner-freebsd-security@FreeBSD.ORG Thu Oct 27 19:52:08 2005 Return-Path: X-Original-To: freebsd-security@FreeBSD.org Delivered-To: freebsd-security@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2132716A41F; Thu, 27 Oct 2005 19:52:08 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4570843D48; Thu, 27 Oct 2005 19:52:07 +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 j9RJq1vV035177; Thu, 27 Oct 2005 22:52:02 +0300 (EEST) (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 85226-01-2; Thu, 27 Oct 2005 22:51:58 +0300 (EEST) 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 j9RJn5Hj035062 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 27 Oct 2005 22:49:05 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.4/8.13.4) id j9RJn7kS024456; Thu, 27 Oct 2005 22:49:07 +0300 (EEST) (envelope-from ru) Date: Thu, 27 Oct 2005 22:49:07 +0300 From: Ruslan Ermilov To: Kris Kennaway Message-ID: <20051027194907.GU68470@ip.net.ua> References: <20051023105230.GA55181@frontfree.net> <20051023232935.GC602@dragon.NUXI.org> <20051024080811.GF39882@cirb503493.alcatel.com.au> <20051025004757.GH14063@obiwan.tataz.chchile.org> <20051025170934.GA29561@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TPGKQYD3WP7vMswh" Content-Disposition: inline In-Reply-To: <20051025170934.GA29561@xor.obsecurity.org> User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new at ip.net.ua Cc: Peter Jeremy , Jeremie Le Hen , developers@FreeBSD.org, delphij@delphij.net, freebsd-security@FreeBSD.org Subject: Re: Is it feasible to cross-build compat5x binary? X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Security issues \[members-only posting\]" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Oct 2005 19:52:08 -0000 --TPGKQYD3WP7vMswh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 25, 2005 at 01:09:35PM -0400, Kris Kennaway wrote: > On Tue, Oct 25, 2005 at 02:47:57AM +0200, Jeremie Le Hen wrote: > > Hi Peter and others, > >=20 > > > At some stage, we need to validate our cross-build chain with cmp(1). > > > We can probably leverage off the work that NetBSD has done in this > > > area. This would significantly simplify the work involved in support= ing > > > the various architectures. > >=20 > > in case you know enough about NetBSD's build.sh, can you say if FreeBSD= 's > > build architecture is powerful enough to merely use it with a few s/// > > or does it still lack one or more things ? >=20 It depends on what's your FreeBSD and NetBSD versions are. If both are HEADs of CVS, I only had to add freebsd-7 and -x86_64-*-freebsd*) +amd64-*-freebsd* | x86_64-*-freebsd*) support into two files in the NetBSD distribution of gcc to make it compile, but other than that it works (I use my 7-current amd64 box dailyto cross-build NetBSD-current for a MIPS-based SoC). > I expect it's pretty different. ru@ did a lot of work on > cross-building FreeBSD though, and he had a fairly detailed list > of known differences between cross-built and native builds. I'm not > sure if he reduced it to 0 length. >=20 I'm sure I reported it to the current@ list a while back. I've been able to reduce it to the length of 1, and for some time now, I use my fastest box (amd64) to cross-build and cross-install worlds and kernels for other architecture machines in my home network (i386, alpha, and until recently sparc64). Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --TPGKQYD3WP7vMswh Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDYS8zqRfpzJluFF4RAsuKAKCFEKFTLf422l2ULrSCqwhki9mcDgCeNkOv xOB2hdq1y2M2v4cqDrVjIFM= =5mGc -----END PGP SIGNATURE----- --TPGKQYD3WP7vMswh--