Open xaperret opened 3 years ago
The same problem,anyone who knows how to solve it?
the same problem
From my experience this is not the real reason for make
to fail. It just appears so as you invoke make with multiple threads. If you scroll up you will see other error regarding collect2: fatal error: ld terminated with signal 9 [killed]
. In such case try to increase the swap space.
Hi, after running cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DLLVM_INCLUDE_TESTS=OFF ../obfuscator/
I tried to compile by using "make -j7" but it failed almost at the end.
In file included from /usr/include/c++/10.2.0/utility:70, from /home/xavierp/obfuscator/include/llvm/Support/type_traits.h:18, from /home/xavierp/obfuscator/include/llvm/Support/Casting.h:19, from /home/xavierp/obfuscator/tools/clang/include/clang/Basic/LLVM.h:22, from /home/xavierp/obfuscator/tools/clang/include/clang/AST/APValue.h:17, from /home/xavierp/obfuscator/tools/clang/include/clang/AST/Decl.h:17, from /home/xavierp/obfuscator/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /home/xavierp/obfuscator/tools/clang/include/clang/AST/ASTContext.h:18, from /home/xavierp/obfuscator/tools/clang/lib/Sema/TypeLocBuilder.h:18, from /home/xavierp/obfuscator/tools/clang/lib/Sema/TypeLocBuilder.cpp:15: /usr/include/c++/10.2.0/bits/stl_pair.h:211:12: note: ‘struct std::pair<void*, long unsigned int>’ declared here 211 | struct pair | ^~~~ [ 83%] Linking CXX static library ../../../../lib/libclangSema.a [ 83%] Built target clangSema make: *** [Makefile:171: all] Error 2
I have the same problem. You have the solution?
same problem
Hi, after running cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DLLVM_INCLUDE_TESTS=OFF ../obfuscator/ I tried to compile by using "make -j7" but it failed almost at the end.
In file included from /usr/include/c++/10.2.0/utility:70, from /home/xavierp/obfuscator/include/llvm/Support/type_traits.h:18, from /home/xavierp/obfuscator/include/llvm/Support/Casting.h:19, from /home/xavierp/obfuscator/tools/clang/include/clang/Basic/LLVM.h:22, from /home/xavierp/obfuscator/tools/clang/include/clang/AST/APValue.h:17, from /home/xavierp/obfuscator/tools/clang/include/clang/AST/Decl.h:17, from /home/xavierp/obfuscator/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /home/xavierp/obfuscator/tools/clang/include/clang/AST/ASTContext.h:18, from /home/xavierp/obfuscator/tools/clang/lib/Sema/TypeLocBuilder.h:18, from /home/xavierp/obfuscator/tools/clang/lib/Sema/TypeLocBuilder.cpp:15: /usr/include/c++/10.2.0/bits/stl_pair.h:211:12: note: ‘struct std::pair<void*, long unsigned int>’ declared here 211 | struct pair | ^~~~ [ 83%] Linking CXX static library ../../../../lib/libclangSema.a [ 83%] Built target clangSema make: *** [Makefile:171: all] Error 2
I have the same problem. You have the solution? solve the problem can download obfuscator-llvm 5.0(https://github.com/qtfreet00/llvm-obfuscator), compile again!
solve the problem can download obfuscator-llvm 5.0(https://github.com/qtfreet00/llvm-obfuscator), compile again!------------------ 原始邮件 ------------------ @.> 发送时间: 2021年4月22日(星期四) 上午9:01 @.>; @.**@.>; 主题: Re: [obfuscator-llvm/obfuscator] Makefile:171 Error 2 when using make -j7 (#157)
Same problem, any solution?
Hi, after running cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DLLVM_INCLUDE_TESTS=OFF ../obfuscator/
I tried to compile by using "make -j7" but it failed almost at the end.