[distcc] distcc and ccache problems
Marcus Gruendler
Marcus.Gruendler at aixigo.de
Mon Aug 12 02:30:00 GMT 2002
Martin Pool wrote:
> On 12 Aug 2002, Marcus Gruendler <Marcus.Gruendler at aixigo.de> wrote:
>
>
>>I have a problem using distcc in combination with ccache. I seems as if the
>>problems are similar to the ones using distcc with tmpfs, but I don't use
>>tmpfs at all. Whenever I call
>
>
> Very interesting! Thankyou for reporting this so clearly. You are
> probably right that sendfile() is not sending all the data.
>
> Can you tell me what filesystem is used on /tmp and on your working
> directory?
>
> In the meantime you could try editing config.h to remove
> HAVE_SENDFILE, do "make clean" and recompile. That might get it
> working for now.
>
[...]
I have uncommented the line in config.h and recompiled distcc but I still
cannot compile my project with ccache :-(. The error message is a bit
different now (second last line):
distcc[20282] (dcc_try_lock_host) /tmp/distcc_888/lock_localhost_0000000
already locked
distcc[20282] (dcc_try_lock_host) /tmp/distcc_888/lock_machine1_0000000
already locked
distcc[20282] (dcc_try_lock_host) locked /tmp/distcc_888/lock_machine1_0000000
distcc[20282] (dcc_pick_buildhost) building on machine1
distcc[20282] exec on machine1: gcc -c -Wall -g -fPIC -ftemplate-depth-27 -o
/tmp/ccache/tmp.hash.20254.o /tmp/ccache/tmp.stdout.20254.ii
distcc[20282] (dcc_open_socket_out) client got connection to machine1 port
4200 on fd8
distcc[20282] (dcc_x_file) send 535462 byte file
/tmp/ccache/tmp.stdout.20254.ii with token DOTI
distcc[20282] ERROR: (dcc_pump_readwrite) failed to write: Broken pipe
distcc[20282] (dcc_exit) exit: code -1; self: 0.010000 user 0.000000 sys;
children: 0.000000 user 0.000000 sys
make: *** [build/single/debug/cell.o] Error 1
Any ideas?
Bye, Marcus
--
Dipl. Inform. Marcus Gründler
aixigo AG - financial training, research and technology
Schloß-Rahe-Straße 15, 52072 Aachen, Germany
fon: +49 (0)241 936737-26, fax: +49 (0)241 936737-99
eMail: Marcus.Gruendler at aixigo.de, web: http://www.aixigo.de
More information about the distcc
mailing list