From owner-freebsd-security@FreeBSD.ORG Thu Oct 27 20:02:17 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 D14BD16A41F; Thu, 27 Oct 2005 20:02:17 +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 0CB0D43D45; Thu, 27 Oct 2005 20:02:16 +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 j9RK2BSr035501; Thu, 27 Oct 2005 23:02:12 +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-03; Thu, 27 Oct 2005 23:02:10 +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 j9RJvCK3035353 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 27 Oct 2005 22:57:13 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.4/8.13.4) id j9RJvFtk045792; Thu, 27 Oct 2005 22:57:15 +0300 (EEST) (envelope-from ru) Date: Thu, 27 Oct 2005 22:57:14 +0300 From: Ruslan Ermilov To: "M. Warner Losh" Message-ID: <20051027195714.GV68470@ip.net.ua> References: <20051024080811.GF39882@cirb503493.alcatel.com.au> <20051025004757.GH14063@obiwan.tataz.chchile.org> <20051025170934.GA29561@xor.obsecurity.org> <20051025.232323.93475319.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DMefDzZywwCHZelG" Content-Disposition: inline In-Reply-To: <20051025.232323.93475319.imp@bsdimp.com> User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new at ip.net.ua Cc: freebsd-security@FreeBSD.org, developers@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 20:02:18 -0000 --DMefDzZywwCHZelG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 25, 2005 at 11:23:23PM -0600, M. Warner Losh wrote: > I know that cross builds for i386 from amd64 work well enough. > However, we[*] was unable to get a full cross build for i386 world > seutp on my amd64 machine when last I tried. >=20 I use it on a regular basis: $ uname -srnm FreeBSD hammer.runet 7.0-CURRENT amd64 $ uname -srnmv FreeBSD lurker.runet 7.0-CURRENT FreeBSD 7.0-CURRENT #11: Fri Oct 14 10:05:= 37 EEST 2005 ru@hammer.runet:/usr/obj/i386/usr/src/sys/LURKER i386 I NFS-mount /, /usr, and /var file systems from i386 to amd64, and do everything from amd64, inluding installworld, installkernel, and distribution, with TARGET_ARCH=3Di386 and DESTDIR=3D/mnt. make __MAKE_CONF=3D/dev/null \ TARGET_ARCH=3Di386 \ -DNO_PROFILE KERNCONF=3DLURKER \ -DNO_CLEAN \ buildworld buildkernel NFS-mount /, /usr, and /var on /mnt. make __MAKE_CONF=3D/dev/null \ TARGET_ARCH=3Di386 \ -DNO_PROFILE KERNCONF=3DLURKER \ -DNO_CLEAN \ DESTDIR=3D/mnt \ installworld installkernel mkdir /mnt/var/tmp/`date +%Y%m%d` make __MAKE_CONF=3D/dev/null \ TARGET_ARCH=3Di386 \ -DNO_PROFILE KERNCONF=3DLURKER \ -DNO_CLEAN \ DESTDIR=3D/mnt/var/tmp/`date +%Y%m%d` \ distrib-dirs distribution (Sorry, I don't use mergemaster(8) at all.) Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --DMefDzZywwCHZelG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDYTEaqRfpzJluFF4RAnfOAKCM1ayyAre45MKnviHqytMW1c1DkACgkVRE IJRIsooANoz5/7c/pqjrtDs= =jMRG -----END PGP SIGNATURE----- --DMefDzZywwCHZelG--