Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go version devel +91824fb Fri Apr 22 10:21:03 2016 +1200 linux/amd64
or
go version go1.6.1 linux/amd64
What operating system and processor architecture are you using (go env)?
linux/amd64, 16.04 or 16.10
What did you do?
go run -ldflags='-linkmode=external -extldflags=-pie' -race /opt/opensource/go-test-cases/trivial.go
What did you expect to see?
No output.
What did you see instead?
==12590==ERROR: ThreadSanitizer failed to allocate 0x2698000 (40468480) bytes at address 1765924f4c680 (errno: 12)
signal: segmentation fault (core dumped)
This came to my attention because the development release of Ubuntu has enabled PIE by default on amd64 and ./all.bash fails in the "Testing race detector" step. This could be patched around by passing -no-pie to the external linker when -race is passed to the linker but that seems like a short term hack only.
The text was updated successfully, but these errors were encountered:
Please answer these questions before submitting your issue. Thanks!
go version
)?go version devel +91824fb Fri Apr 22 10:21:03 2016 +1200 linux/amd64
or
go version go1.6.1 linux/amd64
go env
)?linux/amd64, 16.04 or 16.10
go run -ldflags='-linkmode=external -extldflags=-pie' -race /opt/opensource/go-test-cases/trivial.go
No output.
==12590==ERROR: ThreadSanitizer failed to allocate 0x2698000 (40468480) bytes at address 1765924f4c680 (errno: 12)
signal: segmentation fault (core dumped)
This came to my attention because the development release of Ubuntu has enabled PIE by default on amd64 and ./all.bash fails in the "Testing race detector" step. This could be patched around by passing -no-pie to the external linker when -race is passed to the linker but that seems like a short term hack only.
The text was updated successfully, but these errors were encountered: