From: Cherry Mui Date: Tue, 12 Aug 2025 19:51:45 +0000 (-0400) Subject: runtime/race: restore previous version of LLVM TSAN on macOS X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=1b263fc6042ed763319f59fd2b87df23e53c9f6f;p=gostls13.git runtime/race: restore previous version of LLVM TSAN on macOS Apparently CL 692996 made the Darwin race builders to be very flaky. That CL does two things: 1. uses "ld -r" to strip out the dynamic symbol table; 2. updates to a newer version of LLVM TSAN. To narrow it down, this CL undoes the second part, restpring the previous version of LLVM TSAN, but keeps the "ld -r" part. For #74978. Change-Id: I0611d733232b18440f249cd5a0b76f7e1ff99a55 Reviewed-on: https://go-review.googlesource.com/c/go/+/695137 Reviewed-by: Michael Knyszek TryBot-Bypass: Cherry Mui Commit-Queue: Cherry Mui --- diff --git a/src/runtime/race/README b/src/runtime/race/README index 4fc20efeb3..def7bfec86 100644 --- a/src/runtime/race/README +++ b/src/runtime/race/README @@ -4,14 +4,14 @@ the LLVM project (https://github.com/llvm/llvm-project/tree/main/compiler-rt). To update the .syso files use golang.org/x/build/cmd/racebuild. -internal/amd64v1/race_darwin.syso built with LLVM 0398ad41bdf1ce5f74c80a74494bfe733fe3e214 and Go b2960e35804aafbbb0df9973f99b034bea8c150a. +internal/amd64v1/race_darwin.syso built with LLVM 51bfeff0e4b0757ff773da6882f4d538996c9b04 and Go e7d582b55dda36e76ce4d0ce770139ca0915b7c5. internal/amd64v1/race_freebsd.syso built with LLVM 51bfeff0e4b0757ff773da6882f4d538996c9b04 and Go e7d582b55dda36e76ce4d0ce770139ca0915b7c5. internal/amd64v1/race_linux.syso built with LLVM 51bfeff0e4b0757ff773da6882f4d538996c9b04 and Go e7d582b55dda36e76ce4d0ce770139ca0915b7c5. internal/amd64v1/race_netbsd.syso built with LLVM 51bfeff0e4b0757ff773da6882f4d538996c9b04 and Go e7d582b55dda36e76ce4d0ce770139ca0915b7c5. internal/amd64v1/race_openbsd.syso built with LLVM fcf6ae2f070eba73074b6ec8d8281e54d29dbeeb and Go 8f2db14cd35bbd674cb2988a508306de6655e425. internal/amd64v1/race_windows.syso built with LLVM 51bfeff0e4b0757ff773da6882f4d538996c9b04 and Go e7d582b55dda36e76ce4d0ce770139ca0915b7c5. internal/amd64v3/race_linux.syso built with LLVM 51bfeff0e4b0757ff773da6882f4d538996c9b04 and Go e7d582b55dda36e76ce4d0ce770139ca0915b7c5. -race_darwin_arm64.syso built with LLVM 0398ad41bdf1ce5f74c80a74494bfe733fe3e214 and Go b2960e35804aafbbb0df9973f99b034bea8c150a. +race_darwin_arm64.syso built with LLVM 51bfeff0e4b0757ff773da6882f4d538996c9b04 and Go e7d582b55dda36e76ce4d0ce770139ca0915b7c5. race_linux_arm64.syso built with LLVM 51bfeff0e4b0757ff773da6882f4d538996c9b04 and Go e7d582b55dda36e76ce4d0ce770139ca0915b7c5. race_linux_loong64.syso built with LLVM 83fe85115da9dc25fa270d2ea8140113c8d49670 and Go 037112464b4439571b45536de9ebe4bc9e10ecb7. race_linux_ppc64le.syso built with LLVM 51bfeff0e4b0757ff773da6882f4d538996c9b04 and Go e7d582b55dda36e76ce4d0ce770139ca0915b7c5. diff --git a/src/runtime/race/internal/amd64v1/race_darwin.syso b/src/runtime/race/internal/amd64v1/race_darwin.syso index eb9782e105..d3a9c200a5 100644 Binary files a/src/runtime/race/internal/amd64v1/race_darwin.syso and b/src/runtime/race/internal/amd64v1/race_darwin.syso differ diff --git a/src/runtime/race/race_darwin_amd64.go b/src/runtime/race/race_darwin_amd64.go index ef92e41c27..3f4e587e6b 100644 --- a/src/runtime/race/race_darwin_amd64.go +++ b/src/runtime/race/race_darwin_amd64.go @@ -37,7 +37,6 @@ package race //go:cgo_import_dynamic dyld_shared_cache_iterate_text dyld_shared_cache_iterate_text "" //go:cgo_import_dynamic execve execve "" //go:cgo_import_dynamic exit exit "" -//go:cgo_import_dynamic fcntl fcntl "" //go:cgo_import_dynamic fstat$INODE64 fstat$INODE64 "" //go:cgo_import_dynamic ftruncate ftruncate "" //go:cgo_import_dynamic getpid getpid "" diff --git a/src/runtime/race/race_darwin_arm64.go b/src/runtime/race/race_darwin_arm64.go index 97eab4d684..66e327efcc 100644 --- a/src/runtime/race/race_darwin_arm64.go +++ b/src/runtime/race/race_darwin_arm64.go @@ -37,7 +37,6 @@ package race //go:cgo_import_dynamic dyld_shared_cache_iterate_text dyld_shared_cache_iterate_text "" //go:cgo_import_dynamic execve execve "" //go:cgo_import_dynamic exit exit "" -//go:cgo_import_dynamic fcntl fcntl "" //go:cgo_import_dynamic fstat fstat "" //go:cgo_import_dynamic ftruncate ftruncate "" //go:cgo_import_dynamic getpid getpid "" diff --git a/src/runtime/race/race_darwin_arm64.syso b/src/runtime/race/race_darwin_arm64.syso index eb25805f00..706951f471 100644 Binary files a/src/runtime/race/race_darwin_arm64.syso and b/src/runtime/race/race_darwin_arm64.syso differ