distcc fun (was: Re: Gentoo 1.4 released)


Subject: distcc fun (was: Re: Gentoo 1.4 released)
From: Justin Dieters (enderak@gci.net)
Date: Fri Aug 08 2003 - 00:39:46 AKDT


Wow, this is pretty cool. Thanks for the link, Jacob.

I set it up on my laptop and my desktop, and set up Gentoo to use distcc
instead of gcc. (For some reason, when I emerge kde, it insists on using
gcc even after I set Gentoo up to use distcc in /etc/make.conf). I am
running the compile on my laptop, with my desktop acting as a helper.

Anyway, they talk back and forth, and a few files will compile, but it
consistantly fails after compiling about 5-10 files. Looking at my logs
on the desktop, it shows that the failures are occuring on the desktop.
  It will compile a few files, and then it will fail, with no real
explaination of the problem. (see copy-paste at the end of this e-mail)

Looking at distcc's site, I'm pretty certain that this is due to the
fact that I have gcc 3.2.3 on my laptop and 2.96 on my desktop. I'm
downloading gcc 3.2.3 now to put on my desktop. Hopefully it will work
for me - I've never had to compile a compiler before.. :)

I will let you know how it goes after that..

Justin

-----
Aug 7 23:57:57 jane distccd[29435]: (dcc_check_client) connection from
192.168.1.55:1089
Aug 7 23:57:57 jane distccd[29435]: compile from smallft.c to smallft.o
Aug 7 23:57:57 jane distccd[29435]: (dcc_r_file_timed) 100188 bytes
received in 0.082185s, rate 1190kB/s
Aug 7 23:57:57 jane distccd[29435]: (dcc_collect_child) cc times: user
0.439453s, system 0.017578s, 1850 minflt, 916 majflt
Aug 7 23:57:57 jane distccd[29435]: cc on localhost completed ok
Aug 7 23:57:57 jane distccd[29435]: job complete
Aug 7 23:57:59 jane distccd[29436]: (dcc_check_client) connection from
192.168.1.55:1090
Aug 7 23:57:59 jane distccd[29436]: compile from block.c to block.lo
Aug 7 23:58:00 jane distccd[29436]: (dcc_r_file_timed) 136056 bytes
received in 0.111077s, rate 1196kB/s
Aug 7 23:58:00 jane distccd[29436]: (dcc_collect_child) cc times: user
0.310546s, system 0.007812s, 1494 minflt, 693 majflt
Aug 7 23:58:00 jane distccd[29436]: cc on localhost failed with exit code 1
Aug 7 23:58:00 jane distccd[29436]: job complete
-----

Jacob Gemmell wrote:
> One thing you may want to try if your installing gentoo on a slow machine
> and you already have a linux box up is playing around with
> distcc(http://distcc.samba.org). It distributes the load when compiling.
> There is some info in the gentoo forums on setting up gentoo while using
> distcc.

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.



This archive was generated by hypermail 2a23 : Fri Aug 08 2003 - 00:21:07 AKDT