{"action":"created","issue":{"url":"https://api.github.com/repos/golang/go/issues/11994","labels_url":"https://api.github.com/repos/golang/go/issues/11994/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/11994/comments","events_url":"https://api.github.com/repos/golang/go/issues/11994/events","html_url":"https://github.com/golang/go/issues/11994","id":98727594,"number":11994,"title":"cmd/link: revisit dwarf in executable files on OS X","user":{"login":"thomasf","id":330847,"avatar_url":"https://avatars.githubusercontent.com/u/330847?v=3","gravatar_id":"","url":"https://api.github.com/users/thomasf","html_url":"https://github.com/thomasf","followers_url":"https://api.github.com/users/thomasf/followers","following_url":"https://api.github.com/users/thomasf/following{/other_user}","gists_url":"https://api.github.com/users/thomasf/gists{/gist_id}","starred_url":"https://api.github.com/users/thomasf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomasf/subscriptions","organizations_url":"https://api.github.com/users/thomasf/orgs","repos_url":"https://api.github.com/users/thomasf/repos","events_url":"https://api.github.com/users/thomasf/events{/privacy}","received_events_url":"https://api.github.com/users/thomasf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/golang/go/milestones/25","html_url":"https://github.com/golang/go/milestones/Go1.6Early","labels_url":"https://api.github.com/repos/golang/go/milestones/25/labels","id":1182837,"number":25,"title":"Go1.6Early","description":"Go 1.6 issues that need to be fixed before the code freeze.\r\n","creator":{"login":"rsc","id":104030,"avatar_url":"https://avatars.githubusercontent.com/u/104030?v=3","gravatar_id":"","url":"https://api.github.com/users/rsc","html_url":"https://github.com/rsc","followers_url":"https://api.github.com/users/rsc/followers","following_url":"https://api.github.com/users/rsc/following{/other_user}","gists_url":"https://api.github.com/users/rsc/gists{/gist_id}","starred_url":"https://api.github.com/users/rsc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsc/subscriptions","organizations_url":"https://api.github.com/users/rsc/orgs","repos_url":"https://api.github.com/users/rsc/repos","events_url":"https://api.github.com/users/rsc/events{/privacy}","received_events_url":"https://api.github.com/users/rsc/received_events","type":"User","site_admin":false},"open_issues":43,"closed_issues":51,"state":"open","created_at":"2015-06-26T15:47:06Z","updated_at":"2015-11-05T01:34:56Z","due_on":"2015-10-31T04:00:00Z","closed_at":null},"comments":7,"created_at":"2015-08-03T11:53:55Z","updated_at":"2015-11-05T12:48:05Z","closed_at":null,"body":"This works fine with go 1.4.x.  I've tried the go master branch a handful of times during the last month or so with the same result.\r\n\r\nError from go build:\r\n\r\n```\r\n/usr/local/go/pkg/tool/linux_amd64/link: /usr/local/go/pkg/tool/linux_amd64/link: combining dwarf failed: open /tmp/go-link-026066058/go.dwarf: no such file or directory\r\n```\r\n\r\nEnvironment:\r\n\r\n``` \r\nGOOS=darwin GOARCH=amd64 GO15VENDOREXPERIMENT=1 CC=o64-clang  CGO_ENABLED=1\r\n```\r\n\r\nThe clang toolchain in use is  [osxcross](https://github.com/tpoechtrager/osxcross)\r\n\r\n@ianlancetaylor suggested to use `-ldflags=-s` as a work around which produced a working binary."},"comment":{"url":"https://api.github.com/repos/golang/go/issues/comments/154049693","html_url":"https://github.com/golang/go/issues/11994#issuecomment-154049693","issue_url":"https://api.github.com/repos/golang/go/issues/11994","id":154049693,"user":{"login":"karalabe","id":129561,"avatar_url":"https://avatars.githubusercontent.com/u/129561?v=3","gravatar_id":"","url":"https://api.github.com/users/karalabe","html_url":"https://github.com/karalabe","followers_url":"https://api.github.com/users/karalabe/followers","following_url":"https://api.github.com/users/karalabe/following{/other_user}","gists_url":"https://api.github.com/users/karalabe/gists{/gist_id}","starred_url":"https://api.github.com/users/karalabe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karalabe/subscriptions","organizations_url":"https://api.github.com/users/karalabe/orgs","repos_url":"https://api.github.com/users/karalabe/repos","events_url":"https://api.github.com/users/karalabe/events{/privacy}","received_events_url":"https://api.github.com/users/karalabe/received_events","type":"User","site_admin":false},"created_at":"2015-11-05T12:48:05Z","updated_at":"2015-11-05T12:48:05Z","body":"Shouldn't DWARF stipping be tied to `-S` instead of `-s`?"}}