llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
28.58k stars 11.81k forks source link

error when building with cmake under ubuntu 24.x.y #113047

Open aragon5956 opened 1 hour ago

aragon5956 commented 1 hour ago

hello , my configuration is :

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 24.04.1 LTS
Release:    24.04
Codename:   noble
alexandre@alexandre-developpeur:~/Téléchargements/llvm-project/build$ uname -r
6.9.9-060909-generic

when i typed this command :

cmake -G "Unix Makefiles" -DLLVM_ENABLE_PROJECTS="clang;lld" -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD="X86" ../llvm && make -j 4

i've this error :

[ 85%] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/LiveDebugValues/VarLocBasedImpl.cpp.o
[ 85%] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/LiveDebugValues/InstrRefBasedImpl.cpp.o
[ 85%] Linking CXX static library ../libLLVMCodeGen.a
[ 85%] Built target LLVMCodeGen
make: *** [Makefile:156 : all] Erreur 2
alexandre@alexandre-developpeur:~/Téléchargements/llvm-project/build$ 

what can i do ? regards

tstellar commented 1 hour ago

Can you upload more of the build log? My guess is the error is emitted earlier in the log.

aragon5956 commented 8 minutes ago

Can you upload more of the build log? My guess is the error is emitted earlier in the log.

what do you want exactly with which command ? i don't understand