Summary: | distcc fails when using lzo compression on amd64 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Brian Hall <brihall> |
Component: | [OLD] Core system | Assignee: | Lisa Seelye (RETIRED) <lisa> |
Status: | RESOLVED NEEDINFO | ||
Severity: | minor | CC: | lisa, mbp |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Brian Hall
2005-02-16 17:22:42 UTC
Can you please post a verbose client and server log showing the failure? Here is a verbose debug from my syslog on the server, client log follows but doesn't show anything useful (only running 1 make job, so never hits localhost on the distcc compile): Feb 16 19:19:41 zippy distccd[9316]: (dcc_r_argv) argv[20] = "arch/x86_64/ia32/ptrace32.c" Feb 16 19:19:41 zippy distccd[9316]: (dcc_r_argv) got arguments: cc -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -fomit-frame-pointer -march=k8 -mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -funit-at-a-time -Wdeclaration-after-statement -c -o arch/x86_64/ia32/.tmp_ptrace32.o arch/x86_64/ia32/ptrace32.c Feb 16 19:19:41 zippy distccd[9316]: (dcc_scan_args) scanning arguments: cc -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -fomit-frame-pointer -march=k8 -mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -funit-at-a-time -Wdeclaration-after-statement -c -o arch/x86_64/ia32/.tmp_ptrace32.o arch/x86_64/ia32/ptrace32.c Feb 16 19:19:41 zippy distccd[9316]: (dcc_scan_args) found object/output file "arch/x86_64/ia32/.tmp_ptrace32.o" Feb 16 19:19:41 zippy distccd[9316]: (dcc_scan_args) found input file "arch/x86_64/ia32/ptrace32.c" Feb 16 19:19:41 zippy distccd[9316]: compile from ptrace32.c to .tmp_ptrace32.o Feb 16 19:19:41 zippy distccd[9316]: (dcc_run_job) output file arch/x86_64/ia32/.tmp_ptrace32.o Feb 16 19:19:41 zippy distccd[9316]: (dcc_input_tmpnam) input file arch/x86_64/ia32/ptrace32.c Feb 16 19:19:41 zippy distccd[9316]: (dcc_r_token_int) got DOTI00015cef Feb 16 19:19:41 zippy distccd[9316]: (dcc_r_bulk_lzo1x) decompressed 89327 bytes to 314245 bytes: 28% Feb 16 19:19:41 zippy distccd[9316]: (dcc_r_file) received 89327 bytes to file /tmp/distccd_7da4ff3d.i Feb 16 19:19:41 zippy distccd[9316]: (dcc_r_file_timed) 89327 bytes received in 0.007712s, rate 11311kB/s Feb 16 19:19:41 zippy distccd[9316]: (dcc_set_input) changed input from "arch/x86_64/ia32/ptrace32.c" to "/tmp/distccd_7da4ff3d.i" Feb 16 19:19:41 zippy distccd[9316]: (dcc_set_input) command after: cc -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -fomit-frame-pointer -march=k8 -mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -funit-at-a-time -Wdeclaration-after-statement -c -o arch/x86_64/ia32/.tmp_ptrace32.o /tmp/distccd_7da4ff3d.i Feb 16 19:19:41 zippy distccd[9316]: (dcc_set_output) changed output from "arch/x86_64/ia32/.tmp_ptrace32.o" to "/tmp/distccd_7daeff3d.o" Feb 16 19:19:41 zippy distccd[9316]: (dcc_set_output) command after: cc -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -fomit-frame-pointer -march=k8 -mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -funit-at-a-time -Wdeclaration-after-statement -c -o /tmp/distccd_7daeff3d.o /tmp/distccd_7da4ff3d.i Feb 16 19:19:41 zippy distccd[9316]: (dcc_check_compiler_masq) /usr/bin/cc is not a symlink Feb 16 19:19:41 zippy distccd[9316]: (dcc_spawn_child) forking to execute: cc -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -fomit-frame-pointer -march=k8 -mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -funit-at-a-time -Wdeclaration-after-statement -c -o /tmp/distccd_7daeff3d.o /tmp/distccd_7da4ff3d.i Feb 16 19:19:41 zippy distccd[9518]: (dcc_increment_safeguard) setting safeguard: _DISTCC_SAFEGUARD=1 Feb 16 19:19:41 zippy distccd[9316]: (dcc_spawn_child) child started as pid9518 Feb 16 19:19:41 zippy distccd[9316]: (dcc_collect_child) cc child 9518 terminated with status 0 Feb 16 19:19:41 zippy distccd[9316]: (dcc_collect_child) cc times: user 0.171973s, system 0.019996s, 4836 minflt, 0 majflt Feb 16 19:19:41 zippy distccd[9316]: (dcc_x_token_int) send DONE00000002 Feb 16 19:19:41 zippy distccd[9316]: (dcc_x_token_int) send STAT00000000 Feb 16 19:19:41 zippy distccd[9316]: (dcc_x_file) send 0 byte file /tmp/distcc_7341ff3d.stderr with token SERR Feb 16 19:19:41 zippy distccd[9316]: (dcc_x_token_int) send SERR00000000 Feb 16 19:19:41 zippy distccd[9316]: (dcc_x_file) send 0 byte file /tmp/distcc_733aff3d.stdout with token SOUT Feb 16 19:19:41 zippy distccd[9316]: (dcc_x_token_int) send SOUT00000000 Feb 16 19:19:41 zippy distccd[9316]: (dcc_x_file) send 6032 byte file /tmp/distccd_7daeff3d.o with token DOTO Feb 16 19:19:41 zippy distccd[9316]: (dcc_compress_lzo1x_alloc) compressed 6032 bytes to 3227 bytes: 53% Feb 16 19:19:41 zippy distccd[9316]: (dcc_x_token_int) send DOTO00000c9b Feb 16 19:19:41 zippy distccd[9316]: cc arch/x86_64/ia32/ptrace32.c on localhost completed ok Feb 16 19:19:41 zippy distccd[9316]: job complete Feb 16 19:19:41 zippy distccd[9316]: (dcc_cleanup_tempfiles) deleted 4 temporary files Feb 16 19:19:42 zippy distccd[9309]: (dcc_check_client) connection from 192.168.5.11:40722 Feb 16 19:19:42 zippy distccd[9309]: (dcc_check_address) match client 0xb05a8c0, value 0x5a8c0, mask 0xffffff Feb 16 19:19:42 zippy distccd[9309]: (dcc_r_token_int) got DIST00000002 Feb 16 19:19:42 zippy distccd[9309]: (dcc_r_token_int) got ARGC00000015 Feb 16 19:19:42 zippy distccd[9309]: (dcc_r_argv) reading 21 arguments from job submission Feb 16 19:19:42 zippy distccd[9309]: (dcc_r_token_int) got ARGV00000002 Feb 16 19:19:42 zippy distccd[9309]: (dcc_r_argv) argv[0] = "cc" Feb 16 19:19:42 zippy distccd[9309]: (dcc_r_token_int) got ARGV00000005 Feb 16 19:19:42 zippy distccd[9309]: (dcc_r_argv) argv[1] = "-Wall" Feb 16 19:19:42 zippy distccd[9309]: (dcc_r_token_int) got ARGV00000013 Feb 16 19:19:42 zippy distccd[9309]: (dcc_r_argv) argv[2] = "-Wstrict-prototypes" Feb 16 19:19:42 zippy distccd[9309]: (dcc_r_token_int) got ARGV0000000e Feb 16 19:19:42 zippy distccd[9309]: (dcc_r_argv) argv[3] = "-Wno-trigraphs" Feb 16 19:19:42 zippy distccd[9309]: (dcc_r_token_int) got ARGV00000014 Feb 16 19:19:42 zippy distccd[9309]: (dcc_r_argv) argv[4] = "-fno-strict-aliasing" Feb 16 19:19:42 zippy distccd[9309]: (dcc_r_token_int) got ARGV0000000b Feb 16 19:19:42 zippy distccd[9309]: (dcc_r_argv) argv[5] = "-fno-common" Feb 16 19:19:42 zippy distccd[9309]: (dcc_r_token_int) got ARGV00000003 Feb 16 19:19:42 zippy distccd[9309]: (dcc_r_argv) argv[6] = "-O2" Feb 16 19:19:42 zippy distccd[9309]: (dcc_r_token_int) got ARGV00000014 Feb 16 19:19:42 zippy distccd[9309]: (dcc_r_argv) argv[7] = "-fomit-frame-pointer" Feb 16 19:19:42 zippy distccd[9309]: (dcc_r_token_int) got ARGV00000009 Feb 16 19:19:42 zippy distccd[9309]: (dcc_r_argv) argv[8] = "-march=k8" Feb 16 19:19:42 zippy distccd[9309]: (dcc_r_token_int) got ARGV0000000d Feb 16 19:19:42 zippy distccd[9309]: (dcc_r_argv) argv[9] = "-mno-red-zone" Feb 16 19:19:42 zippy distccd[9309]: (dcc_r_token_int) got ARGV0000000f Feb 16 19:19:42 zippy distccd[9309]: (dcc_r_argv) argv[10] = "-mcmodel=kernel" Feb 16 19:19:42 zippy distccd[9309]: (dcc_r_token_int) got ARGV00000005 Feb 16 19:19:42 zippy distccd[9309]: (dcc_r_argv) argv[11] = "-pipe" Feb 16 19:19:42 zippy distccd[9309]: (dcc_r_token_int) got ARGV00000013 Feb 16 19:19:42 zippy distccd[9309]: (dcc_r_argv) argv[12] = "-fno-reorder-blocks" Feb 16 19:19:42 zippy distccd[9309]: (dcc_r_token_int) got ARGV00000011 Feb 16 19:19:42 zippy distccd[9309]: (dcc_r_argv) argv[13] = "-Wno-sign-compare" Feb 16 19:19:42 zippy distccd[9309]: (dcc_r_token_int) got ARGV0000001f Feb 16 19:19:42 zippy distccd[9309]: (dcc_r_argv) argv[14] = "-fno-asynchronous-unwind-tables" Feb 16 19:19:42 zippy distccd[9309]: (dcc_r_token_int) got ARGV00000010 Feb 16 19:19:42 zippy distccd[9309]: (dcc_r_argv) argv[15] = "-funit-at-a-time" Feb 16 19:19:42 zippy distccd[9309]: (dcc_r_token_int) got ARGV0000001d Feb 16 19:19:42 zippy distccd[9309]: (dcc_r_argv) argv[16] = "-Wdeclaration-after-statement" Feb 16 19:19:42 zippy distccd[9309]: (dcc_r_token_int) got ARGV00000002 Feb 16 19:19:42 zippy distccd[9309]: (dcc_r_argv) argv[17] = "-c" Feb 16 19:19:42 zippy distccd[9309]: (dcc_r_token_int) got ARGV00000002 Feb 16 19:19:42 zippy distccd[9309]: (dcc_r_argv) argv[18] = "-o" Feb 16 19:19:42 zippy distccd[9309]: (dcc_r_token_int) got ARGV00000021 Feb 16 19:19:42 zippy distccd[9309]: (dcc_r_argv) argv[19] = "arch/x86_64/ia32/.tmp_syscall32.o" Feb 16 19:19:42 zippy distccd[9309]: (dcc_r_token_int) got ARGV0000001c Feb 16 19:19:42 zippy distccd[9309]: (dcc_r_argv) argv[20] = "arch/x86_64/ia32/syscall32.c" Feb 16 19:19:42 zippy distccd[9309]: (dcc_r_argv) got arguments: cc -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -fomit-frame-pointer -march=k8 -mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -funit-at-a-time -Wdeclaration-after-statement -c -o arch/x86_64/ia32/.tmp_syscall32.o arch/x86_64/ia32/syscall32.c Feb 16 19:19:42 zippy distccd[9309]: (dcc_scan_args) scanning arguments: cc -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -fomit-frame-pointer -march=k8 -mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -funit-at-a-time -Wdeclaration-after-statement -c -o arch/x86_64/ia32/.tmp_syscall32.o arch/x86_64/ia32/syscall32.c Feb 16 19:19:42 zippy distccd[9309]: (dcc_scan_args) found object/output file "arch/x86_64/ia32/.tmp_syscall32.o" Feb 16 19:19:42 zippy distccd[9309]: (dcc_scan_args) found input file "arch/x86_64/ia32/syscall32.c" Feb 16 19:19:42 zippy distccd[9309]: compile from syscall32.c to .tmp_syscall32.o Feb 16 19:19:42 zippy distccd[9309]: (dcc_run_job) output file arch/x86_64/ia32/.tmp_syscall32.o Feb 16 19:19:42 zippy distccd[9309]: (dcc_input_tmpnam) input file arch/x86_64/ia32/syscall32.c Feb 16 19:19:42 zippy distccd[9309]: (dcc_r_token_int) got DOTI00012eaf Feb 16 19:19:42 zippy distccd[9309]: (dcc_r_bulk_lzo1x) decompressed 77487 bytes to 260523 bytes: 29% Feb 16 19:19:42 zippy distccd[9309]: (dcc_r_file) received 77487 bytes to file /tmp/distccd_8594ff3e.i Feb 16 19:19:42 zippy distccd[9309]: (dcc_r_file_timed) 77487 bytes received in 0.006556s, rate 11542kB/s Feb 16 19:19:42 zippy distccd[9309]: (dcc_set_input) changed input from "arch/x86_64/ia32/syscall32.c" to "/tmp/distccd_8594ff3e.i" Feb 16 19:19:42 zippy distccd[9309]: (dcc_set_input) command after: cc -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -fomit-frame-pointer -march=k8 -mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -funit-at-a-time -Wdeclaration-after-statement -c -o arch/x86_64/ia32/.tmp_syscall32.o /tmp/distccd_8594ff3e.i Feb 16 19:19:42 zippy distccd[9309]: (dcc_set_output) changed output from "arch/x86_64/ia32/.tmp_syscall32.o" to "/tmp/distccd_85aeff3e.o" Feb 16 19:19:42 zippy distccd[9309]: (dcc_set_output) command after: cc -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -fomit-frame-pointer -march=k8 -mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -funit-at-a-time -Wdeclaration-after-statement -c -o /tmp/distccd_85aeff3e.o /tmp/distccd_8594ff3e.i Feb 16 19:19:42 zippy distccd[9309]: (dcc_check_compiler_masq) /usr/bin/cc is not a symlink Feb 16 19:19:42 zippy distccd[9309]: (dcc_spawn_child) forking to execute: cc -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -fomit-frame-pointer -march=k8 -mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -funit-at-a-time -Wdeclaration-after-statement -c -o /tmp/distccd_85aeff3e.o /tmp/distccd_8594ff3e.i Feb 16 19:19:42 zippy distccd[9521]: (dcc_increment_safeguard) setting safeguard: _DISTCC_SAFEGUARD=1 Feb 16 19:19:42 zippy distccd[9309]: (dcc_spawn_child) child started as pid9521 Feb 16 19:19:42 zippy distccd[9309]: (dcc_collect_child) cc child 9521 terminated with status 0x100 Feb 16 19:19:42 zippy distccd[9309]: (dcc_collect_child) cc times: user 0.094985s, system 0.011998s, 4016 minflt, 0 majflt Feb 16 19:19:42 zippy distccd[9309]: (dcc_x_token_int) send DONE00000002 Feb 16 19:19:42 zippy distccd[9309]: (dcc_x_token_int) send STAT00000100 Feb 16 19:19:42 zippy distccd[9309]: (dcc_x_file) send 199 byte file /tmp/distcc_bb94ff3e.stderr with token SERR Feb 16 19:19:42 zippy distccd[9309]: (dcc_compress_lzo1x_alloc) compressed 199 bytes to 127 bytes: 63% Feb 16 19:19:42 zippy distccd[9309]: (dcc_x_token_int) send SERR0000007f Feb 16 19:19:42 zippy distccd[9309]: (dcc_x_file) send 0 byte file /tmp/distcc_bbbfff3e.stdout with token SOUT Feb 16 19:19:42 zippy distccd[9309]: (dcc_x_token_int) send SOUT00000000 Feb 16 19:19:42 zippy distccd[9309]: (dcc_x_token_int) send DOTO00000000 Feb 16 19:19:42 zippy distccd[9309]: cc arch/x86_64/ia32/syscall32.c on localhost failed Feb 16 19:19:42 zippy distccd[9309]: job complete Feb 16 19:19:42 zippy distccd[9309]: (dcc_cleanup_tempfiles) deleted 4 temporary files localhost client: Feb 16 19:24:37 syrinx distccd[13001]: (main) chdir to /tmp Feb 16 19:24:37 syrinx distccd[13001]: (dcc_setup_daemon_path) daemon's PATH is /usr/x86_64-pc-linux-gnu/gcc-bin/3.4.3:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/3.4.3:/opt/ati/bin:/net/scripts:/usr/games:/usr/games/bin:/usr/local/bin:/usr/local/lib/oss/bin:/usr/local/lib/oss/bin Feb 16 19:24:37 syrinx distccd[13001]: (dcc_should_be_inetd) stdin is a tty; assuming --daemon mode Feb 16 19:24:37 syrinx distccd[13001]: (dcc_listen_by_addr) listening on 0.0.0.0:3632 Feb 16 19:24:37 syrinx distccd[13001]: (dcc_defer_accept) TCP_DEFER_ACCEPT turned on Feb 16 19:24:37 syrinx distccd[13001]: (dcc_standalone_server) 1 CPU online on this server Feb 16 19:24:37 syrinx distccd[13001]: (dcc_standalone_server) allowing up to 3 active jobs Feb 16 19:24:37 syrinx distccd[13001]: (dcc_ignore_sighup) ignoring SIGHUP Feb 16 19:24:37 syrinx distccd[13002]: (dcc_detach) setsid to session 13002 Feb 16 19:24:37 syrinx distccd[13002]: (dcc_log_daemon_started) preforking daemon started (2.18.3 x86_64-pc-linux-gnu, built Feb 6 2005 11:00:22) Feb 16 19:24:37 syrinx distccd[13002]: (dcc_preforking_parent) up to 1 children Feb 16 19:24:38 syrinx distccd[13002]: (dcc_preforking_parent) up to 2 children Feb 16 19:24:39 syrinx distccd[13002]: (dcc_preforking_parent) up to 3 children Martin? Any ideas? waiting for martin... i'm not on amd64 so i can't test this... |