svn trunk does not build? ld error with sanitizer_procmaps_linux.cc.o

Hi all,

This seems to happen to me a lot, but I've just tried rebuilding from current svn trunk (r230645) and it fails:

[ 15%] Building CXX object projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.iossim.dir/sanitizer_procmaps_linux.cc.o
ld: requested re-export symbol std::set_unexpected(void (*)()) is not from a dylib, but from CMakeFiles/cxx.dir/__/src/exception.cpp.o
for architecture x86_64

This is on OS X 10.8.5, building with Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn) (from Xcode 5.0.2), and CMake 3.2rc2.

Cheers,

I've just squeezed the problem. r230118 builds, r230119 does not.

Oops, I'll look at fixing this but it might be quite involved to
figure out what symbols we can actually export on different OSX
machines.

For the time being you should be able to use
-DLIBCXX_LIBCPPABI_VERSION="" while configuring cmake to get your
build going again.

Sorry
/Eric

/