Git Product home page Git Product logo

Comments (20)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 21, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 21, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 21, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 21, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 21, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 21, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 21, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 21, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 21, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 21, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 21, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 21, 2024
[deleted comment]

from distcc.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 21, 2024
> 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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 21, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 21, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 21, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 21, 2024
Will do. Thanks.

Original comment by [email protected] on 10 Mar 2009 at 12:26

from distcc.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 21, 2024
[deleted comment]

from distcc.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 21, 2024
[deleted comment]

from distcc.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 21, 2024
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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.