DragonFly bugs List (threaded) for 2004-10
Re: buildworld fails with distcc, buildkernel works fine though
:First off, the good news. I've had two successfull kernel builds
:using distcc on both of my dfly systems. So that should work for
:anyone else too, I think. Didn't require any voodoo whatsoever, just
:install the package through "pkg_add -r" and follow the docs on the
:distcc site. Then do:
:setenv DISTCC_HOSTS "localhost 220.127.116.11"
:make -j5 CC=/usr/local/bin/distcc buildkernel
:According to the distcc site, you should do two times the number of
:cpus plus one, as ball park figure. So that's what I did.
:Now, the bad news. Buildworld fails, and it appears to fail in a
:different spot each time. Now, I'm not much of a coder so I don't
:really know what's going on, but each time there was a lot of include
:I'd really like to get this working for dfly, but I'm at a point where
:I just don't know what to do. If someone can help me out here I'd
:really appreciate it a lot. I believe this is something that can
:really benefit dfly users.
:At least, until we get SSI :P
Well, doing a buildworld is a fragile process already, I'm not
surprised that distcc doesn't work. For one thing, buildworld
bootstraps its own compiler, so I don't see how one could safely
override the CC line.
I would recommend not trying to use distcc for buildworlds. Once you
do the initial buildworld you can usually then do incremental rebuilds
using quickworld as the source changes and it isn't too bad even if
the machine is fairly slow.