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
runtime/race: support cross compilation #7552
Comments
The cgo cross compilation is fixed. This issue need to be test. But I don't have native cross compiling compiler. Can somebody test it using CC_FOR_TARGET? |
I have no trouble building binaries for darwin/amd64 with race detector on |
This still happens.
|
@gavrie That's a different problem. Please open a different issue. Thanks. In the new issue, please add the output of "go build -x". I'm surprised that errors are coming from tool/darwin_amd64/link. That suggests that it hasn't even gotten to the GNU/Linux part of the build. It may be an error selecting the linker, or it may be an error in rebuilding the tools. Do you by any chance have GOROOT set in the environment? If you do, try removing it. |
Done, see #12122. I have not set |
The text was updated successfully, but these errors were encountered: