[PATCH] D20670: [tsan] On OS X, build Go runtime with -mmacosx-version-min
Kuba Brecka via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 3 07:46:45 PDT 2016
kubabrecka added a comment.
In http://reviews.llvm.org/D20670#448232, @dvyukov wrote:
> What is the version of the binaries produced by the toolchain? You need to do:
> $ go test -c -race fmt
cmd LC_VERSION_MIN_MACOSX
cmdsize 16
version 10.7
sdk 10.7
> 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.
Wow. I didn’t expect that.
http://reviews.llvm.org/D20670
More information about the llvm-commits
mailing list