[BUG]: __sanitizer_annotate_contiguous_container definition in libcu++ conflicts with libc++ #2789
Closed
1 task done
Labels
bug
Something isn't working right.
Is this a duplicate?
Type of Bug
Compile-time Error
Component
libcu++
Describe the bug
Attempting to compile host-side CUDA code with
clang -fsanitize=address
fails with conflicting function redeclaration:How to Reproduce
https://godbolt.org/z/sMfxKP7hM
Expected behavior
Making
__sanitizer_annotate_contiguous_container
a__host__
function avoids the problem.Reproduction link
https://godbolt.org/z/sMfxKP7hM
Operating System
No response
nvidia-smi output
No response
NVCC version
No response
The text was updated successfully, but these errors were encountered: