{"action":"created","issue":{"url":"https://api.github.com/repos/golang/go/issues/17832","repository_url":"https://api.github.com/repos/golang/go","labels_url":"https://api.github.com/repos/golang/go/issues/17832/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/17832/comments","events_url":"https://api.github.com/repos/golang/go/issues/17832/events","html_url":"https://github.com/golang/go/issues/17832","id":187807217,"number":17832,"title":"plugin: reject plugins built with a different version of the toolchain","user":{"login":"ianlancetaylor","id":3194333,"avatar_url":"https://avatars.githubusercontent.com/u/3194333?v=3","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},"labels":[{"id":373399998,"url":"https://api.github.com/repos/golang/go/labels/NeedsFix","name":"NeedsFix","color":"ededed","default":false}],"state":"open","locked":false,"assignee":{"login":"crawshaw","id":161319,"avatar_url":"https://avatars.githubusercontent.com/u/161319?v=3","gravatar_id":"","url":"https://api.github.com/users/crawshaw","html_url":"https://github.com/crawshaw","followers_url":"https://api.github.com/users/crawshaw/followers","following_url":"https://api.github.com/users/crawshaw/following{/other_user}","gists_url":"https://api.github.com/users/crawshaw/gists{/gist_id}","starred_url":"https://api.github.com/users/crawshaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crawshaw/subscriptions","organizations_url":"https://api.github.com/users/crawshaw/orgs","repos_url":"https://api.github.com/users/crawshaw/repos","events_url":"https://api.github.com/users/crawshaw/events{/privacy}","received_events_url":"https://api.github.com/users/crawshaw/received_events","type":"User","site_admin":false},"assignees":[{"login":"crawshaw","id":161319,"avatar_url":"https://avatars.githubusercontent.com/u/161319?v=3","gravatar_id":"","url":"https://api.github.com/users/crawshaw","html_url":"https://github.com/crawshaw","followers_url":"https://api.github.com/users/crawshaw/followers","following_url":"https://api.github.com/users/crawshaw/following{/other_user}","gists_url":"https://api.github.com/users/crawshaw/gists{/gist_id}","starred_url":"https://api.github.com/users/crawshaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crawshaw/subscriptions","organizations_url":"https://api.github.com/users/crawshaw/orgs","repos_url":"https://api.github.com/users/crawshaw/repos","events_url":"https://api.github.com/users/crawshaw/events{/privacy}","received_events_url":"https://api.github.com/users/crawshaw/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/golang/go/milestones/38","html_url":"https://github.com/golang/go/milestones/Go1.8","labels_url":"https://api.github.com/repos/golang/go/milestones/38/labels","id":1709363,"number":38,"title":"Go1.8","description":"","creator":{"login":"griesemer","id":8528975,"avatar_url":"https://avatars.githubusercontent.com/u/8528975?v=3","gravatar_id":"","url":"https://api.github.com/users/griesemer","html_url":"https://github.com/griesemer","followers_url":"https://api.github.com/users/griesemer/followers","following_url":"https://api.github.com/users/griesemer/following{/other_user}","gists_url":"https://api.github.com/users/griesemer/gists{/gist_id}","starred_url":"https://api.github.com/users/griesemer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/griesemer/subscriptions","organizations_url":"https://api.github.com/users/griesemer/orgs","repos_url":"https://api.github.com/users/griesemer/repos","events_url":"https://api.github.com/users/griesemer/events{/privacy}","received_events_url":"https://api.github.com/users/griesemer/received_events","type":"User","site_admin":false},"open_issues":48,"closed_issues":609,"state":"open","created_at":"2016-04-15T16:30:23Z","updated_at":"2016-11-15T05:37:01Z","due_on":"2017-01-31T00:00:00Z","closed_at":null},"comments":6,"created_at":"2016-11-07T19:40:07Z","updated_at":"2016-11-15T11:02:14Z","closed_at":null,"body":"We should explicitly reject an attempt to open a plugin that was created by a different version of the Go toolchain.  We have no reliable way to make that work, as the internal runtime package interface changes between versions.  (I didn't see an explicit check for this--I may have missed one.)"},"comment":{"url":"https://api.github.com/repos/golang/go/issues/comments/260612224","html_url":"https://github.com/golang/go/issues/17832#issuecomment-260612224","issue_url":"https://api.github.com/repos/golang/go/issues/17832","id":260612224,"user":{"login":"wendigo","id":66972,"avatar_url":"https://avatars.githubusercontent.com/u/66972?v=3","gravatar_id":"","url":"https://api.github.com/users/wendigo","html_url":"https://github.com/wendigo","followers_url":"https://api.github.com/users/wendigo/followers","following_url":"https://api.github.com/users/wendigo/following{/other_user}","gists_url":"https://api.github.com/users/wendigo/gists{/gist_id}","starred_url":"https://api.github.com/users/wendigo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wendigo/subscriptions","organizations_url":"https://api.github.com/users/wendigo/orgs","repos_url":"https://api.github.com/users/wendigo/repos","events_url":"https://api.github.com/users/wendigo/events{/privacy}","received_events_url":"https://api.github.com/users/wendigo/received_events","type":"User","site_admin":false},"created_at":"2016-11-15T11:02:14Z","updated_at":"2016-11-15T11:02:14Z","body":"I've tested it on newest tip version (b687d6a7886fe7ffea0e36072c2a882c8c485838) with cherry-picked change #33161. ./all.bash is ok (no failing tests).\r\n\r\n```\r\n~ go version\r\ngo version devel +9d63294 Tue Nov 15 11:31:54 2016 +0100 darwin/amd64\r\n\r\n~ go env\r\nGOARCH=\"amd64\"\r\nGOBIN=\"\"\r\nGOEXE=\"\"\r\nGOHOSTARCH=\"amd64\"\r\nGOHOSTOS=\"darwin\"\r\nGOOS=\"darwin\"\r\nGOPATH=\"/Users/mateusz.gajewski/Desktop/Projects/\"\r\nGORACE=\"\"\r\nGOROOT=\"/Users/mateusz.gajewski/Desktop/go\"\r\nGOTOOLDIR=\"/Users/mateusz.gajewski/Desktop/go/pkg/tool/darwin_amd64\"\r\nGCCGO=\"gccgo\"\r\nCC=\"clang\"\r\nGOGCCFLAGS=\"-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/43/1y0rrqr55zq3f8cj5wpkt1kmhc7r33/T/go-build349051862=/tmp/go-build -gno-record-gcc-switches -fno-common\"\r\nCXX=\"clang++\"\r\nCGO_ENABLED=\"1\"\r\nPKG_CONFIG=\"pkg-config\"\r\nCGO_CFLAGS=\"-g -O2\"\r\nCGO_CPPFLAGS=\"\"\r\nCGO_CXXFLAGS=\"-g -O2\"\r\nCGO_FFLAGS=\"-g -O2\"\r\nCGO_LDFLAGS=\"-g -O2\"\r\n```"}}
{"actor":{"display_login":"wendigo"}}