• Austin Clements's avatar
    misc/cgo/test: disable some Darwin tests in cgo mode · 30d7e644
    Austin Clements authored
    For unknown reasons, linking against CoreFoundation on macOS 10.10
    sometimes causes mmap to ignore the hint address, which makes the Go
    allocator incompatible with TSAN. Currently, the effect of this is to
    run the allocator out of arena hints on the very first allocation,
    causing a "too many address space collisions for -race mode" panic.
    
    This CL skips the cgo tests that link against CoreFoundation in race
    mode.
    
    Updates #26475.
    Updates #26513.
    
    Change-Id: I52ec638c99acf5d4966e68ff0054f7679680dac6
    Reviewed-on: https://go-review.googlesource.com/125304
    Run-TryBot: Austin Clements <austin@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
    Reviewed-by: 's avatarKeith Randall <khr@golang.org>
    30d7e644
Name
Last commit
Last update
..
errors Loading commit data...
fortran Loading commit data...
gmp Loading commit data...
life Loading commit data...
nocgo Loading commit data...
stdio Loading commit data...
test Loading commit data...
testasan Loading commit data...
testcarchive Loading commit data...
testcshared Loading commit data...
testgodefs Loading commit data...
testplugin Loading commit data...
testsanitizers Loading commit data...
testshared Loading commit data...
testsigfwd Loading commit data...
testso Loading commit data...
testsovar Loading commit data...
testtls Loading commit data...