Comments (6)
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.
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.
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.
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.
Fixed in revision 783.
Original comment by [email protected]
on 27 Feb 2014 at 1:48
- Changed state: Fixed
from distcc.
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)
- distcc tests not portable (hardcoded include path) HOT 2
- 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]
- 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
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.