Public bug reported:
Problem:
Ubuntu 17.04: Using nvcc with g++ (6.3) does not work.
Note:
Ubuntu 16.10: Using nvcc with g++ (6.2) does work.
System:
Description: Ubuntu Zesty Zapus (development branch)
Release: 17.04
Packages:
nvidia-cuda-toolkit/zesty,now 8.0.44-3 amd64
gcc-6/zesty,now 6.3.0-2ubuntu1 amd64
Versions:
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2016 NVIDIA Corporation
Built on Sun_Sep__4_22:14:01_CDT_2016
Cuda compilation tools, release 8.0, V8.0.44
g++ (Ubuntu 6.3.0-2ubuntu1) 6.3.0 20161229
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
==>
"/usr/lib/nvidia-cuda-toolkit/bin/nvcc" \
-c \
-ccbin=g++ \
-std=c++11 \
--use_fast_math \
--default-stream=per-thread \
--expt-extended-lambda \
-gencode=arch=compute_60,code=\"sm_60,compute_60\" \
-m64 \
--compiler-options \
-fno-strict-aliasing \
-I/usr/local/cuda/include \
-I/usr/local/optix/include \
-Isource \
-DUNIX \
-O3 \
-o bin/gcc-6.3.0/release/source/test.o -c source/test.cu
ERROR: No supported gcc/g++ host compiler found, but clang-3.8 is available.
Use 'nvcc -ccbin clang-3.8' to use that instead.
** Affects: nvidia-cuda-toolkit (Ubuntu)
Importance: Undecided
Status: New
** Package changed: nvidia-graphics-drivers-375 (Ubuntu) => nvidia-cuda-
toolkit (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1667815
Title:
Ubuntu 17.04: nvcc error "No supported gcc/g++ host compiler found"
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-cuda-toolkit/+bug/1667815/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs