{"action":"created","issue":{"url":"https://api.github.com/repos/golang/go/issues/8756","labels_url":"https://api.github.com/repos/golang/go/issues/8756/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/8756/comments","events_url":"https://api.github.com/repos/golang/go/issues/8756/events","html_url":"https://github.com/golang/go/issues/8756","id":51288650,"number":8756,"title":"cmd/link: duplicate symbol reference pow on Windows","user":{"login":"slimsag","id":3173176,"avatar_url":"https://avatars.githubusercontent.com/u/3173176?v=3","gravatar_id":"","url":"https://api.github.com/users/slimsag","html_url":"https://github.com/slimsag","followers_url":"https://api.github.com/users/slimsag/followers","following_url":"https://api.github.com/users/slimsag/following{/other_user}","gists_url":"https://api.github.com/users/slimsag/gists{/gist_id}","starred_url":"https://api.github.com/users/slimsag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slimsag/subscriptions","organizations_url":"https://api.github.com/users/slimsag/orgs","repos_url":"https://api.github.com/users/slimsag/repos","events_url":"https://api.github.com/users/slimsag/events{/privacy}","received_events_url":"https://api.github.com/users/slimsag/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/golang/go/labels/OS-Windows","name":"OS-Windows","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/golang/go/milestones/6","html_url":"https://github.com/golang/go/milestones/Unplanned","labels_url":"https://api.github.com/repos/golang/go/milestones/6/labels","id":1055141,"number":6,"title":"Unplanned","description":"No plan to fix in any specific release.\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":889,"closed_issues":50,"state":"open","created_at":"2015-04-06T20:47:19Z","updated_at":"2015-06-25T20:57:30Z","due_on":"2099-12-31T05:00:00Z","closed_at":null},"comments":12,"created_at":"2014-09-16T23:02:15Z","updated_at":"2015-06-26T05:52:49Z","closed_at":null,"body":"<pre>What does 'go version' print?\ngo version devel +ff82d3107ab3 Sun Aug 31 22:49:14 2014 -0400 windows/amd64\n\nWhat steps reproduce the problem?\n\nCreate a program that uses math.h / pow function in two separate packages. Try to link\nthem together into one main program:\n\n1. bug/bug.go: <a href=\"http://play.golang.org/p/nFkVRN6qN-\">http://play.golang.org/p/nFkVRN6qN-</a>\n2. bug/one/one.go: <a href=\"http://play.golang.org/p/4e68AXsW1r\">http://play.golang.org/p/4e68AXsW1r</a>\n3. bug/two/two.go: <a href=\"http://play.golang.org/p/f3pNq-xniD\">http://play.golang.org/p/f3pNq-xniD</a>\n4. go install bug\n\nWhat happened?\n# bug\nC:\\Users\\stephen\\Desktop\\godev\\pkg\\windows_amd64/bug/two.a(_all.o): duplicate symbol\nreference: pow in both bug/one(.text) and bug/two(.text)\n\nWhat should have happened instead?\nThe package should link properly.\n\nPlease provide any additional information below.\n\nThis is a simplified example of a bug I ran into recently. I have an application that\nimports a CGO wrapper to the Chipmunk 2D physics engine and a CGO wrapper to GLFW. The\nprogram links fine on Linux -- but I cannot build it on windows due to this issue.\n\nFWIW I am using (TDM) MinGW-W64 4.8.1 rev2</pre>"},"comment":{"url":"https://api.github.com/repos/golang/go/issues/comments/115529404","html_url":"https://github.com/golang/go/issues/8756#issuecomment-115529404","issue_url":"https://api.github.com/repos/golang/go/issues/8756","id":115529404,"user":{"login":"alexbrainman","id":9796621,"avatar_url":"https://avatars.githubusercontent.com/u/9796621?v=3","gravatar_id":"","url":"https://api.github.com/users/alexbrainman","html_url":"https://github.com/alexbrainman","followers_url":"https://api.github.com/users/alexbrainman/followers","following_url":"https://api.github.com/users/alexbrainman/following{/other_user}","gists_url":"https://api.github.com/users/alexbrainman/gists{/gist_id}","starred_url":"https://api.github.com/users/alexbrainman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexbrainman/subscriptions","organizations_url":"https://api.github.com/users/alexbrainman/orgs","repos_url":"https://api.github.com/users/alexbrainman/repos","events_url":"https://api.github.com/users/alexbrainman/events{/privacy}","received_events_url":"https://api.github.com/users/alexbrainman/received_events","type":"User","site_admin":false},"created_at":"2015-06-26T05:52:49Z","updated_at":"2015-06-26T05:52:49Z","body":"Yes it fails here for me too.\r\n\r\nAlex"}}