Artem-B wrote:
It appears to be breaking CUDA tests:
https://lab.llvm.org/buildbot/#/builders/69/builds/22559
I'll revert it for now and we'll try again later.
```
[29/988] Building CXX object
External/CUDA/CMakeFiles/math_h-cuda-11.8-c++98-libstdc++-10.dir/math_h.cu.o
FAILED:
External/CUDA/CMakeFiles/math_h-cuda-11.8-c++98-libstdc++-10.dir/math_h.cu.o
/buildbot/cuda-t4-0/work/clang-cuda-t4/clang/bin/clang++ -DNDEBUG -O3 -DNDEBUG
-w -Werror=date-time -UNDEBUG
--cuda-path=/buildbot/cuda-t4-0/work/clang-cuda-t4/external/cuda/cuda-11.8
-I/buildbot/cuda-t4-0/work/clang-cuda-t4/external/cuda/cuda-11.8/include
--cuda-gpu-arch=sm_75 -std=c++98 -stdlib=libstdc++
--gcc-toolchain=/buildbot/cuda-t4-0/work/clang-cuda-t4/external/cuda/gcc-10
-DSTDLIB_VERSION=2014 -MD -MT
External/CUDA/CMakeFiles/math_h-cuda-11.8-c++98-libstdc++-10.dir/math_h.cu.o
-MF
External/CUDA/CMakeFiles/math_h-cuda-11.8-c++98-libstdc++-10.dir/math_h.cu.o.d
-o External/CUDA/CMakeFiles/math_h-cuda-11.8-c++98-libstdc++-10.dir/math_h.cu.o
-c
/buildbot/cuda-t4-0/work/clang-cuda-t4/llvm-test-suite/External/CUDA/math_h.cu
In file included from <built-in>:1:
In file included from
/buildbot/cuda-t4-0/work/clang-cuda-t4/clang/lib/clang/21/include/__clang_cuda_runtime_wrapper.h:41:
In file included from
/buildbot/cuda-t4-0/work/clang-cuda-t4/clang/lib/clang/21/include/cuda_wrappers/cmath:28:
In file included from
/buildbot/cuda-t4-0/work/clang-cuda-t4/external/cuda/gcc-10/lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/cmath:41:
/buildbot/cuda-t4-0/work/clang-cuda-t4/clang/lib/clang/21/include/cuda_wrappers/bits/c++config.h:39:28:
error: expected function body after function declarator
39 | __glibcxx_assert_fail(...) noexcept {
| ^
In file included from <built-in>:1:
In file included from
/buildbot/cuda-t4-0/work/clang-cuda-t4/clang/lib/clang/21/include/__clang_cuda_runtime_wrapper.h:474:
/buildbot/cuda-t4-0/work/clang-cuda-t4/clang/lib/clang/21/include/__clang_cuda_intrinsics.h:531:1:
error: unknown type name 'decltype'
531 | __INTRINSIC_LOAD2(__ldcg, "ld.global.cg.v2.s8", char2, int2, "=r", );
| ^
/buildbot/cuda-t4-0/work/clang-cuda-t4/clang/lib/clang/21/include/__clang_cuda_intrinsics.h:500:27:
note: expanded from macro '__INTRINSIC_LOAD2'
500 | using __ElementType = decltype(__ret.x);
\
| ^
/buildbot/cuda-t4-0/work/clang-cuda-t4/clang/lib/clang/21/include/__clang_cuda_intrinsics.h:531:1:
error: type-id cannot have a name
/buildbot/cuda-t4-0/work/clang-cuda-t4/clang/lib/clang/21/include/__clang_cuda_intrinsics.h:500:36:
note: expanded from macro '__INTRINSIC_LOAD2'
500 | using __ElementType = decltype(__ret.x);
\
| ^
/buildbot/cuda-t4-0/work/clang-cuda-t4/clang/lib/clang/21/include/__clang_cuda_intrinsics.h:531:1:
error: expected ')'
/buildbot/cuda-t4-0/work/clang-cuda-t4/clang/lib/clang/21/include/__clang_cuda_intrinsics.h:500:41:
note: expanded from macro '__INTRINSIC_LOAD2'
500 | using __ElementType = decltype(__ret.x);
\
| ^
/buildbot/cuda-t4-0/work/clang-cuda-t4/clang/lib/clang/21/include/__clang_cuda_intrinsics.h:531:1:
note: to match this '('
/buildbot/cuda-t4-0/work/clang-cuda-t4/clang/lib/clang/21/include/__clang_cuda_intrinsics.h:500:35:
note: expanded from macro '__INTRINSIC_LOAD2'
500 | using __ElementType = decltype(__ret.x);
\
```
https://github.com/llvm/llvm-project/pull/143664
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits