{"action":"created","issue":{"url":"https://api.github.com/repos/FloopCZ/tensorflow_cc/issues/91","repository_url":"https://api.github.com/repos/FloopCZ/tensorflow_cc","labels_url":"https://api.github.com/repos/FloopCZ/tensorflow_cc/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/FloopCZ/tensorflow_cc/issues/91/comments","events_url":"https://api.github.com/repos/FloopCZ/tensorflow_cc/issues/91/events","html_url":"https://github.com/FloopCZ/tensorflow_cc/issues/91","id":320938063,"number":91,"title":"Unable to build 1.8.0","user":{"login":"ice-bit","id":29355561,"avatar_url":"https://avatars0.githubusercontent.com/u/29355561?v=4","gravatar_id":"","url":"https://api.github.com/users/ice-bit","html_url":"https://github.com/ice-bit","followers_url":"https://api.github.com/users/ice-bit/followers","following_url":"https://api.github.com/users/ice-bit/following{/other_user}","gists_url":"https://api.github.com/users/ice-bit/gists{/gist_id}","starred_url":"https://api.github.com/users/ice-bit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ice-bit/subscriptions","organizations_url":"https://api.github.com/users/ice-bit/orgs","repos_url":"https://api.github.com/users/ice-bit/repos","events_url":"https://api.github.com/users/ice-bit/events{/privacy}","received_events_url":"https://api.github.com/users/ice-bit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-05-07T20:06:47Z","updated_at":"2018-05-08T21:06:55Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\ni'm trying to build tensorflow using 1.8.0 branch with CUDA support.\r\nThis is the output i get:\r\n``` /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.1/include/c++/tuple: In instantiation of 'static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple<int, int, int>&&; bool <anonymous> = true; _Elements = {int, int, int}]':\r\n/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.1/include/c++/tuple:686:422:   required by substitution of 'template<class ... _UElements, class _Dummy, typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), int, int, int>::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), int, int, int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), int, int, int>::_NonNestedTuple<tuple<_Elements ...>&&>()), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(std::tuple<_Args1 ...>&&) [with _UElements = {int, int, int}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), int, int, int>::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), int, int, int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), int, int, int>::_NonNestedTuple<tuple<_Elements ...>&&>()), bool>::type <anonymous> = <missing>]'\r\n./tensorflow/stream_executor/dnn.h:891:91:   required from here\r\n/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.1/include/c++/tuple:495:244: error: wrong number of template arguments (4, should be 2)\r\n       return  __and_<__not_<is_same<tuple<_Elements...>,\r\n                                                                                                                                                                                                                                                    ^    \r\n/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.1/include/c++/type_traits:1558:8: note: provided for 'template<class _From, class _To> struct std::is_convertible'\r\n     struct is_convertible\r\n        ^~~~~~~~~~~~~~\r\n/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.1/include/c++/tuple:502:1: error: body of constexpr function 'static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple<int, int, int>&&; bool <anonymous> = true; _Elements = {int, int, int}]' not a return-statement\r\n     }\r\n ^\r\nERROR: /home/marco/tensorflow_cc/tensorflow_cc/build/tensorflow/tensorflow/core/kernels/BUILD:3423:1: output 'tensorflow/core/kernels/_objs/bincount_op_gpu/tensorflow/core/kernels/bincount_op_gpu.cu.pic.o' was not created\r\nERROR: /home/marco/tensorflow_cc/tensorflow_cc/build/tensorflow/tensorflow/core/kernels/BUILD:3423:1: not all outputs were created or valid\r\nTarget //tensorflow:libtensorflow_cc.so failed to build\r\nUse --verbose_failures to see the command lines of failed build steps.\r\nINFO: Elapsed time: 2036.543s, Critical Path: 137.96s\r\nINFO: 3557 processes, local.\r\nFAILED: Build did NOT complete successfully\r\nmake[2]: *** [CMakeFiles/tensorflow_shared.dir/build.make:111: tensorflow-stamp/tensorflow_shared-configure] Error 1\r\nmake[1]: *** [CMakeFiles/Makefile2:68: CMakeFiles/tensorflow_shared.dir/all] Error 2\r\nmake: *** [Makefile:130: all] Error 2\r\n```\r\n\r\nI'm using Arch Linux with gcc6 if it matter"},"comment":{"url":"https://api.github.com/repos/FloopCZ/tensorflow_cc/issues/comments/387542574","html_url":"https://github.com/FloopCZ/tensorflow_cc/issues/91#issuecomment-387542574","issue_url":"https://api.github.com/repos/FloopCZ/tensorflow_cc/issues/91","id":387542574,"user":{"login":"FloopCZ","id":6018335,"avatar_url":"https://avatars1.githubusercontent.com/u/6018335?v=4","gravatar_id":"","url":"https://api.github.com/users/FloopCZ","html_url":"https://github.com/FloopCZ","followers_url":"https://api.github.com/users/FloopCZ/followers","following_url":"https://api.github.com/users/FloopCZ/following{/other_user}","gists_url":"https://api.github.com/users/FloopCZ/gists{/gist_id}","starred_url":"https://api.github.com/users/FloopCZ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FloopCZ/subscriptions","organizations_url":"https://api.github.com/users/FloopCZ/orgs","repos_url":"https://api.github.com/users/FloopCZ/repos","events_url":"https://api.github.com/users/FloopCZ/events{/privacy}","received_events_url":"https://api.github.com/users/FloopCZ/received_events","type":"User","site_admin":false},"created_at":"2018-05-08T21:06:55Z","updated_at":"2018-05-08T21:06:55Z","author_association":"OWNER","body":"Sorry, not really sure when it will be fixed. You can track these for more info:\r\n\r\nhttps://github.com/tensorflow/tensorflow/issues/18980\r\n\r\nhttps://devtalk.nvidia.com/default/topic/1028112/cuda-setup-and-installation/nvcc-bug-related-to-gcc-6-lt-tuple-gt-header-/"}}
{"actor":{"display_login":"FloopCZ"}}