[distcc] distcc under OSX [Warning: no sendfile implementation on this platform]

David Brennan david at brennanhome.com
Thu Feb 21 05:04:27 GMT 2008


I just downloaded and built the latest distcc under OSX 10.5.2. My  
goal is actually to use it for an embedded system so I will be using  
it with a cross compiler. The cross compiler is i386-elf-gcc. It is  
version 4.0.4.

I tested distcc with no hosts defined, and it worked fine (emitting  
warnings with each compile, as expected).

I added a host which is using the cygwin version of distcc. It has the  
same cross compiler built, in the same location.

I get this error message when trying to run the make on my OS X machine.

distcc[65245] (sys_sendfile) Warning: no sendfile implementation on  
this platform
followed shortly by this one:
distcc[65245] ERROR: compile ./xxx.cpp on 192.168.10.100 failed with  
exit code 53

Is this a problem with my OS X build? The cygwin package is also  
version 2.18.3.
There were no warnings during the configure under OSX.
There were a lot of compiler warnings, but no errors.
Is there an option that I should pass to configure to support OSX?


distcc was built using the native compiler under OS X (XCode 3.0, I  
believe).
Native compiler:
Using built-in specs.
Target: i686-apple-darwin9
Configured with: /var/tmp/gcc/gcc-5465~16/src/configure --disable- 
checking -enable-werror --prefix=/usr --mandir=/share/man --enable- 
languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/ 
$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/ 
lib --build=i686-apple-darwin9 --with-arch=apple --with-tune=generic -- 
host=i686-apple-darwin9 --target=i686-apple-darwin9
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5465)

Cross compiler:
Using built-in specs.
Target: i386-elf
Configured with: /tmp/src/gcc-4.0.4/configure --prefix=/opt/ecos/ 
gnutools --target=i386-elf --enable-languages=c,c++ --with-gnu-as -- 
with-gnu-ld --with-newlib --with-gxx-include-dir=/opt/ecos/gnutools/ 
i386-elf/include -v
Thread model: single
gcc version 4.0.4


Thank you
David Brennan



More information about the distcc mailing list