runtime: go compiler with PIE enabled by default race segv #31384
Labels
Comments
This is a problem with the patch you are applying to the sources, not with the Go source code. There isn't anything we can do to fix this. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?ArchLinux 5.0.7-arch1-1-ARCH #1 SMP PREEMPT
What did you do?
Testing code using
-race
on a go version with PIE enabled by default I get a segv and a ENOMEM error from the ThreadSanitizer.What did you expect to see?
An error message similar to one when using the normal go compiler but with
-buildmode=pie
flag:What did you see instead?
Edit:
Package managers' patch applied to default source:
https://git.archlinux.org/svntogit/community.git/tree/trunk/default-buildmode-pie.patch?h=packages/go
BTW, feel free to flag this as WONTFIX as this probably it not your problem.
The text was updated successfully, but these errors were encountered: