-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/go: missing __tsan_* functions in cross-compiled windows/amd64 race build #42382
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
(I wonder why the go command doesn't just fail. On my machine it fails like
) |
Same result (apart from the temp directory) with
|
Could you paste the exact command you run and its output? Maybe do Also, do you have any of |
I have a wrapper script that sets some environment variables for cross compiling.
|
@BenLubar Saw you post on slack and decided to dig into this. The gist is you are missing the file The easiest way to get this file seems to be to copy from the windows release. |
Can confirm successfully being able to build with |
Closing as this was an intentional change in CL 144281 |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I'm using gcc-mingw-w64-x86-64 version 9.3.0-7ubuntu1+22~exp1ubuntu4 from the Ubuntu Groovy universe repo, and Go 1.15.3 from https://golang.org/dl/. I was previously using the version of Go from the longsleep PPA, where I was able to successfully build with
-race
, but that has not been updated to 1.15.3 yet.The text was updated successfully, but these errors were encountered: