[llvm-dev] llvm-dev Digest, Vol 153, Issue 107
vivek pandya via llvm-dev
llvm-dev at lists.llvm.org
Wed Mar 22 08:35:12 PDT 2017
> 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
> Could somebody please help me to resolve this issue!
>
> --
> Aayushi Agrawal
> B.Tech(Final Year)
> Computer Science Engineering Undergraduate
> LNMIIT,JAIPUR
> Contact - 09649357639
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170322/5ddb25d4/attachment.html>
More information about the llvm-dev
mailing list