For anyone interested, my problem recently with jobs not distributing (noticed on 2.18.1) was in fact my own error. My CFLAGS got partially polluted by my LDFLAGS (adding -s to CFLAGS) which made distcc test for servers listed in /etc/distcc/hosts, but then run the job locally ( -s forces distcc to use local compilation [0]). I found the problem intermittently popping back up, so taking Martin's advice I set client and server into verbose logging mode and found the answer in the verbose client log.
Thanks Martin. I hope no-one else is silly enough to suffer the same problem now. Hamish Greig [0] distcc[4087] (dcc_trace_version) distcc 2.18.2 i686-pc-linux-gnu; built Dec 5 2004 15:47:50 distcc[4087] (dcc_recursion_safeguard) safeguard level=0 distcc[4087] (main) compiler name is "gcc" distcc[4087] (dcc_set_path) setting PATH=/sbin:/usr/sbin:/usr/local/sbin:/bin:/usr/bin:/usr/local/bin:/usr/games:/usr/local/games:/usr/bin/X$ distcc[4087] (dcc_scan_args) scanning arguments: gcc -march=athlon-tbird -mmmx -m3dnow -pipe -DPIC -fPIC -O3 -s -fomit-frame-pointer -z comb$ distcc[4087] (dcc_scan_args) -s must be local distcc[4087] (dcc_lock_host) got cpu lock on localhost slot 0 as fd4 distcc[4087] exec on localhost: gcc -march=athlon-tbird -mmmx -m3dnow -pipe -DPIC -fPIC -O3 -s -fomit-frame-pointer -z combreloc -s -o gzip $ distcc[4087] (dcc_note_state) note state 5, file "(NULL)", host "localhost" distcc[4087] (dcc_spawn_child) forking to execute: gcc -march=athlon-tbird -mmmx -m3dnow -pipe -DPIC -fPIC -O3 -s -fomit-frame-pointer -z co$
pgpVMWIuVTd5M.pgp
Description: PGP signature
__ distcc mailing list http://distcc.samba.org/ To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/distcc