{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/8976","repository_url":"https://api.github.com/repos/tensorflow/tensorflow","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/8976/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/8976/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/8976/events","html_url":"https://github.com/tensorflow/tensorflow/issues/8976","id":219581590,"number":8976,"title":"Illegal instruction when importing tensorflow","user":{"login":"fvisin","id":4639261,"avatar_url":"https://avatars0.githubusercontent.com/u/4639261?v=4","gravatar_id":"","url":"https://api.github.com/users/fvisin","html_url":"https://github.com/fvisin","followers_url":"https://api.github.com/users/fvisin/followers","following_url":"https://api.github.com/users/fvisin/following{/other_user}","gists_url":"https://api.github.com/users/fvisin/gists{/gist_id}","starred_url":"https://api.github.com/users/fvisin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fvisin/subscriptions","organizations_url":"https://api.github.com/users/fvisin/orgs","repos_url":"https://api.github.com/users/fvisin/repos","events_url":"https://api.github.com/users/fvisin/events{/privacy}","received_events_url":"https://api.github.com/users/fvisin/received_events","type":"User","site_admin":false},"labels":[{"id":386191887,"url":"https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response","name":"stat:awaiting response","color":"5319e7","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-04-05T13:25:28Z","updated_at":"2018-03-21T12:14:24Z","closed_at":"2017-04-11T14:07:54Z","author_association":"NONE","body":"After compiling tensorflow from source I get an \"illegal instruction\" error. \r\nI traced it back to this error with gdb:\r\n\r\n> Thread 1 \"python\" received signal SIGILL, Illegal instruction.\r\n> 0x00007fffdc684d16 in google::protobuf::SimpleDescriptorDatabase::DescriptorIndex<std::pair<void const*, int> >::AddFile(google::protobuf::FileDescriptorProto const&, std::pair<void const*, int>) ()\r\n>   from /usr/local/lib/python2.7/dist-packages/tensorflow/python/_pywrap_tensorflow_internal.so\r\n\r\nI can successfully install and import the latest nightly build (and I have been able to compile and import tensorflow from source in the past on the same machine). I tried uninstalling all the dependencies and let pip install them again when I install the tensorflow wheel to no avail. I also tried to install the protobuf 3.1 wheel as suggested in the documentation, as well as the latest 3.2 wheel.\r\nAny suggestion is welcome.\r\n\r\nHere the details of my system:\r\n\r\nOperating System: Linux Ubuntu 16.04\r\nCUDA and CuDNN version\r\n> ls -l /usr/local/cuda/lib64/libcud*\r\n> -rw-r--r-- 1 root root   556000 Jan 27 00:48 /usr/local/cuda/lib64/libcudadevrt.a\r\n> lrwxrwxrwx 1 root root       16 Jan 27 00:51 /usr/local/cuda/lib64/libcudart.so -> libcudart.so.8.0\r\n> lrwxrwxrwx 1 root root       19 Jan 27 00:51 /usr/local/cuda/lib64/libcudart.so.8.0 -> libcudart.so.8.0.61\r\n> -rw-r--r-- 1 root root   415432 Jan 27 00:48 /usr/local/cuda/lib64/libcudart.so.8.0.61\r\n> -rw-r--r-- 1 root root   775162 Jan 27 00:48 /usr/local/cuda/lib64/libcudart_static.a\r\n> lrwxrwxrwx 1 root root       13 Sep 24  2016 /usr/local/cuda/lib64/libcudnn.so -> libcudnn.so.5\r\n> lrwxrwxrwx 1 root root       17 Sep 24  2016 /usr/local/cuda/lib64/libcudnn.so.5 -> libcudnn.so.5.1.5\r\n> -rwxr-xr-x 1 root root 79337624 Sep 24  2016 /usr/local/cuda/lib64/libcudnn.so.5.1.5\r\n> -rw-r--r-- 1 root root 69756172 Sep 24  2016 /usr/local/cuda/lib64/libcudnn_static.a\r\n\r\nTensorflow commit: a9b7946540a27cc53bbdc9db1564196979fe30ae\r\nBazel version\r\n> Build label: 0.4.5\r\n> Build target: bazel-out/local-fastbuild/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar\r\n> Build time: Thu Mar 16 12:19:38 2017 (1489666778)\r\n> Build timestamp: 1489666778\r\n> Build timestamp as int: 1489666778"},"comment":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/comments/374916901","html_url":"https://github.com/tensorflow/tensorflow/issues/8976#issuecomment-374916901","issue_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/8976","id":374916901,"user":{"login":"leonard7e","id":5395270,"avatar_url":"https://avatars0.githubusercontent.com/u/5395270?v=4","gravatar_id":"","url":"https://api.github.com/users/leonard7e","html_url":"https://github.com/leonard7e","followers_url":"https://api.github.com/users/leonard7e/followers","following_url":"https://api.github.com/users/leonard7e/following{/other_user}","gists_url":"https://api.github.com/users/leonard7e/gists{/gist_id}","starred_url":"https://api.github.com/users/leonard7e/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leonard7e/subscriptions","organizations_url":"https://api.github.com/users/leonard7e/orgs","repos_url":"https://api.github.com/users/leonard7e/repos","events_url":"https://api.github.com/users/leonard7e/events{/privacy}","received_events_url":"https://api.github.com/users/leonard7e/received_events","type":"User","site_admin":false},"created_at":"2018-03-21T12:14:24Z","updated_at":"2018-03-21T12:14:24Z","author_association":"NONE","body":"Hi hware.\r\n\r\nMy computer supports up to sse4_2. \r\n\r\n$> cat /proc/cpuinfo\r\ngives ...\r\n...\r\nmodel name\t: Intel(R) Celeron(R) CPU G3900TE @ 2.30GHz\r\n...\r\nflags\t\t: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave rdrand lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single pti retpoline intel_pt rsb_ctxsw tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust erms invpcid rdseed smap clflushopt xsaveopt xsavec xgetbv1 xsaves dtherm arat pln pts hwp hwp_notify hwp_act_window hwp_epp"}}
{"actor":{"display_login":"leonard7e"}}