Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/link: bad debug_info on macOS 10.12.1 when using cgo (but only under very specific circumstances) #17897
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
Yes, the macOS 10.12.1 part of the bug description is a necessary precondition.
I can't reproduce this on tip, looks like some of the changes to dwarf must have fixed it (or prevented it from triggering in this circumstance).