Bug#873405: Please update to llvm-toolchain 4.0 or, better, 5.0

Samuel Thibault sthibault at debian.org
Thu Aug 31 11:28:14 UTC 2017


Hello,

Lumin, on lun. 28 août 2017 04:48:16 +0000, wrote:
> Clang-3.9 is now suffering from the GCC-7 headers as shown at bottom.

FI, I managed to avoid the issue by making clang use libc++-dev:

> ❯❯❯ nvcc -ccbin clang++-3.9 matrixMul.cu -I../../common/inc
>                                    Mon 28 Aug 2017 04:36:32 AM UTC
> /usr/bin/../lib/gcc/x86_64-linux-gnu/7.2.0/../../../../include/c++/7.2.0/bits/std_abs.h(101):
> error: identifier "__float128" is undefined

nvcc -ccbin clang++-3.9 -Xcompiler -stdlib=libc++ test.cu -o test

Samuel



More information about the debian-science-maintainers mailing list