-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/link: go test -c on darwin/arm64 produces invalid code signature in combination with cgo #63576
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
Labels
Comments
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
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: