Giter Club home page Giter Club logo

Comments (6)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 23, 2024
Basically this message means that distcc's "pump" mode does not support the 
"-isysroot" flag, so distcc is falling back to using local preprocessing.  This 
is not new, so I guess something in your build environment recently changed 
which flags you are passing to distcc.

See
http://lists.samba.org/archive/distcc/2008q3/003790.html
for a work-around.

Original comment by [email protected] on 26 Feb 2014 at 11:53

from distcc.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 23, 2024
So from the workaround you pointed me at, essentially hiding that option from 
distcc is enough to make things work?  Couldn’t distcc be made to ignore the 
presence of that option and just pass it through?  Applying the workaround as 
described complicates my build system considerably.

Thanks!

Original comment by [email protected] on 27 Feb 2014 at 3:11

from distcc.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 23, 2024
Hi Dave,

> So from the workaround you pointed me at, essentially hiding that option from
> distcc is enough to make things work?

I don't know, but it's probably worth a try.  If you do try it, please let us 
know how it turns out.

> Couldn’t distcc be made to ignore the presence of that option and just pass
> it through? 

It would be awesome if you could make a patch for distcc to handle -isysroot.

It's not quite just a matter of passing it through; distcc notices that the 
compiler name is different and computes the set of built-in system directories 
separately for that compiler.  (The file include_server/compiler_defaults.py in 
the distcc sources keeps a table of built-in system directories, indexed by 
compiler name and -sysroot flag value.)

But you're right that it is probably not hard to do in distcc.
distcc already has code to handle -sysroot; handling -isysroot should be 
similar.

Documentation for -isysroot is hard to come by, but according to 
the documentation for -sysroot at 
<http://gcc.gnu.org/onlinedocs/gcc/Directory-Options.html>, which mentions 
-isysroot in passing,
"If you use both this option [-sysroot] and the -isysroot option, then the 
--sysroot option applies to libraries, but the -isysroot option applies to 
header files."

Since distcc's option processing is essentially only concerned with the effect 
on preprocessing, that means that for distcc, -isysroot should have exactly the 
same effect as -sysroot except that if -isysroot is present then distcc should 
use the -isysroot value and ignore the -sysroot value.

Distcc is open source.  If you are getting benefit from distcc, I would 
encourage you to improve it to make it even better and to contribute your 
changes back to the community.

Cheers,
  Fergus.

Original comment by [email protected] on 27 Feb 2014 at 11:58

  • Changed state: Accepted

from distcc.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 23, 2024
Actually it looks like Rafael Ávila de Espíndola has already made a patch for 
this.
I'll take on the task of fixing and integrating that patch.

Original comment by [email protected] on 27 Feb 2014 at 1:31

  • Changed state: Started

from distcc.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 23, 2024
Fixed in revision 783.

Original comment by [email protected] on 27 Feb 2014 at 1:48

  • Changed state: Fixed

from distcc.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 23, 2024
Thanks Fergus!  I would love to contribute, but my current circumstances make 
that very difficult.  These days I am forced to be a “taker” of FOSS 
without being able to give much back.  Your work is very much appreciated, 
though!

Original comment by [email protected] on 27 Feb 2014 at 9:12

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.