-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Description
Hello,
I had some difficulties to compile the project. I finally managed to do it and, as the project does not seem maintained, this may interest someone.
First, I had the following error:
make: *** [Makefile:156: all] Error 2
caused by this : tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp:6275:24: error: lambda parameter ‘CGF’ previously declared as a capture. So you should apply all the patches available here : https://github.com/obfuscator-llvm/obfuscator/pull/172/files
After that, again, I had :
make[2]: * [tools/lto/CMakeFiles/LTO.dir/build.make:158: lib/libLTO.so.4.0.1] Error 1
make[1]: * [CMakeFiles/Makefile2:7383: tools/lto/CMakeFiles/LTO.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Then, you should add -DLLVM_PARALLEL_LINK_JOBS=1 to the command line of the cmake. This worked for me.
jhrhee, zebrame, ehn1225, Nya0, mcoops and 6 more
Metadata
Metadata
Assignees
Labels
No labels