gupascal / distcc

distcc: a fast, free distributed C/C++ compiler. Automatically exported from code.google.com/p/distcc
GNU General Public License v2.0
0 stars 0 forks source link

pump fails on kernel/bounds.c compiling linux kernel #54

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Pump reverts to plain mode. CPU on 'client' runs at about 60% until pump
mode fails, then thrashes to 100%.

I have set the following environment variable (as hinted by the
include_server man page), but it does not help:

export
include_server_args="--stat_reset_triggers=include/linux/compile.h:include/asm/a
sm-offsets.h:include/linux/bounds.h"

Answering the following questions is a big help:

1. What version of distcc are you using (e.g. "2.7.1")?  You can run
"distcc --version" to see.  If you got distcc from a distribution package
rather than building from source, please say which one.

distcc 3.1 x86_64-unknown-linux-gnu
  (protocols 1, 2 and 3) (default port 3632)
  built Jul  9 2009 13:04:35

2. What platform are you running on?

Linux scenz.massey.landcareresearch.co.nz 2.6.18-128.1.14.el5xen #1 SMP Wed
Jun 17 07:10:16 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-44)

3. What were you trying to do?

build linux-2.6.30.1 kernel

4. What went wrong?

pump reverted to plain mode

5. If you have an example of a compiler invocation that failed?

pump make -j96 CC='distcc gcc'

6. What error logging do you get?

CC      kernel/bounds.s
distcc[10664] ERROR: compile kernel/bounds.c on compute-0-0/8,lzo,cpp failed
distcc[10664] (dcc_build_somewhere) Warning: remote compilation of
'kernel/bounds.c' failed, retrying locally
distcc[10664] Warning: failed to distribute kernel/bounds.c to
compute-0-0/8,lzo,cpp, running locally instead
distcc[10664] (dcc_please_send_email_after_investigation) Warning: remote
compilation of 'kernel/bounds.c' failed, retried locally and got a
different result.
distcc[10664] (dcc_note_discrepancy) Warning: now using plain distcc,
possibly due to inconsistent file system changes during build 

Original issue reported on code.google.com by bloodr...@gmail.com on 14 Jul 2009 at 4:38

GoogleCodeExporter commented 9 years ago
Apologies if this is not the appropriate place for these issues. distcc mailing 
list
seems to be down.

Original comment by bloodr...@gmail.com on 14 Jul 2009 at 4:39

GoogleCodeExporter commented 9 years ago
I had the same problem.  After some hunting I ran across this email:
http://lists.samba.org/archive/distcc/2009q3/003976.html
with a suggested fix, the fix worked as stated, but the minimal required command
boils down to this:
export
INCLUDE_SERVER_ARGS=--stat_reset_triggers=include/linux/compile.h:include/asm/as
m-offsets.h
pump make HOSTCC='${CC}'

I assume pump sets the environment variable CC to 'distcc' or something 
equivalent,
then you assign HOSTCC to the same value manually.  Tested with 2.6.34-rc4. 

Original comment by kevin.gr...@gmail.com on 15 Apr 2010 at 11:42

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I'm having the same problem... Trying to build 2.6.33.1 kernel with distcc 3.1 
in pump mode, but as quoted before, after kernel/bounds.c fails (on the same 
message) it falls back to a plain mode. Plain mode for kernel works, pump mode 
for other projects (for example for the latest samba) works as well. 

I tried adding 
--stat_reset_triggers=include/linux/compile.h:include/asm/asm-offsets.h and 
HOSTCC='${CC}' as mentioned before, but still with the same result. 

I even tried to export INCLUDE_SERVER_ARGS=--stat_reset_triggers="*", but still 
keeps crashing on the same place.

Original comment by josef.ga...@gmail.com on 17 Jun 2011 at 2:07

GoogleCodeExporter commented 9 years ago
Holy shit, this is over 3 years old and still no action.  Is this a dead 
project?  I can confirm this is the still a problem building the linux 3.7.1.  
The fix in comment 2 does not work.

Original comment by da_audio...@yahoo.com on 23 Dec 2012 at 12:51