<div dir="ltr">Hi,<div>I tried many times to install clang-13 in ubuntu-16.04. I followed the steps mentioned below.</div><div><ul style="padding-left:1.5em"><li style="font-family:"Lucida Grande","Lucida Sans Unicode",Arial,Verdana,Helvetica,sans-serif;padding-bottom:0.5em"><tt style="color:rgb(0,0,0)">git clone <a href="https://github.com/llvm/llvm-project.git">https://github.com/llvm/llvm-project.git</a></tt></li><li style="font-family:"Lucida Grande","Lucida Sans Unicode",Arial,Verdana,Helvetica,sans-serif;padding-bottom:0.5em"><tt style="color:rgb(0,0,0)">git checkout llvmorg-13.0.0</tt></li><li style="padding-bottom:0.5em"><font color="#000000" face="monospace">cd llvm-project</font></li><li style="padding-bottom:0.5em"><font color="#000000" face="monospace">mkdir build</font></li><li style="padding-bottom:0.5em"><font color="#000000" face="monospace">cd build</font></li><li style="padding-bottom:0.5em"><tt style="color:rgb(0,0,0)">cmake -DLLVM_ENABLE_PROJECTS=clang -G "Unix Makefiles" ../llvm</tt></li><li style="padding-bottom:0.5em"><font color="#000000" face="monospace">make    </font></li></ul><div>After running make command, it failed to install clang eventually and showed some error mentioned below</div><div>----------------------------------------------------------------</div><div>make:342: recipe for target 'bin/clang-13' failed </div><div>make[2]: *** [bin/clang-13] Error 1 </div><div>make[2]: *** Deleting file 'bin/clang-13' CMakeFiles/Makefile2:38992: recipe for target 'tools/clang/tools/driver/CMakeFiles/clang.dir/all' failed </div><div>make[1]: *** [tools/clang/tools/driver/CMakeFiles/clang.dir/all] Error 2 </div><div>collect2: fatal error: ld terminated with signal 9 [Killed] compilation terminated.<br></div><div>-----------------------------------------------------------------</div><div>Please help to resolve this bug.</div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Sunil Kumar<br></div><div>PhD21001</div><div>Ph.D. Scholar</div><div><a href="http://hipec.iiitd.edu.in/" target="_blank">HiPeC Lab</a> @IIIT-Delhi</div><div>Homepage: <a href="https://justasunil.github.io/" target="_blank">https://justasunil.github.io/</a> </div><div><br></div></div></div></div></div>