]> Cypherpunks repositories - gostls13.git/commit
runtime/race: rebuild darwin syso to work around macOS 12 malloc reserved address
authorCherry Mui <cherryyz@google.com>
Tue, 30 Nov 2021 23:58:53 +0000 (18:58 -0500)
committerCherry Mui <cherryyz@google.com>
Thu, 2 Dec 2021 23:34:26 +0000 (23:34 +0000)
commit5f6552018d1ec920c3ca3d459691528f48363c3c
tree9254f48f5853c27a36725d914b9200f16b661e42
parent8835343280029eaf86e0612d600ae7af5c68b092
runtime/race: rebuild darwin syso to work around macOS 12 malloc reserved address

On macOS 12 a new malloc implementation (nano) is used by default,
and apparently it reserves address range
0x600000000000-0x600020000000, which conflicts with the address
range that TSAN uses for Go. Work around the issue by changing the
address range slightly.

The actual change is made on LLVM at https://reviews.llvm.org/D114825 .
This CL includes syso's built with the patch applied.

Fixes #49138.

Change-Id: I7b367d6e042b0db39a691c71601c98e4f8728a70
Reviewed-on: https://go-review.googlesource.com/c/go/+/367916
Trust: Cherry Mui <cherryyz@google.com>
Reviewed-by: Austin Clements <austin@google.com>
src/runtime/race/README
src/runtime/race/race_darwin_amd64.syso
src/runtime/race/race_darwin_arm64.syso