Bug#873405: Please update to llvm-toolchain 4.0 or, better, 5.0
Samuel Thibault
sthibault at debian.org
Thu Aug 31 11:30:43 UTC 2017
Samuel Thibault, on jeu. 31 août 2017 13:28:14 +0200, wrote:
> 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
Ah, but depending on the clang version vs libc++-dev version, there
might be conflicts too. It'd mean a version of libc++-dev compatible
with clang-3.9 would need to be kept.
Samuel
More information about the debian-science-maintainers
mailing list