-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
runtime/pprof: addr2line does not translate address on mac intel 64bits #6197
Labels
Milestone
Comments
How to reproduce easily: $ cat test.go package main func main(){} $ go build -o test.ext -ldflags "-linkmode=external" test.go $ go tool addr2line test.ext <<< $(nm test.ext | grep main.main | cut -d' ' -f1) addr2line: crackhdr: bad MACH cpu subtype - not amd64 $ go build -o test.int -ldflags "-linkmode=internal" test.go $ go tool addr2line test.int <<< $(nm test.int | grep main.main | cut -d' ' -f1) main.main /Users/stacktic/test.go:3 The previous patch attached to this issue breaks the compatibility with the internal linker. Please find enclosed a corrected patch. Attachments:
|
This issue was closed by revision 8edf764. Status changed to Fixed. |
Issue #6481 has been merged into this issue. |
Is this really fixed? issue #6481 uses a tip from Sep 25. The last revision was from Sep 10. |
Issue #6481 has been merged into this issue. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
by arnaud.ysmal:
Attachments:
The text was updated successfully, but these errors were encountered: