{"action":"created","issue":{"url":"https://api.github.com/repos/golang/go/issues/13735","labels_url":"https://api.github.com/repos/golang/go/issues/13735/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/13735/comments","events_url":"https://api.github.com/repos/golang/go/issues/13735/events","html_url":"https://github.com/golang/go/issues/13735","id":123925927,"number":13735,"title":"runtime: SIGILL: illegal instruction ","user":{"login":"matwey","id":156627,"avatar_url":"https://avatars.githubusercontent.com/u/156627?v=3","gravatar_id":"","url":"https://api.github.com/users/matwey","html_url":"https://github.com/matwey","followers_url":"https://api.github.com/users/matwey/followers","following_url":"https://api.github.com/users/matwey/following{/other_user}","gists_url":"https://api.github.com/users/matwey/gists{/gist_id}","starred_url":"https://api.github.com/users/matwey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matwey/subscriptions","organizations_url":"https://api.github.com/users/matwey/orgs","repos_url":"https://api.github.com/users/matwey/repos","events_url":"https://api.github.com/users/matwey/events{/privacy}","received_events_url":"https://api.github.com/users/matwey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-26T11:46:35Z","updated_at":"2015-12-26T17:48:38Z","closed_at":null,"body":"Hello, I use go 1.5.2 and trying to build x/crypto from master. I see the following:\r\n\r\n```\r\n[   67s] /usr/lib64/go/pkg/tool/linux_amd64/link -o $WORK/golang.org/x/crypto/pkcs12/internal/rc2/_test/rc2.test -L $WORK/golang.org/x/crypto/pkcs12/internal/rc2/_test -L $WORK -w -extld=gcc -buildmode=exe $WORK/golang.org/x/crypto/pkcs12/internal/rc2/_test/main.a\r\n[   68s] SIGILL: illegal instruction\r\n[   68s] PC=0x7ffd07d7ac99 m=5\r\n[   68s] \r\n[   68s] goroutine 0 [idle]:\r\n[   68s] \r\n[   68s] goroutine 3 [running]:\r\n[   68s] runtime.systemstack_switch()\r\n[   68s] \t/usr/lib64/go/src/runtime/asm_amd64.s:216 fp=0xc820028f58 sp=0xc820028f50\r\n[   68s] runtime.gosweepone(0x1)\r\n[   68s] \t/usr/lib64/go/src/runtime/mgcsweep.go:110 +0x3d fp=0xc820028f80 sp=0xc820028f58\r\n[   68s] runtime.bgsweep(0xc820016070)\r\n[   68s] \t/usr/lib64/go/src/runtime/mgcsweep.go:54 +0xb6 fp=0xc820028fb8 sp=0xc820028f80\r\n[   68s] runtime.goexit()\r\n[   68s] \t/usr/lib64/go/src/runtime/asm_amd64.s:1721 +0x1 fp=0xc820028fc0 sp=0xc820028fb8\r\n[   68s] created by runtime.gcenable\r\n[   68s] \t/usr/lib64/go/src/runtime/mgc.go:206 +0x53\r\n[   68s] \r\n[   68s] goroutine 1 [chan receive]:\r\n[   68s] testing.RunTests(0x5d41f8, 0x65e940, 0x3, 0x3, 0xc82000a701)\r\n[   68s] \t/usr/lib64/go/src/testing/testing.go:562 +0x8ad\r\n[   68s] testing.(*M).Run(0xc820047f08, 0xc82000a740)\r\n[   68s] \t/usr/lib64/go/src/testing/testing.go:494 +0x70\r\n[   68s] main.main()\r\n[   68s] \tgolang.org/x/crypto/cast5/_test/_testmain.go:58 +0x116\r\n[   68s] \r\n[   68s] goroutine 6 [runnable]:\r\n[   68s] golang.org/x/crypto/cast5.(*Cipher).Encrypt(0xc82048c280, 0xc82000a840, 0x8, 0x10, 0xc82000a840, 0x8, 0x10)\r\n[   68s] \t/home/abuild/rpmbuild/BUILD/go/src/golang.org/x/crypto/cast5/cast5.go:33\r\n[   68s] golang.org/x/crypto/cast5.iterate(0xf4240, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)\r\n[   68s] \t/home/abuild/rpmbuild/BUILD/go/src/golang.org/x/crypto/cast5/cast5_test.go:84 +0x2b6\r\n[   68s] golang.org/x/crypto/cast5.TestFull(0xc820096090)\r\n[   68s] \t/home/abuild/rpmbuild/BUILD/go/src/golang.org/x/crypto/cast5/cast5_test.go:60 +0x69\r\n[   68s] testing.tRunner(0xc820096090, 0x65e958)\r\n[   68s] \t/usr/lib64/go/src/testing/testing.go:456 +0x98\r\n[   68s] created by testing.RunTests\r\n[   68s] \t/usr/lib64/go/src/testing/testing.go:561 +0x86d\r\n[   68s] \r\n[   68s] rax    0x3a\r\n[   68s] rbx    0x1\r\n[   68s] rcx    0x7f3134976d38\r\n[   68s] rdx    0x2\r\n[   68s] rdi    0x1\r\n[   68s] rsi    0xc820065c40\r\n[   68s] rbp    0xc820065c30\r\n[   68s] rsp    0xc820065c00\r\n[   68s] r8     0x668440\r\n[   68s] r9     0x7f3134976d98\r\n[   68s] r10    0x0\r\n[   68s] r11    0x202\r\n[   68s] r12    0x706a\r\n[   68s] r13    0xc820065c0c\r\n[   68s] r14    0x9d8b400000000\r\n[   68s] r15    0x8\r\n[   68s] rip    0x7ffd07d7ac99\r\n[   68s] rflags 0x10246\r\n[   68s] cs     0x33\r\n[   68s] fs     0x0\r\n[   68s] gs     0x0\r\n[   68s] FAIL\tgolang.org/x/crypto/cast5\t11.346s\r\n[   68s] ok  \tgolang.org/x/crypto/curve25519\t0.032s\r\n[   68s] ok  \tgolang.org/x/crypto/hkdf\t0.010s\r\n[   68s] ok  \tgolang.org/x/crypto/md4\t0.018s\r\n[   68s] ok  \tgolang.org/x/crypto/nacl/box\t0.027s\r\n[   68s] ok  \tgolang.org/x/crypto/nacl/secretbox\t0.022s\r\n[   68s] ok  \tgolang.org/x/crypto/ocsp\t0.049s\r\n[   68s] ok  \tgolang.org/x/crypto/openpgp\t1.752s\r\n[   68s] ok  \tgolang.org/x/crypto/openpgp/armor\t0.006s\r\n[   68s] ok  \tgolang.org/x/crypto/openpgp/clearsign\t0.099s\r\n[   68s] ok  \tgolang.org/x/crypto/openpgp/elgamal\t0.080s\r\n[   68s] ?   \tgolang.org/x/crypto/openpgp/errors\t[no test files]\r\n```"},"comment":{"url":"https://api.github.com/repos/golang/go/issues/comments/167350587","html_url":"https://github.com/golang/go/issues/13735#issuecomment-167350587","issue_url":"https://api.github.com/repos/golang/go/issues/13735","id":167350587,"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},"created_at":"2015-12-26T17:48:38Z","updated_at":"2015-12-26T17:48:38Z","body":"Is this repeatable?  This looks like a crash in the runtime during GC.  The PC value is strange, though.  What processor are you using?"}}