cvs commit: src/usr.sbin/pwd_mkdb pwd_mkdb.8 pwd_mkdb.c
ru at freebsd.org
Tue Mar 1 13:25:31 GMT 2005
On Tue, Mar 01, 2005 at 01:45:51PM +0100, Dag-Erling Sm?rgrav wrote:
> Ruslan Ermilov <ru at FreeBSD.org> writes:
> > With this change, pwd_mkdb(8) can be used to cross-build
> > *pwd.db files for another architecture.
> So, how far are we from a working cross-release?
Cross-release ("make release TARGET_ARCH!=MACHINE_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!=MACHINE_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.
ru at FreeBSD.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20050301/3ef234c1/attachment.bin
More information about the cvs-all