{"action":"created","issue":{"url":"https://api.github.com/repos/golang/go/issues/29402","repository_url":"https://api.github.com/repos/golang/go","labels_url":"https://api.github.com/repos/golang/go/issues/29402/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/29402/comments","events_url":"https://api.github.com/repos/golang/go/issues/29402/events","html_url":"https://github.com/golang/go/issues/29402","id":393759845,"node_id":"MDU6SXNzdWUzOTM3NTk4NDU=","number":29402,"title":"cmd/go: go1.11.4 toolchain3 build fail with \"slice bounds out of range\" on 32-bit MIPS on Debian buildd","user":{"login":"anthonyfok","id":1274764,"node_id":"MDQ6VXNlcjEyNzQ3NjQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1274764?v=4","gravatar_id":"","url":"https://api.github.com/users/anthonyfok","html_url":"https://github.com/anthonyfok","followers_url":"https://api.github.com/users/anthonyfok/followers","following_url":"https://api.github.com/users/anthonyfok/following{/other_user}","gists_url":"https://api.github.com/users/anthonyfok/gists{/gist_id}","starred_url":"https://api.github.com/users/anthonyfok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anthonyfok/subscriptions","organizations_url":"https://api.github.com/users/anthonyfok/orgs","repos_url":"https://api.github.com/users/anthonyfok/repos","events_url":"https://api.github.com/users/anthonyfok/events{/privacy}","received_events_url":"https://api.github.com/users/anthonyfok/received_events","type":"User","site_admin":false},"labels":[{"id":373402289,"node_id":"MDU6TGFiZWwzNzM0MDIyODk=","url":"https://api.github.com/repos/golang/go/labels/NeedsInvestigation","name":"NeedsInvestigation","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-12-23T15:45:33Z","updated_at":"2018-12-26T01:07:43Z","closed_at":null,"author_association":"NONE","body":"go1.11.4 fails to build toolchain3 with a \"panic: runtime error: slice bounds out of range\" on 32-bit MIPS architectures (mips, mipsel (or mipsle)) on Debian buildd.  This seems to be a new problem because go1.11.2 and go1.11.3 built fine.\r\n\r\nHere is where it failed:\r\n\r\n```\r\nBuilding Go cmd/dist using /usr/lib/go-1.10.\r\ngo: disabling cache (/sbuild-nonexistent/.cache/go-build) due to initialization failure: mkdir /sbuild-nonexistent: permission denied\r\nBuilding Go toolchain1 using /usr/lib/go-1.10.\r\nBuilding Go bootstrap cmd/go (go_bootstrap) using Go toolchain1.\r\nBuilding Go toolchain2 using go_bootstrap and Go toolchain1.\r\nBuilding Go toolchain3 using go_bootstrap and Go toolchain2.\r\n# unicode\r\npanic: runtime error: slice bounds out of range\r\n\r\ngoroutine 1 [running]:\r\ncmd/compile/internal/gc.(*exprSwitch).walkCases(0x1bf39a0, 0x201aec0, 0x4, 0x4, 0x201aec0)\r\n\t/usr/lib/go-1.11/src/cmd/compile/internal/gc/swt.go:396 +0x918\r\ncmd/compile/internal/gc.(*exprSwitch).walk(0x1bf39a0, 0x16c0b40)\r\n\t/usr/lib/go-1.11/src/cmd/compile/internal/gc/swt.go:325 +0x380\r\ncmd/compile/internal/gc.walkswitch(0x16c0b40)\r\n\t/usr/lib/go-1.11/src/cmd/compile/internal/gc/swt.go:234 +0xa8\r\ncmd/compile/internal/gc.walkstmt(0x16c0b40, 0x8)\r\n\t/usr/lib/go-1.11/src/cmd/compile/internal/gc/walk.go:346 +0xd64\r\ncmd/compile/internal/gc.walkstmtlist(0x165bbd8, 0x2, 0x2)\r\n\t/usr/lib/go-1.11/src/cmd/compile/internal/gc/walk.go:79 +0x90\r\ncmd/compile/internal/gc.walkstmt(0x16c09b0, 0x4)\r\n\t/usr/lib/go-1.11/src/cmd/compile/internal/gc/walk.go:286 +0x1208\r\ncmd/compile/internal/gc.walkstmtlist(0x1ae95d0, 0x4, 0x4)\r\n\t/usr/lib/go-1.11/src/cmd/compile/internal/gc/walk.go:79 +0x90\r\ncmd/compile/internal/gc.walk(0x16b46c0)\r\n\t/usr/lib/go-1.11/src/cmd/compile/internal/gc/walk.go:63 +0x22c\r\ncmd/compile/internal/gc.compile(0x16b46c0)\r\n\t/usr/lib/go-1.11/src/cmd/compile/internal/gc/pgen.go:223 +0x80\r\ncmd/compile/internal/gc.funccompile(0x16b46c0)\r\n\t/usr/lib/go-1.11/src/cmd/compile/internal/gc/pgen.go:209 +0xf4\r\ncmd/compile/internal/gc.Main(0x96654c)\r\n\t/usr/lib/go-1.11/src/cmd/compile/internal/gc/main.go:641 +0x290c\r\nmain.main()\r\n\t/usr/lib/go-1.11/src/cmd/compile/main.go:51 +0xac\r\n# math\r\npanic: runtime error: slice bounds out of range\r\n...\r\n# runtime\r\npanic: runtime error: slice bounds out of range\r\n...\r\n```\r\n\r\nSee full build logs here:\r\n\r\n* https://buildd.debian.org/status/logs.php?pkg=golang-1.11&arch=mips\r\n* https://buildd.debian.org/status/logs.php?pkg=golang-1.11&arch=mipsel\r\n\r\nSorry, I haven't had the time to try to study this in depth by logging into Debian's remote 32-bit MIPS machine yet, but thought I should try my luck here first.  :-)  Many thanks!"},"comment":{"url":"https://api.github.com/repos/golang/go/issues/comments/449883266","html_url":"https://github.com/golang/go/issues/29402#issuecomment-449883266","issue_url":"https://api.github.com/repos/golang/go/issues/29402","id":449883266,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0OTg4MzI2Ng==","user":{"login":"gopherbot","id":8566911,"node_id":"MDQ6VXNlcjg1NjY5MTE=","avatar_url":"https://avatars1.githubusercontent.com/u/8566911?v=4","gravatar_id":"","url":"https://api.github.com/users/gopherbot","html_url":"https://github.com/gopherbot","followers_url":"https://api.github.com/users/gopherbot/followers","following_url":"https://api.github.com/users/gopherbot/following{/other_user}","gists_url":"https://api.github.com/users/gopherbot/gists{/gist_id}","starred_url":"https://api.github.com/users/gopherbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gopherbot/subscriptions","organizations_url":"https://api.github.com/users/gopherbot/orgs","repos_url":"https://api.github.com/users/gopherbot/repos","events_url":"https://api.github.com/users/gopherbot/events{/privacy}","received_events_url":"https://api.github.com/users/gopherbot/received_events","type":"User","site_admin":false},"created_at":"2018-12-26T01:07:43Z","updated_at":"2018-12-26T01:07:43Z","author_association":"NONE","body":"Change https://golang.org/cl/155798 mentions this issue: `cmd/compile: fix MIPS SGTconst-with-shift rules`"}}
{"actor":{"display_login":"gopherbot"}}