Using tbb41_20130116oss and clang on Mac OS X with the following invocations
$ make compiler=clang arch=ia32 $ make compiler=clang arch=intel64
The build fails and the output contains ...
Undefined symbols for architecture <arch>: "vtable for tbb::tbb_exception", referenced from: -exported_symbol[s_list] command line option
If you also have set the following environment variables
CFLAGS='-isysroot /path/to/Xcode_4.6.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk -mmacosx-version-min=10.6' CXXFLAGS='-isysroot /path/to/Xcode_4.6.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk -mmacosx-version-min=10.6' LDFLAGS='-isysroot /path/to/Xcode_4.6.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk -mmacosx-version-min=10.6' OSX_CFLAGS='-isysroot /path/to/Xcode_4.6.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk -mmacosx-version-min=10.6' OSX_LDFLAGS='-isysroot /path/to/Xcode_4.6.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk -mmacosx-version-min=10.6'
Then the output includes the helpful:
ld: warning: target OS does not support re-exporting symbol std::runtime_error::~runtime_error() from /Volumes/doriangray/devtools/Xcode_4.6.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/lib/libstdc++.dylib
Clang installed from Apple's command line tools installer of Jan-2013.
$ clang -v Apple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn) Target: x86_64-apple-darwin11.4.2 Thread model: posix




