[cfe-users] Issue with clang-13

Sunil Kumar via cfe-users cfe-users at lists.llvm.org
Fri Dec 24 05:50:58 PST 2021


Hi,
I tried many times to install clang-13 in ubuntu-16.04. I followed the
steps mentioned below.

   - git clone https://github.com/llvm/llvm-project.git
   - git checkout llvmorg-13.0.0
   - cd llvm-project
   - mkdir build
   - cd build
   - cmake -DLLVM_ENABLE_PROJECTS=clang -G "Unix Makefiles" ../llvm
   - make

After running make command, it failed to install clang eventually and
showed some error mentioned below
----------------------------------------------------------------
make:342: recipe for target 'bin/clang-13' failed
make[2]: *** [bin/clang-13] Error 1
make[2]: *** Deleting file 'bin/clang-13' CMakeFiles/Makefile2:38992:
recipe for target 'tools/clang/tools/driver/CMakeFiles/clang.dir/all'
failed
make[1]: *** [tools/clang/tools/driver/CMakeFiles/clang.dir/all] Error 2
collect2: fatal error: ld terminated with signal 9 [Killed] compilation
terminated.
-----------------------------------------------------------------
Please help to resolve this bug.
-- 
Sunil Kumar
PhD21001
Ph.D. Scholar
HiPeC Lab <http://hipec.iiitd.edu.in/> @IIIT-Delhi
Homepage: https://justasunil.github.io/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-users/attachments/20211224/be232374/attachment.html>


More information about the cfe-users mailing list