{"action":"created","issue":{"url":"https://api.github.com/repos/golang/go/issues/25065","repository_url":"https://api.github.com/repos/golang/go","labels_url":"https://api.github.com/repos/golang/go/issues/25065/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/25065/comments","events_url":"https://api.github.com/repos/golang/go/issues/25065/events","html_url":"https://github.com/golang/go/issues/25065","id":317555094,"number":25065,"title":"cmd/link: some packages don't build with -buildmode=shared","user":{"login":"pebbe","id":829557,"avatar_url":"https://avatars2.githubusercontent.com/u/829557?v=4","gravatar_id":"","url":"https://api.github.com/users/pebbe","html_url":"https://github.com/pebbe","followers_url":"https://api.github.com/users/pebbe/followers","following_url":"https://api.github.com/users/pebbe/following{/other_user}","gists_url":"https://api.github.com/users/pebbe/gists{/gist_id}","starred_url":"https://api.github.com/users/pebbe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pebbe/subscriptions","organizations_url":"https://api.github.com/users/pebbe/orgs","repos_url":"https://api.github.com/users/pebbe/repos","events_url":"https://api.github.com/users/pebbe/events{/privacy}","received_events_url":"https://api.github.com/users/pebbe/received_events","type":"User","site_admin":false},"labels":[{"id":373402289,"url":"https://api.github.com/repos/golang/go/labels/NeedsInvestigation","name":"NeedsInvestigation","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/golang/go/milestones/62","html_url":"https://github.com/golang/go/milestone/62","labels_url":"https://api.github.com/repos/golang/go/milestones/62/labels","id":2827591,"number":62,"title":"Go1.11","description":"","creator":{"login":"rsc","id":104030,"avatar_url":"https://avatars1.githubusercontent.com/u/104030?v=4","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":640,"closed_issues":492,"state":"open","created_at":"2017-10-10T13:39:17Z","updated_at":"2018-05-30T12:45:23Z","due_on":"2018-07-31T07:00:00Z","closed_at":null},"comments":1,"created_at":"2018-04-25T09:49:04Z","updated_at":"2018-05-30T14:33:57Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Please answer these questions before submitting your issue. Thanks!\r\n\r\n\r\n### What version of Go are you using (`go version`)?\r\n\r\ngo version go1.9.5 linux/amd64\r\ngo version go1.10.1 linux/amd64\r\n\r\n### Does this issue reproduce with the latest release?\r\n\r\nyes\r\n\r\n### What operating system and processor architecture are you using (`go env`)?\r\n\r\n```\r\nGOARCH=\"amd64\"\r\nGOBIN=\"\"\r\nGOCACHE=\"/tmp/go-build\"\r\nGOEXE=\"\"\r\nGOHOSTARCH=\"amd64\"\r\nGOHOSTOS=\"linux\"\r\nGOOS=\"linux\"\r\nGOPATH=\"/home/peter/go\"\r\nGORACE=\"\"\r\nGOROOT=\"/my/opt/go\"\r\nGOTMPDIR=\"/tmp\"\r\nGOTOOLDIR=\"/my/opt/go/pkg/tool/linux_amd64\"\r\nGCCGO=\"gccgo\"\r\nCC=\"gcc\"\r\nCXX=\"g++\"\r\nCGO_ENABLED=\"1\"\r\nCGO_CFLAGS=\"-g -O2\"\r\nCGO_CPPFLAGS=\"\"\r\nCGO_CXXFLAGS=\"-g -O2\"\r\nCGO_FFLAGS=\"-g -O2\"\r\nCGO_LDFLAGS=\"-g -O2\"\r\nPKG_CONFIG=\"pkg-config\"\r\nGOGCCFLAGS=\"-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build569417713=/tmp/go-build -gno-record-gcc-switches\"\r\n```\r\n\r\n### What did you do?\r\n\r\nI tried to install the package `github.com/pebbe/util` in lgo (`github.com/yunabe/lgo`). The package installs and works fine as a regular, static package. But lgo tries to build shared packages, and that fails.\r\n\r\nI don't know what is going on, but this might be a bug in Go with `-buildmode=shared`\r\n\r\nYou can find a detailed description here: https://github.com/yunabe/lgo/issues/57\r\n"},"comment":{"url":"https://api.github.com/repos/golang/go/issues/comments/393185650","html_url":"https://github.com/golang/go/issues/25065#issuecomment-393185650","issue_url":"https://api.github.com/repos/golang/go/issues/25065","id":393185650,"user":{"login":"ianlancetaylor","id":3194333,"avatar_url":"https://avatars2.githubusercontent.com/u/3194333?v=4","gravatar_id":"","url":"https://api.github.com/users/ianlancetaylor","html_url":"https://github.com/ianlancetaylor","followers_url":"https://api.github.com/users/ianlancetaylor/followers","following_url":"https://api.github.com/users/ianlancetaylor/following{/other_user}","gists_url":"https://api.github.com/users/ianlancetaylor/gists{/gist_id}","starred_url":"https://api.github.com/users/ianlancetaylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianlancetaylor/subscriptions","organizations_url":"https://api.github.com/users/ianlancetaylor/orgs","repos_url":"https://api.github.com/users/ianlancetaylor/repos","events_url":"https://api.github.com/users/ianlancetaylor/events{/privacy}","received_events_url":"https://api.github.com/users/ianlancetaylor/received_events","type":"User","site_admin":false},"created_at":"2018-05-30T14:33:57Z","updated_at":"2018-05-30T14:33:57Z","author_association":"CONTRIBUTOR","body":"CC @mwhudson "}}
{"actor":{"display_login":"ianlancetaylor"}}