You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the same findings here. Interestingly enough, this doesn't happen to all programs compiled on the M1 Machine and also happens with 1.17. I have a couple of simple small applications that work fine, and a few others that return the "address not mapped" error.
If the same program is compiled with GOARCH=amd64 the version is returned correctly.
I am trying to use
gops
which usesgoversion
. I stepped through the code all the way to here:https://github.com/rsc/goversion/blob/master/version/read.go#L142
and I get back
err
"address not mapped".isGo
istrue
here:https://github.com/rsc/goversion/blob/master/version/read.go#L52
The text was updated successfully, but these errors were encountered: