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) 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/c7e3fb8e/attachment.html>
Hi Aayushi, Seems the link [1] answers your question. [1] http://stackoverflow.com/questions/28640585/build-install-llvm-clang-with-both-32-64-bit-support-libraries HTH, chenwj 2017-03-22 14:43 GMT+08:00 Aayushi Agrawal via llvm-dev < llvm-dev at lists.llvm.org>:> 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) > > Could somebody please help me to resolve this issue! > > -- > Aayushi Agrawal > B.Tech(Final Year) > Computer Science Engineering Undergraduate > LNMIIT,JAIPUR > Contact - 09649357639 > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev > >-- Wei-Ren Chen (陳韋任) Homepage: http://people.cs.nctu.edu.tw/~chenwj -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170322/24116048/attachment.html>
Hello This link didn't work for me. As I am getting error whose meaning is - there are no options as -arch i386 -arch x86_64. How should I remove this error? On Wed, Mar 22, 2017 at 6:11 PM, 陳韋任 <chenwj.cs97g at g2.nctu.edu.tw> wrote:> Hi Aayushi, > > Seems the link [1] answers your question. > > [1] http://stackoverflow.com/questions/28640585/build- > install-llvm-clang-with-both-32-64-bit-support-libraries > > HTH, > chenwj > > > 2017-03-22 14:43 GMT+08:00 Aayushi Agrawal via llvm-dev < > llvm-dev at lists.llvm.org>: > >> 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) >> >> Could somebody please help me to resolve this issue! >> >> -- >> Aayushi Agrawal >> B.Tech(Final Year) >> Computer Science Engineering Undergraduate >> LNMIIT,JAIPUR >> Contact - 09649357639 >> >> _______________________________________________ >> LLVM Developers mailing list >> llvm-dev at lists.llvm.org >> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >> >> > > > -- > Wei-Ren Chen (陳韋任) > Homepage: http://people.cs.nctu.edu.tw/~chenwj > >-- 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/20170331/fb42d10b/attachment.html>