From owner-cvs-all@FreeBSD.ORG Tue Mar 1 13:25:31 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4413016A4CE; Tue, 1 Mar 2005 13:25:31 +0000 (GMT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0585743D58; Tue, 1 Mar 2005 13:25:30 +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 j21DPFme058300; Tue, 1 Mar 2005 15:25:15 +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 31429-20; Tue, 1 Mar 2005 15:25:14 +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 j21DPEEl058296 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 1 Mar 2005 15:25:14 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.1/8.13.1) id j21DPPkZ097366; Tue, 1 Mar 2005 15:25:25 +0200 (EET) (envelope-from ru) Date: Tue, 1 Mar 2005 15:24:04 +0200 From: Ruslan Ermilov To: Dag-Erling Sm?rgrav Message-ID: <20050301132404.GA97216@ip.net.ua> References: <200502282105.j1SL5VSr066067@repoman.freebsd.org> <86wtsrlekg.fsf@xps.des.no> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pf9I7BMVVzbSWLtt" Content-Disposition: inline In-Reply-To: <86wtsrlekg.fsf@xps.des.no> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at ip.net.ua cc: cvs-src@freebsd.org cc: src-committers@freebsd.org cc: cvs-all@freebsd.org Subject: Re: cvs commit: src/usr.sbin/pwd_mkdb pwd_mkdb.8 pwd_mkdb.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2005 13:25:31 -0000 --pf9I7BMVVzbSWLtt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 01, 2005 at 01:45:51PM +0100, Dag-Erling Sm?rgrav wrote: > Ruslan Ermilov writes: > > With this change, pwd_mkdb(8) can be used to cross-build > > *pwd.db files for another architecture. >=20 > So, how far are we from a working cross-release? >=20 Cross-release ("make release TARGET_ARCH!=3DMACHINE_ARCH") is going to be problematic, mostly due to the need to byte-swap the file system images (or we can use the "makefs" port). But on same endianness machines, they will soon work. Cross-building world ("make buildworld TARGET_ARCH!=3DMACHINE_ARCH") mostly works -- the only remaining bit is mkmagic(1), a buil-tool that compiles file(1) magic files; it's not yet endianness clean. I can now cross-build world for i386, sparc64, and alpha on my fast amd64 box, and all the resulting bits are fully identical except some tiny diffs due to timestamping and C++ symbols with generated names, which are harmless and not cross-build related. If anybody is interested in testing cross-builds (this involves building and installing on native and foreign architectures, then installing and comparing the files), please contact me for details of how to do it properly. If you don't use some magic, you'll get lot of false diffs due to: 1) different directory paths during the build, 2) timestamping, and 3) identification. Please contact me for details if you're interested. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --pf9I7BMVVzbSWLtt Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFCJGz0qRfpzJluFF4RAhVXAJwKapQjN3EExaUkKZafSCrjRlF2wQCcC+Gi QbewpdF/aykAO2pceX0W5v0= =V3v9 -----END PGP SIGNATURE----- --pf9I7BMVVzbSWLtt--