eshard / obfuscator-llvm

Other
223 stars 42 forks source link

[Rust] Failed to build under Linux #11

Closed H0bb1t closed 1 year ago

H0bb1t commented 1 year ago

Good afternoon. I followed the manual for rust and ran into a problem building obfuscate-llvm. There were no deviations from the manual until make -j8 command in 3. Build the obufscation section. I've tried both branches, nothing changed.

Environment information:

Error log in the attached file.

I would be extremely grateful for any help, as extremely interested in using this project. Thank you in advance! log.txt

PatriceBlin commented 1 year ago

Hi,

Maybe few changes on LLVM 15.x caused this. I though I checked the compilation against LLVM 15 when it released but now I'm not too sure anymore. I will rebuild and check.

PatriceBlin commented 1 year ago

Hi,

I fixed the build against LLVM 15 and 16

You can check the branch fix-build-llvm-15-16 We still have to test it against our usual tests to check nothing is broken.

The errors you had were linked to LLVM enforcing C++17 starting LLVM 16. Rust usually build against the bleeding edge of LLVM (even if your logs says LLVM 15.0.7-rust-dev)

H0bb1t commented 1 year ago

Hello. This time I didn't encounter any problems, at least until I tried to compile my project. But these are related to the custom toolchain, so I belive we can close this issue.

Thank you very much!