mehdi_amini added a comment. In https://reviews.llvm.org/D31272#711877, @EricWF wrote:
> In https://reviews.llvm.org/D31272#711876, @mehdi_amini wrote: > > > Strange. So installing the command line tools is not enough. It has to be > > that CMAKE_OSX_SYSROOT is only defined on Apple internal install maybe? > > > Are you sure you're starting with a clean CMake build directory? Yes. But now that I think about it, I'm using an internal branch, the issue has to come from that. I'll look deeper tomorrow! >> I have this error: >> >> ld: requested re-export symbol operator new(unsigned long) is not from a >> dylib, but from lib/CMakeFiles/cxx_objects.dir/__/src/new.cpp.o >> file 'lib/CMakeFiles/cxx_objects.dir/__/src/new.cpp.o' for architecture >> x86_64 > > Interesting. That seems to suggest that `libc++abi.dylib` doesn't provide the > definition at all. Not necessarily that > the duplicate definitions are causing this. I think it says that the list of reexport explicitly mentions a symbol that comes from an object (new.cpp.o) and not another dylib. This error will happens whether the symbol is also in libc++abi or not. https://reviews.llvm.org/D31272 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits