Comments (5)
This one is a tricky three-way incompatibility between MacOS gcc, Python, and
distcc.
MacOS gcc extends gcc with support for multiple -arch options; Python uses them;
and distcc invokes gcc via Python, hence picking up the "-arch" options;
but MacOS gcc doesn't support the standard gcc "-MD" option when multiple
"-arch"
options are used.
The work-around is to comment out the "-MD" from the Makefile.
Original comment by [email protected]
on 29 Jan 2009 at 10:08
from distcc.
please add -MF xxx.d after -MD CFLAG, you maybe need to modify the makefile,
for example, if you compile use
gcc src.c -MD -o ../out/src.o
try this,
gcc src.c -MD -MF ../out/src.d -o ../out/src.o
In makefile, you may need change the rules, like -MD -MF $(patsubst %.o,%.d,$@)
Original comment by kzjeef
on 24 Apr 2009 at 3:56
from distcc.
How does adding "-MF xxx.d" help?
I didn't think it would help, but I just tried it, and I still get
bash$ make
...
gcc -Wl,-F. -bundle -undefined dynamic_lookup -arch i386 -arch ppc -g -O2 -MD
-MF
include-server.d ...
gcc-4.0: -E, -S, -save-temps and -M options are not allowed with multiple -arch
flags
Original comment by [email protected]
on 25 Apr 2009 at 1:12
from distcc.
[deleted comment]
from distcc.
If we can't figure out a perfect solution for this issue, why not directly
remove "-MD" flag when it detects it's using MacOS gcc?
Or is it better to remove multiple "-arch" since I guess it's less necessary in
this case?
Original comment by [email protected]
on 4 Jun 2012 at 12:38
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.