-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/link: Link bug on darwin arm64 #53495
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
cc @golang/arm |
I can't reproduce the problem with the latest code, but with go1.18.3. Maybe this problem has been fixed after go1.18.3 ? $ go version |
More environment info:
|
For 1.19, use this attachment:
|
This cannot be reproduced either. |
Do you use mac with arm64? |
Yes
$ ld -v |
I cannot reproduce either with Go tip (be0b2a3) and test_1.19.go.tar.gz, with both ld64-816 and ld64-764. |
1.19beta1 can reproduce with test_1.19.go.tar.gz. Maybe this commit has fixed the bug somehow: https://go.dev/cl/411912 |
Any update on this? |
@578559967 does it reproduce with the lates 1.19 as well? |
No, the latest 1.19 works well. Maybe this commit has fixed the bug somehow: https://go.dev/cl/411912
|
This seems no longer reproduces. Closing. Feel free to reopen. Thanks. |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes, it can reproduce with 1.17.5、1.17.6、1.17.10、1.18.1、1.18.2、1.18.3.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
test_1.18.go.tar.gz
Download the attachment, then run it with go 1.18 or 1.18.1 or 1.18.2 or 1.18.3.
What did you expect to see?
Expect to output:
What did you see instead?
Output:
For lower versions of go, use these attachments instead:
test_1.17.10.go.tar.gz
test_1.17.6.go.tar.gz
This bug only happens on mac with arm64. Other platforms work fine.
The text was updated successfully, but these errors were encountered: