[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 07:37:44 PDT 2016


dvyukov added a comment.

What is the version of the binaries produced by the toolchain? You need to do:
$ go test -c -race fmt
This will produce fmt.test binary linked with race_darwin_amd64.syso.
There are changes that Go linker does the right thing and plain ignores LC_VERSION_MIN_MACOSX. Yes, there is own linker, check src/cmd/link/internal/ld/macho.go.


http://reviews.llvm.org/D20670





More information about the llvm-commits mailing list