-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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/ld: no dwarf when using -linkmode=external on OS X #8973
Labels
Milestone
Comments
from private mail: Well apparently it's a mess. OS X has a separate dwarf linker. ld is supposed to add references to all .o files into the executable. Then you can run dsymutil to read all the .o files mentioned in the binary and combine the debug info into a .dwarf file. I've got a patch that seems to get the debug info into the correct format for a mach o object file, but for some reason ld doesn't include it in the list of the .o files, so the info just disappears. Labels changed: added release-go1.5, removed release-go1.4. |
CL https://golang.org/cl/168780043 mentions this issue. |
Possibly related: #5221. |
CL https://golang.org/cl/8661 mentions this issue. |
CL 8661 was rolled back due to build breakage. |
CL https://golang.org/cl/10284 mentions this issue. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: