Post
Google Sanitizers and Fedora 25
Here's a tip if you are using Fedora and trying to use one of the Google Sanitizers with clang and is having problems doing so.
Here's a tip if you are using Fedora and trying to use one of the Google Sanitizers with clang and is having problems doing so. One of the common problems is not being able to find libclang_rt.asan-x86_64.a:
/usr/bin/ld: cannot find /usr/bin/../lib64/clang/3.8.0/lib/linux/libclang_rt.asan-x86_64.a: No such file or directory
This can be resolved by simply installing the compiler-rt package:
sudo dnf install -y compiler-rt