llvm-dev Digest, Vol 153, Issue 107

Hello

I had build llvm-3.9 (having clang-3.9 and compiler-rt-3.9). I want to run
asan on both 32 bit architecture as well as 64 bit architecture.

Compiling it with -m32 I am getting following error:

/usr/bin/ld: cannot find
~/llvm/build/bin/../lib/clang/3.9.0/lib/linux/libclang_rt.asan-i386.a: No
such file or directory
clang-3.9: error: linker command failed with exit code 1 (use -v to see
invocation)

Hi,

Try adding your_build_dir/lib to LD_LIBRARY_PATH environment variable.
I think it should solve this.

-Vivek