[compiler-rt] r233215 - On OS X, explicitly use libc++

Kuba Brecka kuba.brecka at gmail.com
Thu Apr 16 08:18:11 PDT 2015


> We do "MACOSX_DEPLOYMENT_TARGET=10.6 cmake" to configure compiler-rt.
> Does ASan ignore that and use current OS instead?
> 
>> Note that this should only apply to sanitizers - the parts of compiler-rt
>> that are used for regular binaries are not dylibs, but .a files, and their
>> required OS X version should be much lower.
> 
> Do the non-sanitizer binaries not care about MACOSX_DEPLOYMENT_TARGET?
> What OS version are they built against? If they are always built
> against 10.6 or less, we could just stop setting the target
> specifically, and our problems would go away, I think.

Wait, so is this issue about the non-sanitizer parts of compiler-rt, or about ASan not working/building on 10.6?  If it’s about ASan, then I’m not sure we want change the behavior, because ASan currently requires 10.7+.

The required OS X version for ASan was bumped from 10.6 to 10.7 in r219302, see http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20141006/238850.html <http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20141006/238850.html>.  If you think ASan should keep supporting 10.6, then let’s discuss that (Alexander probably knows more), but it seems to me that failing to build with "MACOSX_DEPLOYMENT_TARGET=10.6” is correct behavior now.

Kuba

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150416/b7713ead/attachment.html>


More information about the llvm-commits mailing list