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

Fixing bugs #176

Open
rc-94 opened this issue May 26, 2023 · 0 comments
Open

Fixing bugs #176

rc-94 opened this issue May 26, 2023 · 0 comments

Comments

@rc-94
Copy link

rc-94 commented May 26, 2023

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.

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

No branches or pull requests

1 participant