cross platform building under emulation
Brooks Davis
brooks at one-eyed-alien.net
Thu Oct 13 17:11:47 PDT 2005
On Thu, Oct 13, 2005 at 08:02:59PM -0400, Dan Langille wrote:
> My usual practice when building world is to do it once on the fastest
> box I have, then do installs via NFS mounts. I need to do this for
> FreeBSD 4.*, 5.*, 6.*, and -current. My goal is to do all this with
> just one box. At first I thought of multi-booting the box.
>
> Tonight at the OCUUG meeting <http://www.ocuug.on.ca>, someone
> mentioned doing this with emulation. After hearing that, multi-
> booting doesn't sound as good.
>
> The box in question is an AMD 64 3000+ with 1GB of RAM. The m/b is a
> KV8E Deluxe, which gives me the option of onboard RAID-1 SATA.
>
> What do you think of this idea? What tools would you suggest?
>
> The host enviroment will also be used as my main database server
> running FreeBSD 6, most likely in AMD mode.
It should work, but might be a bit slow.
You could also consider using Kris's trick of running older userlands in
chroots on -current (or 6.x in your case) kernels like he does on the
ports cluster. I think his BSDCan paper has the details on the bits you
need to replace to deal with kernel incompatabilities. The nice that is
that you don't have any emulation in the way. I think Peter Wemm said
they were also doing i386 chroots on amd64 kernels at Yahoo! so that may
deal with that issue. At least until 7.0 comes you should be able to do
-current buildworld and buildkernel on 6.x machines so that won't be a
problem (if it is, scream since breaking that is bad :).
-- Brooks
--
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-emulation/attachments/20051013/88ac17b5/attachment.bin
More information about the freebsd-emulation
mailing list