<div dir="ltr">Hello,<br><br><div><br>I'm trying to build LLVM from scratch as I need 32 bit library support. I am using certain flags ( -fprofile-arc) that require libclang_rt.profile, specifically libclang_rt.profile-i386.a.<br><br>This is the error I encounter:<br>ld.lld: error: cannot open <br></div><div>/llvm_32/lib/clang/10.0.1/lib/linux/libclang_rt.profile-i386.a: No such file or directory<br>clang-10: error: linker command failed with exit code 1 (use -v to see invocation)<br><br><br>If you look at the directory of which it complains, there is nothing in there<br>/nfs/proj/fast/user/efatehi/llvm_32/lib/clang/10.0.1/<br></div><div>Only file is directory to include, no lib directory whatsoever, meaning nothing is being built here..</div><div><br><br>I'm trying with llvm-project-10.0.1<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";color:rgb(220,161,13)">llvm-project-10.0.1.tar.xz<br><br><br></p></div><div>Using:<br></div><div>





<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue"">cmake -DCMAKE_BUILD_TYPE=Release<span class="gmail-Apple-converted-space" style="">  </span>-DBENCHMARK_BUILD_32_BITS:BOOL=1<span class="gmail-Apple-converted-space" style="">  </span>-DLLVM_BUILD_INSTRUMENTED=IR<span class="gmail-Apple-converted-space" style="">  </span>-DLLVM_ENABLE_PROJECTS=lld,clang,compiler-rt,clang-tools-extra,libclc<span class="gmail-Apple-converted-space" style="">  </span>-DLLVM_ENABLE_ZLIB:bool=0<span class="gmail-Apple-converted-space" style="">  </span>-DLLVM_ENABLE_EH=ON -DLLVM_ENABLE_PIC=ON -DLLVM_ENABLE_RTTI=ON -DCOMPILER_RT_BUILD_BUILTINS=On -DCOMPILER_RT_USE_BUILTINS_LIBRARY=On -DCMAKE_INSTALL_PREFIX=../..//llvm_32 ../<br><br>Any idea what I am doing wrong here?<br><br>Thanks</p></div></div>