cmd/link: macho binaries missing LC_VERSION_MIN_MACOSX #12941
Closed
Labels
Milestone
Comments
I'm using go version go1.5.1 darwin/amd64 |
CL https://golang.org/cl/18588 mentions this issue. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The go linker does not specify a min OS X version.
When this is missing lldb cannot identify the os of the binary.
In external link mode the system linker adds LC_VERSION_MIN_MACOSX, set to the current OS X version.
This means only programs compiled in external link mode can be debugged with lldb.
See http://lists.llvm.org/pipermail/lldb-dev/2015-October/008555.html
The text was updated successfully, but these errors were encountered: