Support for GCC 6 is only available starting with CUDA 9:
https://devblogs.nvidia.com/parallelforall/cuda-9-features-revealed
Package-Manager: Portage-2.3.6, Repoman-2.3.2
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DEPEND=""
RDEPEND="${DEPEND}
>=sys-devel/gcc-4.7[cxx]
+ <sys-devel/gcc-6[cxx]
>=x11-drivers/nvidia-drivers-367.44[X,uvm]
debugger? (
sys-libs/libtermcap-compat
DEPEND=""
RDEPEND="${DEPEND}
>=sys-devel/gcc-4.7[cxx]
+ <sys-devel/gcc-6[cxx]
>=x11-drivers/nvidia-drivers-375.26[X,uvm]
debugger? (
sys-libs/libtermcap-compat