-
Notifications
You must be signed in to change notification settings - Fork 328
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
Debug symbols #1
Comments
Well, it would require a port of the dsymutil - but the source code of it isn't publicly available, so it can't be ported. The only way would be to get the original OS X dsymutil binary working on Linux (would prefer to have native binaries for everything). Maybe https://github.com/shinh/maloader would be an option. Will give it a try, but it will take a few days (or maybe a week or two) as I am currently busy with other thing. |
I may look into maloader but I agree, the dependencies are not ideal. Regardless, this is fantastic. I've been looking to target OS X from linux for years. Thanks |
Thanks, glad to hear that. |
I am unclear on the details of this, but is dsymutil necessary for writing DWARF's .debug_abbrev to the .o files? It sounds like dsymutil operates on existing DWARF data embedded in the .o files to generate a dSYM file. |
It must be dsymutil (not an expert about it) because that tool is the only difference. If you get dsymutil somehow working, then don't forget to remove the If you are using gcc, then you must remove |
…s in a more simple way (fixes #1) remove the gcc dsymutil patch (no longer needed)
This reverts commit 7e9f856. it's too early, llvm-dsymutil still has a lot of issues
This issue should probably be reopened, since debug info still doesn't work. |
@tamird: Debug info works: https://github.com/tpoechtrager/osxcross/blob/master/README.DEBUGGING.md. |
What would it take to get debug info working? I am trying to cross compile go+cgo which relies on DWARF abbrev, info and str fields for linking go with the object files
The text was updated successfully, but these errors were encountered: