Comments (20)
I should add that I am in an environment with a NFS so all the header files are
common and available to any of the machines.
Original comment by [email protected]
on 11 Feb 2009 at 3:21
from distcc.
Is your code using Boost headers?
This warning
WARNING include server: Preprocessing locally. Include server not covering:
Bailing out because include server spent more than 3.8s user time handling
request for translation unit 'cfilename.c
could be due to a known issue
<http://code.google.com/p/distcc/issues/detail?id=16>.
Does this warning occur even for really simple code, e.g. an empty file, or a
file
just containing "#include <stdio.h>"?
Try something like this
echo "#include <stdio.h>" > foo.c
pump distcc -c foo.c
and see if you still get the same message.
P.S. The distccd.log messages come from the lsdistcc call in the pump script;
they
can safely be ignored.
Original comment by [email protected]
on 11 Feb 2009 at 5:44
from distcc.
Not using Boost headers, just standard .h files in a C source library.
Original comment by [email protected]
on 11 Feb 2009 at 9:36
from distcc.
Does this warning occur even for really simple code, e.g. an empty file, or a
file
just containing "#include <stdio.h>"?
What happens if you try something like this?
echo "#include <stdio.h>" > foo.c
pump distcc -c foo.c
Original comment by [email protected]
on 11 Feb 2009 at 9:51
from distcc.
Running the tool on an empty file or foo.c as you mentioned works fine, it's
only
when my own header files are included that I get the message:
WARNING include server: Preprocessing locally. Include server not covering:
Bailing out because include server spent more than 3.8s user time handling
request for translation unit 'cfilename.c'
Original comment by [email protected]
on 11 Feb 2009 at 11:40
from distcc.
Sounds like this is probably another instance of issue 16.
You could try increasing USER_TIME_QUOTA in include_server/basics.py.
Original comment by [email protected]
on 12 Feb 2009 at 12:34
from distcc.
Increasing USER_TIME_QUOTA from 3.8 to 20 seems to give the include server the
time
it needs and distcc gcc runs successfully. I guess I'll play around with it
more to
find out the minimum time it needs?
Also, does pump-distcc mode use the same server for preprocessing and compiling
each
time it runs? Or does it do each step on a different server and maybe they're
the
same out of coincidence in the randomization?
Original comment by [email protected]
on 13 Feb 2009 at 1:58
from distcc.
With pump mode, preprocessing and compilation are done together, as a single
step.
Gcc does that more efficiently if you do it as a single step - it doesn't need
to
produce the intermediate preprocessed output file.
Original comment by [email protected]
on 13 Feb 2009 at 2:27
from distcc.
So pump mode knows this and doesn't send the output file to the remote server?
Original comment by [email protected]
on 13 Feb 2009 at 3:47
from distcc.
Yes, in pump mode distcc sends the source file and header files to the remote
server,
rather than preprocessing locally and sending the preprocessed output file to
the
remote server.
Original comment by [email protected]
on 13 Feb 2009 at 4:34
from distcc.
Same thing being run....now I am failing to compile remotely everytime and I
get this
message:
__________Using distcc-pump from /home/tholly/solaris_local/bin
__________Found 3 available distcc servers
__________Warning: 1 pump-mode compilation(s) failed on server, but
succeeded
locally.
__________Distcc-pump was demoted to plain mode. See the Distcc Discrepancy
Symptoms
section in the include_server(1) man page.
__________Shutting down distcc-pump include server
Original comment by [email protected]
on 23 Feb 2009 at 4:05
from distcc.
[deleted comment]
from distcc.
> 1 pump-mode compilation(s) failed on server, but succeeded locally.
In pump mode, distcc first tries compiling on the remote server.
If that fails, it retries the compilation locally.
If the local compilation succeeds, then it gives you the error message that you
saw,
and for subsequent compilations (until you next invoke "pump" or "pump
--startup"),
it will not attempt remote compilation.
You need to look at the other error messages to figure out why the compilation
failed
remotely, but succeeded locally.
Original comment by [email protected]
on 23 Feb 2009 at 4:54
from distcc.
Off topic question...have you seen or heard of distcc working with the Diab
compiler
called dcc?
Original comment by [email protected]
on 23 Feb 2009 at 6:56
from distcc.
Would it be possible for distcc to run other tools remotely like lint for
example, or
an assember without a -c or -S option? I see that if a compiler does not have
one of
these two options, it is automatically run on localhost.
Original comment by [email protected]
on 9 Mar 2009 at 3:22
from distcc.
It would be possible only if there is a way to cheaply precompute the set of
files
that the tool will read (and the set it will write). In the case of lint, that
should be the same as for the compiler, so it can be computed the same way. In
the
case of an assembler, it should typically be straight-forward, although it
depends on
whether the assembly language supports anything similar to #include.
In addition, the tool would run in a different directory on a different host,
so if
it embeds the hostname and/or directory in its outputs, that could cause some
problems. But such problems should not be much of an issue, I expect, for lint
or
for an assembler.
It would be great to restructure the code which parses the command line so that
it we
can more easily plug in different parsers for different commands.
P.S. This question is really a bit off-topic for this bug report.
It's better to ask questions like these on the distcc mailing list
rather than via the distcc issues list.
Original comment by [email protected]
on 10 Mar 2009 at 1:19
from distcc.
Will do. Thanks.
Original comment by [email protected]
on 10 Mar 2009 at 12:26
from distcc.
[deleted comment]
from distcc.
[deleted comment]
from distcc.
system:
cygwin+ads
_______Using distcc-pump from /usr/local/bin
TRACE: Starting socketserver /tmp/distcc-pump.N13504/socket
__________Found 2 available distcc servers
WARNING include server: Preprocessing locally. Include server not covering:
Could not
locate name of translation unit: ['ARM926EJ-S',
'/interwork/noropi/norwpi/noswst',
'softvfp', '../../modem/1x/cp/src/otasp.c']. for translation unit 'unknown
translation unit'
distcc[11132] Warning: include server gave up analyzing
distcc[11132] (dcc_build_somewhere) Warning: failed to get includes from
include
server, preprocessing locally
OBJECT SXNAAHZ/autoconfigdiag.o
why?how to fix this issue?
thanks a lot!
jason CNH
Original comment by [email protected]
on 17 May 2009 at 2:27
from distcc.
Related Issues (20)
- Compilation fails under Cygwin HOT 2
- --coverage flag not treated correctly HOT 1
- missing feature: support --coverage to compile remotely HOT 1
- ls HOT 1
- Apparently not getting much parallelism HOT 9
- [deleted issue]
- Include server not covering... HOT 6
- GPL3 encumbrance HOT 9
- disable distcc HOT 3
- unknown translation unit - mips64 compiler HOT 4
- Building with GCC 4.7.3 on x86_32 fails due to warnings in lzo/minilzo.c HOT 3
- Documentation for --random is incomplete
- lsdistcc_1.html Shown as Raw File in Browser HOT 1
- zeroconf hosts have a hardcoded slots value of 4? HOT 2
- OS X Yosemite Compile Fixes
- absence of DISTCC_SSH setting causes exec("ssh") failure HOT 1
- lsdistcc segfaults when called with more than 502 hosts
- [PATCH] SOCKSv5 proxy support HOT 2
- distccd not honoring DISTCC_TCP_CORK=0
- gnome/distccmon-gnome.desktop is not utf-8 encoded file.It is ISO-8859.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from distcc.