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
cmd/link: go test -c on darwin/arm64 produces invalid code signature in combination with cgo #63576
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
Comments
gopherbot
added
the
compiler/runtime
Issues related to the Go compiler and/or runtime.
label
Oct 16, 2023
Here's the macOS crash report if it's useful:
|
This seems to be caused by CC and CXX being set to the homebrew installed llvm versions rather than the Apple versions. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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?
Exact same steps as #43105, but using
-c
instead, so:What did you expect to see?
This works with Go 1.20.3 so I thin the bug was introduced in Go 1.21.0
What did you see instead?
The text was updated successfully, but these errors were encountered: