Skip to content
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/link: macho binaries missing LC_VERSION_MIN_MACOSX #12941

Closed
ribrdb opened this issue Oct 14, 2015 · 2 comments

Comments

Projects
None yet
3 participants
@ribrdb
Copy link
Contributor

commented Oct 14, 2015

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

@ribrdb

This comment has been minimized.

Copy link
Contributor Author

commented Oct 14, 2015

I'm using go version go1.5.1 darwin/amd64

@ianlancetaylor ianlancetaylor added this to the Go1.6 milestone Oct 14, 2015

@adg adg changed the title macho binaries missing LC_VERSION_MIN_MACOSX cmd/link: macho binaries missing LC_VERSION_MIN_MACOSX Oct 15, 2015

@gopherbot

This comment has been minimized.

Copy link

commented Jan 13, 2016

CL https://golang.org/cl/18588 mentions this issue.

@gopherbot gopherbot closed this in 4a0eee2 Jan 13, 2016

@golang golang locked and limited conversation to collaborators Jan 13, 2017

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.