[distcc] Subscription & segfault

m.versteegh at hccnet.nl m.versteegh at hccnet.nl
Thu May 29 16:11:09 GMT 2003


Hi All,

First, I'm not on this list, so could anyone answering me please cc to my private address
(m.versteegh at hccnet.nl)? 

Second, How do I subscribe to this list, I could not find any instructions in the distcc docs,
and my Internet connection here is to slow (mobile phone) to check the internet page.

And third, my problem:
I cannot get distcc to work, it looks like gcc crashes on the distccd daemon.
Has anybody experienced something similar? Any clues where to start bughunting?
I'd really like to use distcc since the app I'm building for my work is quite large
and compile times are long, and I have 2 almost idle linus boxe running on my network.
                                           


My setup:

OS:
linux suse 7.2, also tried redhat 6.0 with the same result
compiler:
gcc 3.4 CVS build, also tried gcc 2.95.

version:
distcc 2.4.1
env vars:
DISTCC_HOSTS=127.0.0.1
DISTCC_VERBOSE=1

way of calling:
put CXX=distcc gcc at the top of my makefile

output of make & distcc up to the point where it goes wrong:
distcc gcc   -c doc.cpp -o obj/doc.o -Wall -Werror -O3 -Wno-unused -fno-inline -DDEBUGMODE -g `wx-config --cxxflags` -I/home/werk/shortcut/libs -p -I.
distcc[10931] (dcc_trace_version) distcc 2.4.1 i686-pc-linux-gnu; built May 29 2003 17:16:00
distcc[10931] (dcc_recursion_safeguard) safeguard level=0
distcc[10931] (dcc_trim_path) original PATH /usr/local/gcc-3.3/bin:/sbin:/usr/sbin:/opt/gnome/bin:/opt/kde2/bin:/opt/kde/bin:.:/usr/openwin/bin:/usr/bin/X11:/usr/games:/usr/lib/java/bin:/usr/local/bin:/usr/bin:/bin
distcc[10931] (dcc_trim_path) not modifying PATH
distcc[10931] (dcc_scan_args) scanning arguments: gcc -c doc.cpp -o obj/doc.o -Wall -Werror -O3 -Wno-unused -fno-inline -DDEBUGMODE -g -I/usr/local/lib/wx/include/gtkd-2.5 -D__WXDEBUG__ -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/home/werk/shortcut/libs -p -I.
distcc[10931] (dcc_scan_args) found input file "doc.cpp"
distcc[10931] (dcc_scan_args) found object/output file "obj/doc.o"
distcc[10931] compile from doc.cpp to obj/doc.o
distcc[10931] (dcc_get_hostlist) read hosts from environment
distcc[10931] (dcc_parse_hosts) found tcp token "127.0.0.1"
distcc[10931] (dcc_lock_host) got cpu lock on 127.0.0.1 slot 0
distcc[10931] (dcc_lock_host) got xmit lock on 127.0.0.1 slot 0
distcc[10931] (dcc_strip_dasho) result: gcc -c doc.cpp -Wall -Werror -O3 -Wno-unused -fno-inline -DDEBUGMODE -g -I/usr/local/lib/wx/include/gtkd-2.5 -D__WXDEBUG__ -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/home/werk/shortcut/libs -p -I.
distcc[10931] (dcc_spawn_child) forking to execute: gcc -E doc.cpp -Wall -Werror -O3 -Wno-unused -fno-inline -DDEBUGMODE -g -I/usr/local/lib/wx/include/gtkd-2.5 -D__WXDEBUG__ -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/home/werk/shortcut/libs -p -I.
distcc[10931] (dcc_spawn_child) child started as pid10935
distcc[10931] (dcc_strip_local_args) result: gcc -c doc.cpp -o obj/doc.o -Wall -Werror -O3 -Wno-unused -fno-inline -g -p
distcc[10931] exec on 127.0.0.1: gcc -c doc.cpp -o obj/doc.o -Wall -Werror -O3 -Wno-unused -fno-inline -g -p
distcc[10935] (dcc_increment_safeguard) setting safeguard: _DISTCC_SAFEGUARD=1
distcc[10931] (dcc_connect_by_addr) client got connection to 127.0.0.1 port 3632 on fd5
distcc[10931] (dcc_x_token_int) send DIST00000001
distcc[10931] (dcc_x_token_int) send ARGC0000000c
distcc[10931] (dcc_x_token_int) send ARGV00000003
distcc[10931] (dcc_x_token_int) send ARGV00000002
distcc[10931] (dcc_x_token_int) send ARGV00000007
distcc[10931] (dcc_x_token_int) send ARGV00000002
distcc[10931] (dcc_x_token_int) send ARGV00000009
distcc[10931] (dcc_x_token_int) send ARGV00000005
distcc[10931] (dcc_x_token_int) send ARGV00000007
distcc[10931] (dcc_x_token_int) send ARGV00000003
distcc[10931] (dcc_x_token_int) send ARGV0000000b
distcc[10931] (dcc_x_token_int) send ARGV0000000b
distcc[10931] (dcc_x_token_int) send ARGV00000002
distcc[10931] (dcc_x_token_int) send ARGV00000002
distcc[10931] (dcc_collect_child) child 10935 terminated with status 0
distcc[10931] (dcc_report_rusage) cpp resource usage: 0.270000s user, 0.050000s system
distcc[10931] (dcc_critique_status) cpp on localhost completed ok
distcc[10931] (dcc_x_file) send 807599 byte file /tmp/distcc_000001f7/cppout_0000010931.ii with token DOTI
distcc[10931] (dcc_x_token_int) send DOTI000c52af
distcc[10931] (dcc_writex) ERROR: failed to write: Broken pipe
distcc[10931] (dcc_x_file_timed) 807599 bytes sent in 0.000107s, rate 7370756kB/s
distcc[10931] (dcc_unlock) release lock
distcc[10931] (dcc_mark_timefile) mark /tmp/distcc_000001f7/lock_backoff_tcp_127.0.0.1_3632_0
distcc[10931] (dcc_build_somewhere) Warning: failed to distribute, running locally instead



commandline of distccd:
distccd --verbose --log-stderr 


output of distccd:
distccd[10928] (dcc_trim_path) original PATH /usr/local/gcc-3.3/bin:/sbin:/usr/sbin:/opt/gnome/bin:/opt/kde2/bin:/opt/kde/bin:.:/usr/openwin/bin:/usr/bin/X11:/usr/games:/usr/lib/java/bin:/usr/local/bin:/usr/bin:/bin
distccd[10928] (dcc_trim_path) not modifying PATH
distccd[10928] (dcc_should_be_inetd) stdin is a tty; assuming --daemon mode
distccd[10928] distccd (version 2.4.1, built May 29 2003 17:16:03) listening on port 3632
distccd[10928] (dcc_standalone_server) 1 CPU online
distccd[10928] (dcc_parent_loop) waiting to accept connection
distccd[10928] (dcc_serve_connection) up to 1 children
distccd[10928] (dcc_parent_loop) waiting to accept connection
distccd[10936] (dcc_check_client) connection from 127.0.0.1 (address family 2)
distccd[10928] (dcc_reap_kids) down to 0 children
distccd[10928] (dcc_reap_kids) ERROR: child 10936 exited on signal 11
distccd[10928] (dcc_parent_loop) waiting to accept connection



More information about the distcc mailing list