On Wed, Mar 19, 2008 at 4:43 PM, Martin Pool <[EMAIL PROTECTED]> wrote: > To me, these errors look like you may have mismatched compilers on > some of the machines?
I'm curious what you see here that makes you think that. I'm pretty sure they are the same compiler, gcc --version says i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5465) Copyright (C) 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. on both machines and this problem only seems to happen when trying to dirstribute compiles of objective-c (.mm) files. One thing I notice in the logs below is that the .mm file is sent "with token DOTI" which I assume means gcc .i (C source code which should not be preprocessed) while I would expect that it needs to be sent as a .mii (Objective-C++ source code which should not be preprocessed). Does distcc have different tokens for DOTI, DOTII, DOTMI, DOTMII etc.? Thanks again. Cheers, Derek > On Wed, Feb 13, 2008 at 8:55 AM, Derek Scherger <[EMAIL PROTECTED]> wrote: > > If I try to compile an objective-c++ (.mm) file with dist cc I get the > > following: > > > > $ DISTCC_HOSTS=octomac/1 distcc /usr/bin/g++ -DRendering_EXPORTS > > -fasm-blocks -Wreturn-type -g -fPIC > > -I/library/Itk/include/InsightToolkit > > -I/library/Itk/include/InsightToolkit/Algorithms > > -I/library/Itk/include/InsightToolkit/BasicFilters > > -I/library/Itk/include/InsightToolkit/Common > > -I/library/Itk/include/InsightToolkit/expat > > -I/library/Itk/include/InsightToolkit/Numerics > > -I/library/Itk/include/InsightToolkit/IO > > -I/library/Itk/include/InsightToolkit/Numerics/FEM > > -I/library/Itk/include/InsightToolkit/Numerics/Statistics > > -I/library/Itk/include/InsightToolkit/Numerics/NeuralNetworks > > -I/library/Itk/include/InsightToolkit/SpatialObject > > -I/library/Itk/include/InsightToolkit/Utilities/MetaIO > > -I/library/Itk/include/InsightToolkit/Utilities/NrrdIO > > -I/library/Itk/include/InsightToolkit/Utilities/DICOMParser > > -I/library/Itk/include/InsightToolkit/Utilities/itkExtHdrs > > -I/library/Itk/include/InsightToolkit/Utilities > > -I/library/Itk/include/InsightToolkit/Utilities/vxl/vcl > > -I/library/Itk/include/InsightToolkit/Utilities/vxl/core > > -I/library/cppunit/include -I/library/dcmtk/include > > -I/library/FreeImage/include -I/library/G3Dmin/include > > -I/library/Glew/include -I/library/Itk/include > > -I/library/lib3ds/include -I/library/libpng/include > > -I/library/libxml2/include -I/library/zlib/include > > -I/Users/djs/src/project/build/core > > -I/Users/djs/src/project/trunk/core/Source > > -I/Users/djs/src/project/trunk/core/Source/include > > -I/Users/djs/src/project/trunk/shared/include -DHAVE_CONFIG_H -o > > core/Source/Rendering/CMakeFiles/Rendering.dir/CocoaOpenGLContext.o -c > > /Users/djs/src/project/trunk/core/Source/Rendering/CocoaOpenGLContext.mm > > distcc[4294] (dcc_trace_version) distcc 2.18.5-Apple.1 > > powerpc-apple-darwin9.0; built Sep 23 2007 19:10:48 > > distcc[4294] (dcc_recursion_safeguard) safeguard level=0 > > distcc[4294] (main) compiler name is "distcc" > > distcc[4294] (dcc_scan_args) scanning arguments: /usr/bin/g++ > > -DRendering_EXPORTS -fasm-blocks -Wreturn-type -g -fPIC > > -I/library/Itk/include/InsightToolkit > > -I/library/Itk/include/InsightToolkit/Algorithms > > -I/library/Itk/include/InsightToolkit/BasicFilters > > -I/library/Itk/include/InsightToolkit/Common > > -I/library/Itk/include/InsightToolkit/expat > > -I/library/Itk/include/InsightToolkit/Numerics > > -I/library/Itk/include/InsightToolkit/IO > > -I/library/Itk/include/InsightToolkit/Numerics/FEM > > -I/library/Itk/include/InsightToolkit/Numerics/Statistics > > -I/library/Itk/include/InsightToolkit/Numerics/NeuralNetworks > > -I/library/Itk/include/InsightToolkit/SpatialObject > > -I/library/Itk/include/InsightToolkit/Utilities/MetaIO > > -I/library/Itk/include/InsightToolkit/Utilities/NrrdIO > > -I/library/Itk/include/InsightToolkit/Utilities/DICOMParser > > -I/library/Itk/include/InsightToolkit/Utilities/itkExtHdrs > > -I/library/Itk/include/InsightToolkit/Utilities > > -I/library/Itk/include/InsightToolkit/Utilities/vxl/vcl > > -I/library/Itk/include/InsightToolkit/Utilities/vxl/core > > -I/library/cppunit/include -I/library/dcmtk/include > > -I/library/FreeImage/include -I/library/G3Dmin/include > > -I/library/Glew/include -I/library/Itk/include > > -I/library/lib3ds/include -I/library/libpng/include > > -I/library/libxml2/include -I/library/zlib/include > > -I/Users/djs/src/project/build/core > > -I/Users/djs/src/project/trunk/core/Source > > -I/Users/djs/src/project/trunk/core/Source/include > > -I/Users/djs/src/project/trunk/shared/include -DHAVE_CONFIG_H -o > > core/Source/Rendering/CMakeFiles/Rendering.dir/CocoaOpenGLContext.o -c > > /Users/djs/src/project/trunk/core/Source/Rendering/CocoaOpenGLContext.mm > > distcc[4294] (dcc_scan_args) found object/output file > > "core/Source/Rendering/CMakeFiles/Rendering.dir/CocoaOpenGLContext.o" > > distcc[4294] (dcc_scan_args) found input file > > "/Users/djs/src/project/trunk/core/Source/Rendering/CocoaOpenGLContext.mm" > > distcc[4294] compile from CocoaOpenGLContext.mm to CocoaOpenGLContext.o > > distcc[4294] (dcc_get_cpp_lock) got cpp lock: > > /var/tmp/distcc.523/lock/cpp_lock_0 > > distcc[4294] (dcc_strip_dasho) result: /usr/bin/g++ > > -DRendering_EXPORTS -fasm-blocks -Wreturn-type -g -fPIC > > -I/library/Itk/include/InsightToolkit > > -I/library/Itk/include/InsightToolkit/Algorithms > > -I/library/Itk/include/InsightToolkit/BasicFilters > > -I/library/Itk/include/InsightToolkit/Common > > -I/library/Itk/include/InsightToolkit/expat > > -I/library/Itk/include/InsightToolkit/Numerics > > -I/library/Itk/include/InsightToolkit/IO > > -I/library/Itk/include/InsightToolkit/Numerics/FEM > > -I/library/Itk/include/InsightToolkit/Numerics/Statistics > > -I/library/Itk/include/InsightToolkit/Numerics/NeuralNetworks > > -I/library/Itk/include/InsightToolkit/SpatialObject > > -I/library/Itk/include/InsightToolkit/Utilities/MetaIO > > -I/library/Itk/include/InsightToolkit/Utilities/NrrdIO > > -I/library/Itk/include/InsightToolkit/Utilities/DICOMParser > > -I/library/Itk/include/InsightToolkit/Utilities/itkExtHdrs > > -I/library/Itk/include/InsightToolkit/Utilities > > -I/library/Itk/include/InsightToolkit/Utilities/vxl/vcl > > -I/library/Itk/include/InsightToolkit/Utilities/vxl/core > > -I/library/cppunit/include -I/library/dcmtk/include > > -I/library/FreeImage/include -I/library/G3Dmin/include > > -I/library/Glew/include -I/library/Itk/include > > -I/library/lib3ds/include -I/library/libpng/include > > -I/library/libxml2/include -I/library/zlib/include > > -I/Users/djs/src/project/build/core > > -I/Users/djs/src/project/trunk/core/Source > > -I/Users/djs/src/project/trunk/core/Source/include > > -I/Users/djs/src/project/trunk/shared/include -DHAVE_CONFIG_H -c > > /Users/djs/src/project/trunk/core/Source/Rendering/CocoaOpenGLContext.mm > > distcc[4294] (dcc_spawn_child) forking to execute: /usr/bin/g++ > > -DRendering_EXPORTS -fasm-blocks -Wreturn-type -g -fPIC > > -I/library/Itk/include/InsightToolkit > > -I/library/Itk/include/InsightToolkit/Algorithms > > -I/library/Itk/include/InsightToolkit/BasicFilters > > -I/library/Itk/include/InsightToolkit/Common > > -I/library/Itk/include/InsightToolkit/expat > > -I/library/Itk/include/InsightToolkit/Numerics > > -I/library/Itk/include/InsightToolkit/IO > > -I/library/Itk/include/InsightToolkit/Numerics/FEM > > -I/library/Itk/include/InsightToolkit/Numerics/Statistics > > -I/library/Itk/include/InsightToolkit/Numerics/NeuralNetworks > > -I/library/Itk/include/InsightToolkit/SpatialObject > > -I/library/Itk/include/InsightToolkit/Utilities/MetaIO > > -I/library/Itk/include/InsightToolkit/Utilities/NrrdIO > > -I/library/Itk/include/InsightToolkit/Utilities/DICOMParser > > -I/library/Itk/include/InsightToolkit/Utilities/itkExtHdrs > > -I/library/Itk/include/InsightToolkit/Utilities > > -I/library/Itk/include/InsightToolkit/Utilities/vxl/vcl > > -I/library/Itk/include/InsightToolkit/Utilities/vxl/core > > -I/library/cppunit/include -I/library/dcmtk/include > > -I/library/FreeImage/include -I/library/G3Dmin/include > > -I/library/Glew/include -I/library/Itk/include > > -I/library/lib3ds/include -I/library/libpng/include > > -I/library/libxml2/include -I/library/zlib/include > > -I/Users/djs/src/project/build/core > > -I/Users/djs/src/project/trunk/core/Source > > -I/Users/djs/src/project/trunk/core/Source/include > > -I/Users/djs/src/project/trunk/shared/include -DHAVE_CONFIG_H -E > > /Users/djs/src/project/trunk/core/Source/Rendering/CocoaOpenGLContext.mm > > distcc[4294] (dcc_is_allowed_compiler) allowed compiler path: /usr/bin/g++ > > distcc[4294] (dcc_spawn_child) child started as pid4295 > > distcc[4294] (dcc_strip_local_args) result: /usr/bin/g++ -fasm-blocks > > -Wreturn-type -g -fPIC -o > > core/Source/Rendering/CMakeFiles/Rendering.dir/CocoaOpenGLContext.o -c > > /Users/djs/src/project/trunk/core/Source/Rendering/CocoaOpenGLContext.mm > > distcc[4295] (dcc_increment_safeguard) setting safeguard: > _DISTCC_SAFEGUARD=1 > > distcc[4294] (dcc_get_hostlist) read hosts from environment > > distcc[4294] (dcc_parse_hosts) found tcp token "octomac/1" > > distcc[4294] (dcc_lock_host) got cpu lock on octomac/1 slot 0 as fd9 > > distcc[4294] exec on octomac/1: /usr/bin/g++ -fasm-blocks > > -Wreturn-type -g -fPIC -o > > core/Source/Rendering/CMakeFiles/Rendering.dir/CocoaOpenGLContext.o -c > > /Users/djs/src/project/trunk/core/Source/Rendering/CocoaOpenGLContext.mm > > distcc[4294] (dcc_note_state) note state 2, file > > "CocoaOpenGLContext.mm", host "octomac" > > distcc[4294] (dcc_connect_by_addr) started connecting to > 192.168.170.81:3632 > > distcc[4294] (dcc_select_for_write) select for write on fd10 > > distcc[4294] (dcc_note_state) note state 4, file "(NULL)", host "(NULL)" > > distcc[4294] (dcc_x_token_int) send DIST00000001 > > distcc[4294] (dcc_x_token_int) send ARGC00000009 > > distcc[4294] (dcc_x_token_int) send ARGV0000000c > > distcc[4294] (dcc_x_token_int) send ARGV0000000c > > distcc[4294] (dcc_x_token_int) send ARGV0000000d > > distcc[4294] (dcc_x_token_int) send ARGV00000002 > > distcc[4294] (dcc_x_token_int) send ARGV00000005 > > distcc[4294] (dcc_x_token_int) send ARGV00000002 > > distcc[4294] (dcc_x_token_int) send ARGV00000049 > > distcc[4294] (dcc_x_token_int) send ARGV00000002 > > distcc[4294] (dcc_x_token_int) send ARGV00000050 > > distcc[4294] (dcc_note_state) note state 3, file "(NULL)", host "(NULL)" > > distcc[4294] (dcc_collect_child) cpp child 4295 terminated with status 0 > > distcc[4294] (dcc_collect_child) cpp times: user 0.257795s, system > > 0.217339s, 5061 minflt, 0 majflt > > distcc[4294] cpp > > /Users/djs/src/project/trunk/core/Source/Rendering/CocoaOpenGLContext.mm > > on localhost completed ok > > distcc[4294] (dcc_unlock_cpp_lock) gave up cpp lock: > > /var/tmp/distcc.523/lock/cpp_lock_0 > > distcc[4294] (dcc_x_file) send 3444161 byte file > > /var/folders/Xt/XtFnn8QGHgCmHAC96Ifxtk+++Ug/-Tmp-/distcc_4ae81386.mii > > with token DOTI > > distcc[4294] (dcc_x_token_int) send DOTI00348dc1 > > distcc[4294] (dcc_pump_sendfile) Notice: sendfile: partial > > transmission of 131072 bytes; retrying 3313089 @131072 > > distcc[4294] (dcc_select_for_write) select for write on fd10 > > distcc[4294] (dcc_pump_sendfile) select() returned, continuing to write > > distcc[4294] (dcc_pump_sendfile) Notice: sendfile: partial > > transmission of 3592 bytes; retrying 3309497 @134664 > > distcc[4294] (dcc_select_for_write) select for write on fd10 > > distcc[4294] (dcc_pump_sendfile) select() returned, continuing to write > > > > ... lost of sendfile ... > > > > distcc[4294] (dcc_compile_remote) client finished sending request to > server > > distcc[4294] (dcc_note_state) note state 5, file "(NULL)", host "octomac" > > distcc[4294] (dcc_select_for_read) select for read on fd10 for 300s > > distcc[4294] (dcc_r_token_int) got INDR00000002 > > distcc[4294] (dcc_select_for_read) select for read on fd10 for 300s > > distcc[4294] (dcc_r_token_int) got DONE00000001 > > distcc[4294] (dcc_r_result_header) got response header > > distcc[4294] (dcc_note_state) note state 6, file "(NULL)", host "(NULL)" > > distcc[4294] (dcc_r_token_int) got SINF00000013 > > distcc[4294] (dcc_r_token_int) got CVER00000029 > > distcc[4294] (dcc_r_token_int) got STAT00000100 > > distcc[4294] (dcc_r_token_int) got SERR00156392 > > > /System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:120: > > error: expected unqualified-id before '@' token > > > /System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:122: > > error: expected constructor, destructor, or type conversion before '*' > > token > > > /System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:123: > > error: 'NSString' was not declared in this scope > > > /System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:123: > > error: 'aSelectorName' was not declared in this scope > > > /System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:125: > > error: expected constructor, destructor, or type conversion before '*' > > token > > > /System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:126: > > error: 'NSString' was not declared in this scope > > > /System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:126: > > error: 'aClassName' was not declared in this scope > > > /System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:128: > > error: expected constructor, destructor, or type conversion before '*' > > token > > > /System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:129: > > error: expected constructor, destructor, or type conversion before '*' > > token > > > /System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:133: > > error: variable or field 'NSLog' declared void > > > /System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:133: > > error: 'NSString' was not declared in this scope > > > /System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:133: > > error: 'format' was not declared in this scope > > > /System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:133: > > error: expected primary-expression before '...' token > > > /System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:133: > > error: initializer expression list treated as compound expression > > > /System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:134: > > error: variable or field 'NSLogv' declared void > > > /System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:134: > > error: 'NSString' was not declared in this scope > > > /System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:134: > > error: 'format' was not declared in this scope > > > /System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:134: > > error: expected primary-expression before 'args' > > > /System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:134: > > error: initializer expression list treated as compound expression > > > > > > All of these errors appear to be due to the remote compiler expecing a > > C or C++ header, rather than an Objective C++ header. > > However, when I set DISTCC_HOSTS to localhost everything works fine: > > > > $ DISTCC_HOSTS=localhost/1 distcc /usr/bin/g++ -DRendering_EXPORTS > > -fasm-blocks -Wreturn-type -g -fPIC > > -I/library/Itk/include/InsightToolkit > > -I/library/Itk/include/InsightToolkit/Algorithms > > -I/library/Itk/include/InsightToolkit/BasicFilters > > -I/library/Itk/include/InsightToolkit/Common > > -I/library/Itk/include/InsightToolkit/expat > > -I/library/Itk/include/InsightToolkit/Numerics > > -I/library/Itk/include/InsightToolkit/IO > > -I/library/Itk/include/InsightToolkit/Numerics/FEM > > -I/library/Itk/include/InsightToolkit/Numerics/Statistics > > -I/library/Itk/include/InsightToolkit/Numerics/NeuralNetworks > > -I/library/Itk/include/InsightToolkit/SpatialObject > > -I/library/Itk/include/InsightToolkit/Utilities/MetaIO > > -I/library/Itk/include/InsightToolkit/Utilities/NrrdIO > > -I/library/Itk/include/InsightToolkit/Utilities/DICOMParser > > -I/library/Itk/include/InsightToolkit/Utilities/itkExtHdrs > > -I/library/Itk/include/InsightToolkit/Utilities > > -I/library/Itk/include/InsightToolkit/Utilities/vxl/vcl > > -I/library/Itk/include/InsightToolkit/Utilities/vxl/core > > -I/library/cppunit/include -I/library/dcmtk/include > > -I/library/FreeImage/include -I/library/G3Dmin/include > > -I/library/Glew/include -I/library/Itk/include > > -I/library/lib3ds/include -I/library/libpng/include > > -I/library/libxml2/include -I/library/zlib/include > > -I/Users/djs/src/project/build/core > > -I/Users/djs/src/project/trunk/core/Source > > -I/Users/djs/src/project/trunk/core/Source/include > > -I/Users/djs/src/project/trunk/shared/include -DHAVE_CONFIG_H -o > > core/Source/Rendering/CMakeFiles/Rendering.dir/CocoaOpenGLContext.o -c > > /Users/djs/src/project/trunk/core/Source/Rendering/CocoaOpenGLContext.mm > > distcc[4301] (dcc_trace_version) distcc 2.18.5-Apple.1 > > powerpc-apple-darwin9.0; built Sep 23 2007 19:10:48 > > distcc[4301] (dcc_recursion_safeguard) safeguard level=0 > > distcc[4301] (main) compiler name is "distcc" > > distcc[4301] (dcc_scan_args) scanning arguments: /usr/bin/g++ > > -DRendering_EXPORTS -fasm-blocks -Wreturn-type -g -fPIC > > -I/library/Itk/include/InsightToolkit > > -I/library/Itk/include/InsightToolkit/Algorithms > > -I/library/Itk/include/InsightToolkit/BasicFilters > > -I/library/Itk/include/InsightToolkit/Common > > -I/library/Itk/include/InsightToolkit/expat > > -I/library/Itk/include/InsightToolkit/Numerics > > -I/library/Itk/include/InsightToolkit/IO > > -I/library/Itk/include/InsightToolkit/Numerics/FEM > > -I/library/Itk/include/InsightToolkit/Numerics/Statistics > > -I/library/Itk/include/InsightToolkit/Numerics/NeuralNetworks > > -I/library/Itk/include/InsightToolkit/SpatialObject > > -I/library/Itk/include/InsightToolkit/Utilities/MetaIO > > -I/library/Itk/include/InsightToolkit/Utilities/NrrdIO > > -I/library/Itk/include/InsightToolkit/Utilities/DICOMParser > > -I/library/Itk/include/InsightToolkit/Utilities/itkExtHdrs > > -I/library/Itk/include/InsightToolkit/Utilities > > -I/library/Itk/include/InsightToolkit/Utilities/vxl/vcl > > -I/library/Itk/include/InsightToolkit/Utilities/vxl/core > > -I/library/cppunit/include -I/library/dcmtk/include > > -I/library/FreeImage/include -I/library/G3Dmin/include > > -I/library/Glew/include -I/library/Itk/include > > -I/library/lib3ds/include -I/library/libpng/include > > -I/library/libxml2/include -I/library/zlib/include > > -I/Users/djs/src/project/build/core > > -I/Users/djs/src/project/trunk/core/Source > > -I/Users/djs/src/project/trunk/core/Source/include > > -I/Users/djs/src/project/trunk/shared/include -DHAVE_CONFIG_H -o > > core/Source/Rendering/CMakeFiles/Rendering.dir/CocoaOpenGLContext.o -c > > /Users/djs/src/project/trunk/core/Source/Rendering/CocoaOpenGLContext.mm > > distcc[4301] (dcc_scan_args) found object/output file > > "core/Source/Rendering/CMakeFiles/Rendering.dir/CocoaOpenGLContext.o" > > distcc[4301] (dcc_scan_args) found input file > > "/Users/djs/src/project/trunk/core/Source/Rendering/CocoaOpenGLContext.mm" > > distcc[4301] compile from CocoaOpenGLContext.mm to CocoaOpenGLContext.o > > distcc[4301] (dcc_get_cpp_lock) got cpp lock: > > /var/tmp/distcc.523/lock/cpp_lock_0 > > distcc[4301] (dcc_strip_dasho) result: /usr/bin/g++ > > -DRendering_EXPORTS -fasm-blocks -Wreturn-type -g -fPIC > > -I/library/Itk/include/InsightToolkit > > -I/library/Itk/include/InsightToolkit/Algorithms > > -I/library/Itk/include/InsightToolkit/BasicFilters > > -I/library/Itk/include/InsightToolkit/Common > > -I/library/Itk/include/InsightToolkit/expat > > -I/library/Itk/include/InsightToolkit/Numerics > > -I/library/Itk/include/InsightToolkit/IO > > -I/library/Itk/include/InsightToolkit/Numerics/FEM > > -I/library/Itk/include/InsightToolkit/Numerics/Statistics > > -I/library/Itk/include/InsightToolkit/Numerics/NeuralNetworks > > -I/library/Itk/include/InsightToolkit/SpatialObject > > -I/library/Itk/include/InsightToolkit/Utilities/MetaIO > > -I/library/Itk/include/InsightToolkit/Utilities/NrrdIO > > -I/library/Itk/include/InsightToolkit/Utilities/DICOMParser > > -I/library/Itk/include/InsightToolkit/Utilities/itkExtHdrs > > -I/library/Itk/include/InsightToolkit/Utilities > > -I/library/Itk/include/InsightToolkit/Utilities/vxl/vcl > > -I/library/Itk/include/InsightToolkit/Utilities/vxl/core > > -I/library/cppunit/include -I/library/dcmtk/include > > -I/library/FreeImage/include -I/library/G3Dmin/include > > -I/library/Glew/include -I/library/Itk/include > > -I/library/lib3ds/include -I/library/libpng/include > > -I/library/libxml2/include -I/library/zlib/include > > -I/Users/djs/src/project/build/core > > -I/Users/djs/src/project/trunk/core/Source > > -I/Users/djs/src/project/trunk/core/Source/include > > -I/Users/djs/src/project/trunk/shared/include -DHAVE_CONFIG_H -c > > /Users/djs/src/project/trunk/core/Source/Rendering/CocoaOpenGLContext.mm > > distcc[4301] (dcc_spawn_child) forking to execute: /usr/bin/g++ > > -DRendering_EXPORTS -fasm-blocks -Wreturn-type -g -fPIC > > -I/library/Itk/include/InsightToolkit > > -I/library/Itk/include/InsightToolkit/Algorithms > > -I/library/Itk/include/InsightToolkit/BasicFilters > > -I/library/Itk/include/InsightToolkit/Common > > -I/library/Itk/include/InsightToolkit/expat > > -I/library/Itk/include/InsightToolkit/Numerics > > -I/library/Itk/include/InsightToolkit/IO > > -I/library/Itk/include/InsightToolkit/Numerics/FEM > > -I/library/Itk/include/InsightToolkit/Numerics/Statistics > > -I/library/Itk/include/InsightToolkit/Numerics/NeuralNetworks > > -I/library/Itk/include/InsightToolkit/SpatialObject > > -I/library/Itk/include/InsightToolkit/Utilities/MetaIO > > -I/library/Itk/include/InsightToolkit/Utilities/NrrdIO > > -I/library/Itk/include/InsightToolkit/Utilities/DICOMParser > > -I/library/Itk/include/InsightToolkit/Utilities/itkExtHdrs > > -I/library/Itk/include/InsightToolkit/Utilities > > -I/library/Itk/include/InsightToolkit/Utilities/vxl/vcl > > -I/library/Itk/include/InsightToolkit/Utilities/vxl/core > > -I/library/cppunit/include -I/library/dcmtk/include > > -I/library/FreeImage/include -I/library/G3Dmin/include > > -I/library/Glew/include -I/library/Itk/include > > -I/library/lib3ds/include -I/library/libpng/include > > -I/library/libxml2/include -I/library/zlib/include > > -I/Users/djs/src/project/build/core > > -I/Users/djs/src/project/trunk/core/Source > > -I/Users/djs/src/project/trunk/core/Source/include > > -I/Users/djs/src/project/trunk/shared/include -DHAVE_CONFIG_H -E > > /Users/djs/src/project/trunk/core/Source/Rendering/CocoaOpenGLContext.mm > > distcc[4301] (dcc_is_allowed_compiler) allowed compiler path: /usr/bin/g++ > > distcc[4301] (dcc_spawn_child) child started as pid4302 > > distcc[4301] (dcc_strip_local_args) result: /usr/bin/g++ -fasm-blocks > > -Wreturn-type -g -fPIC -o > > core/Source/Rendering/CMakeFiles/Rendering.dir/CocoaOpenGLContext.o -c > > /Users/djs/src/project/trunk/core/Source/Rendering/CocoaOpenGLContext.mm > > distcc[4302] (dcc_increment_safeguard) setting safeguard: > _DISTCC_SAFEGUARD=1 > > distcc[4301] (dcc_get_hostlist) read hosts from environment > > distcc[4301] (dcc_parse_hosts) found localhost token "localhost/1" > > distcc[4301] (dcc_lock_host) got cpu lock on localhost/1 slot 0 as fd9 > > distcc[4301] exec on localhost: /usr/bin/g++ -DRendering_EXPORTS > > -fasm-blocks -Wreturn-type -g -fPIC > > -I/library/Itk/include/InsightToolkit > > -I/library/Itk/include/InsightToolkit/Algorithms > > -I/library/Itk/include/InsightToolkit/BasicFilters > > -I/library/Itk/include/InsightToolkit/Common > > -I/library/Itk/include/InsightToolkit/expat > > -I/library/Itk/include/InsightToolkit/Numerics > > -I/library/Itk/include/InsightToolkit/IO > > -I/library/Itk/include/InsightToolkit/Numerics/FEM > > -I/library/Itk/include/InsightToolkit/Numerics/Statistics > > -I/library/Itk/include/InsightToolkit/Numerics/NeuralNetworks > > -I/library/Itk/include/InsightToolkit/SpatialObject > > -I/library/Itk/include/InsightToolkit/Utilities/MetaIO > > -I/library/Itk/include/InsightToolkit/Utilities/NrrdIO > > -I/library/Itk/include/InsightToolkit/Utilities/DICOMParser > > -I/library/Itk/include/InsightToolkit/Utilities/itkExtHdrs > > -I/library/Itk/include/InsightToolkit/Utilities > > -I/library/Itk/include/InsightToolkit/Utilities/vxl/vcl > > -I/library/Itk/include/InsightToolkit/Utilities/vxl/core > > -I/library/cppunit/include -I/library/dcmtk/include > > -I/library/FreeImage/include -I/library/G3Dmin/include > > -I/library/Glew/include -I/library/Itk/include > > -I/library/lib3ds/include -I/library/libpng/include > > -I/library/libxml2/include -I/library/zlib/include > > -I/Users/djs/src/project/build/core > > -I/Users/djs/src/project/trunk/core/Source > > -I/Users/djs/src/project/trunk/core/Source/include > > -I/Users/djs/src/project/trunk/shared/include -DHAVE_CONFIG_H -o > > core/Source/Rendering/CMakeFiles/Rendering.dir/CocoaOpenGLContext.o -c > > /Users/djs/src/project/trunk/core/Source/Rendering/CocoaOpenGLContext.mm > > distcc[4301] (dcc_note_state) note state 5, file > > "CocoaOpenGLContext.mm", host "localhost" > > distcc[4301] (dcc_spawn_child) forking to execute: /usr/bin/g++ > > -DRendering_EXPORTS -fasm-blocks -Wreturn-type -g -fPIC > > -I/library/Itk/include/InsightToolkit > > -I/library/Itk/include/InsightToolkit/Algorithms > > -I/library/Itk/include/InsightToolkit/BasicFilters > > -I/library/Itk/include/InsightToolkit/Common > > -I/library/Itk/include/InsightToolkit/expat > > -I/library/Itk/include/InsightToolkit/Numerics > > -I/library/Itk/include/InsightToolkit/IO > > -I/library/Itk/include/InsightToolkit/Numerics/FEM > > -I/library/Itk/include/InsightToolkit/Numerics/Statistics > > -I/library/Itk/include/InsightToolkit/Numerics/NeuralNetworks > > -I/library/Itk/include/InsightToolkit/SpatialObject > > -I/library/Itk/include/InsightToolkit/Utilities/MetaIO > > -I/library/Itk/include/InsightToolkit/Utilities/NrrdIO > > -I/library/Itk/include/InsightToolkit/Utilities/DICOMParser > > -I/library/Itk/include/InsightToolkit/Utilities/itkExtHdrs > > -I/library/Itk/include/InsightToolkit/Utilities > > -I/library/Itk/include/InsightToolkit/Utilities/vxl/vcl > > -I/library/Itk/include/InsightToolkit/Utilities/vxl/core > > -I/library/cppunit/include -I/library/dcmtk/include > > -I/library/FreeImage/include -I/library/G3Dmin/include > > -I/library/Glew/include -I/library/Itk/include > > -I/library/lib3ds/include -I/library/libpng/include > > -I/library/libxml2/include -I/library/zlib/include > > -I/Users/djs/src/project/build/core > > -I/Users/djs/src/project/trunk/core/Source > > -I/Users/djs/src/project/trunk/core/Source/include > > -I/Users/djs/src/project/trunk/shared/include -DHAVE_CONFIG_H -o > > core/Source/Rendering/CMakeFiles/Rendering.dir/CocoaOpenGLContext.o -c > > /Users/djs/src/project/trunk/core/Source/Rendering/CocoaOpenGLContext.mm > > distcc[4301] (dcc_is_allowed_compiler) allowed compiler path: /usr/bin/g++ > > distcc[4301] (dcc_spawn_child) child started as pid4305 > > distcc[4305] (dcc_increment_safeguard) setting safeguard: > _DISTCC_SAFEGUARD=1 > > distcc[4301] (dcc_collect_child) cc child 4305 terminated with status 0 > > distcc[4301] (dcc_collect_child) cc times: user 0.688237s, system > > 0.287074s, 20745 minflt, 0 majflt > > distcc[4301] compile > > /Users/djs/src/project/trunk/core/Source/Rendering/CocoaOpenGLContext.mm > > on localhost completed ok > > distcc[4301] (dcc_unlock) release lock fd9 > > distcc[4301] elapsed compilation time 1.533547s > > distcc[4301] (dcc_exit) exit: code 0; self: 0.000969 user 0.003589 > > sys; children: 0.688237 user 0.287074 sys > > distcc[4301] (dcc_cleanup_tempfiles) deleted 1 temporary files > > > > Is there something I need to do to get Objective-C++ files to compile > > with distcc? > > > > I did try setting the -xobjective-c++ compiler option but that said: > > distcc[4184] (dcc_scan_args) gcc's -x handling is complex; running locally > > which didn't sound like it was really helping. > > > > Thanks for any info. > > > > Cheers, > > Derek > > __ > > distcc mailing list http://distcc.samba.org/ > > To unsubscribe or change options: > > https://lists.samba.org/mailman/listinfo/distcc > > > > > > > > -- > Martin <http://launchpad.net/~mbp/> > __ distcc mailing list http://distcc.samba.org/ To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/distcc
