Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Mar 2005 15:24:04 +0200
From:      Ruslan Ermilov <ru@freebsd.org>
To:        Dag-Erling Sm?rgrav <des@des.no>
Cc:        cvs-all@freebsd.org
Subject:   Re: cvs commit: src/usr.sbin/pwd_mkdb pwd_mkdb.8 pwd_mkdb.c
Message-ID:  <20050301132404.GA97216@ip.net.ua>
In-Reply-To: <86wtsrlekg.fsf@xps.des.no>
References:  <200502282105.j1SL5VSr066067@repoman.freebsd.org> <86wtsrlekg.fsf@xps.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <ru@FreeBSD.org> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050301132404.GA97216>