Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build error #83700

Open
aiiiii96 opened this issue Mar 3, 2024 · 0 comments
Open

build error #83700

aiiiii96 opened this issue Mar 3, 2024 · 0 comments
Labels

Comments

@aiiiii96
Copy link

aiiiii96 commented Mar 3, 2024

When I make -j4 in llvm-project/build, i met these errors:

[ 96%] Linking CXX shared library ../../../../lib/libclang.so

/usr/bin/ld: ../../lib/libLLVMAArch64CodeGen.a(AArch64TargetMachine.cpp.o): in function `llvm::AArch64TargetMachine::AArch64TargetMachine(llvm::Target const&, llvm::Triple const&, llvm::StringRef, llvm::StringRef, llvm::TargetOptions const&, llvm::Optionalllvm::Reloc::Model, llvm::Optionalllvm::CodeModel::Model, llvm::CodeGenOpt::Level, bool, bool)':
........

undefined reference to llvm::LiveRegMatrix::unassign(llvm::LiveInterval&)' /usr/bin/ld: /home/ai/Desktop/morpher/llvm-project/llvm/lib/CodeGen/RegAllocGreedy.cpp:2975: undefined reference to llvm::LiveRegMatrix::assign(llvm::LiveInterval&, unsigned int)'
/usr/bin/ld: ../../../../lib/libLLVMCodeGen.a(RegAllocBase.cpp.o): in function llvm::RegAllocBase::allocatePhysRegs()': /home/ai/Desktop/morpher/llvm-project/llvm/lib/CodeGen/RegAllocBase.cpp:142: undefined reference to llvm::LiveRegMatrix::assign(llvm::LiveInterval&, unsigned int)'
collect2: error: ld returned 1 exit status
make[2]: *** [tools/clang/tools/libclang/CMakeFiles/libclang.dir/build.make:549: lib/libclang.so.10] Error 1
make[1]: *** [CMakeFiles/Makefile2:37816: tools/clang/tools/libclang/CMakeFiles/libclang.dir/all] Error 2
make: *** [Makefile:152: all] Error 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants