So, if you try to use nvcc when the system GCC is version 5 and up, you get an \"unsupported version\" error. But - I\'ve heard people report that they\'ve just commented this o
Consider installing and temporary selecting an older version of the gcc
:
apt-get install gcc-4.8
Then update your alternatives:
update-alternatives --remove-all gcc
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 10
After compiling TensorFlow you can use previous version of gcc
calling above command with proper path to /usr/bin/gcc-5.x
.