[PATCH] D20670: [tsan] On OS X, build Go runtime with -mmacosx-version-min

Dmitry Vyukov via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 3 05:12:26 PDT 2016


dvyukov added a comment.

> When it’s not specified, it uses your system version


This applies to both compiler and linker? Just want to make sure.
What we will have is: compiler uses -mmacosx-version-min=10.7 when building this object file, but then linker does not have this flag. This still should work, right?
I understand that the resulting binary will work only versions >= build machine version. Nobody complained about this for Go as far as I know. Go runtime does not use any system headers and libraries and is very conservative about syscalls. If a particular user program uses system-dependent C/C++ code, then I guess it's its concern to pass -mmacosx-version-min.


http://reviews.llvm.org/D20670





More information about the llvm-commits mailing list