Clang 3.7 missing UBsan libraries

Bug #1610502 reported by Jeffrey Walton
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

$ cat
int main(int argc, char* argv[])
  return 0;

$ clang-3.7 -fsanitize=undefined -o test.exe
/usr/bin/ld: cannot find /usr/lib/llvm-3.7/bin/../lib/clang/3.7.0/lib/linux/libclang_rt.ubsan_standalone-arm.a: No such file or directory
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Considering Valgrind does not work because of the clever little-endian/big-endian switch in memcpy, it would be nice if some of the other tools worked.

This may be related:

Revision history for this message
Jeffrey Walton (noloader) wrote :

Also see the following bug report on the LLVM mailing list: .

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.