cmd/link: Unable to cross-compile darwin/amd64 PIE on Linux #35831
Labels
Comments
In order to cross-build a PIE from GNU/Linux to Darwin, you must set |
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
)?go env
OutputWhat did you do?
What did you expect to see?
A successful build of test.go for Darwin.
What did you see instead?
A failed build due to passing a mac-only flag to gcc on a native host.
The text was updated successfully, but these errors were encountered: