You are not logged in.
Pages: 1
Can someone point me in the right direction on getting a working distcc setup for this layout?
(I've used the terms daemon and server from the wikipage: http://wiki.archlinux.org/index.php/Distcc)
Server Daemon Server
x86_64 i686 Mac Mini (Intel)
ubuntu feisty archlinux Leopard (installed distcc via fink)
I know I need to crosscompile on the x86_64 (solved), but shouldn't it work between the i686 and mac atleast?
I always get this error on the mac:
distccd[66161] (dcc_r_file) received 253724 bytes to file /tmp/distccd_7696d98a.i
distccd[66161] (dcc_r_file_timed) 253724 bytes received in 0.042485s, rate 5832kB/s
distccd[66161] (dcc_set_input) changed input from "mpdclient.c" to "/tmp/distccd_7696d98a.i"
distccd[66161] (dcc_set_input) command after: cc -march=i686 -mtune=generic -O2 -pipe -c /tmp/distccd_7696d98a.i -o mpdclient.o
distccd[66161] (dcc_set_output) changed output from "mpdclient.o" to "/tmp/distccd_71a8d98a.o"
distccd[66161] (dcc_set_output) command after: cc -march=i686 -mtune=generic -O2 -pipe -c /tmp/distccd_7696d98a.i -o /tmp/distccd_71a8d98a.o
distccd[66161] (dcc_check_compiler_masq) /sw/bin/cc is a safe symlink to /sw/bin/ccache
distccd[66161] (dcc_spawn_child) forking to execute: cc -march=i686 -mtune=generic -O2 -pipe -c /tmp/distccd_7696d98a.i -o /tmp/distccd_71a8d98a.o
distccd[66161] (dcc_spawn_child) child started as pid66494
distccd[66494] (dcc_increment_safeguard) setting safeguard: _DISTCC_SAFEGUARD=1
distccd[66161] (dcc_collect_child) cc child 66494 terminated with status 0x100
distccd[66161] (dcc_collect_child) cc times: user 0.000459s, system 0.001751s, 161 minflt, 0 majflt
distccd[66161] (dcc_x_token_int) send DONE00000001
distccd[66161] (dcc_x_token_int) send STAT00000100
distccd[66161] (dcc_x_file) send 0 byte file /tmp/distcc_8eadd98a.stderr with token SERR
distccd[66161] (dcc_x_token_int) send SERR00000000
distccd[66161] (dcc_x_file) send 0 byte file /tmp/distcc_8995d98a.stdout with token SOUT
distccd[66161] (dcc_x_token_int) send SOUT00000000
distccd[66161] (dcc_x_token_int) send DOTO00000000
distccd[66161] cc mpdclient.c on localhost failed
distccd[66161] job complete
distccd[66161] (dcc_cleanup_tempfiles) deleted 4 temporary files
On the Arch box I get this:
source='mpdclient.c' object='mpdclient.o' libtool=no \
depfile='.deps/mpdclient.Po' tmpdepfile='.deps/mpdclient.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
distcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DLOCALE_DIR=\""/usr/share/locale"\" -DSYSCONFDIR=\""/etc"\" -march=i686 -mtune=generic -O2 -pipe -c `test -f 'mpdclient.c' || echo './'`mpdclient.c
distcc[23832] ERROR: compile mpdclient.c on 192.168.x.x failed
make[2]: *** [mpdclient.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Last edited by WiLLiE (2008-01-03 22:20:14)
Offline
Well, it seems not many are using distcc on different platforms?
Anyway I solved it on my x86_64 server by using a chrooted 32bit environment.
However the problem still remains on the mac mini, with problem compiling gcc. (trying to do my own compiler toolchain with binutils (done), glibc (done), gcc (error) + distcc)
Offline
Pages: 1