-
Notifications
You must be signed in to change notification settings - Fork 43
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
Android 11 compatibility problems #2
Comments
@BLuFeNiX, I am sorry to reply so late. Yeah, I haven't tested FANS on Android 11, but I think this issue is not related with Android 11 directly but with the clang/llvm version. As I don't have much time to keep FANS updated with the latest clang/version version in Android, I suggest that you could learn how to build a plugin in a latest version. Besides, you might need to modify the code in BinderIface. |
@iromise Thank you for the reply. I guess I'll just have to dig a bit deeper! |
Hi , |
|
Thank you for your reply! |
On AOSP 10+, the verbose log is always written to a compressed file in the output dir, we can dump compile commands from this file: |
@wrlu Oh, great! Thanks! |
Hi,
I am trying to use this tool with a recent AOSP release (android-11.0.0_r37), and I'm having trouble getting the BinderIface plugin to compile. LLVM has changed, so I have made the following adjustments to CMakeLists.txt
Additionally, I had to clone LLVM using these instructions: https://android.googlesource.com/toolchain/llvm_android/+/master/README.md#instructions-to-rebuild-a-particular-toolchain-release
This means LLVM source code is coming from a different repo, and the build system is different. I believe we must do this because the repo withing the FANS docs is outdated, and does not contain the current version used by AOSP 11.
After making these changes, I can build clang, but I cannot get any plugins to build. Can you please provide updated instructions?
The text was updated successfully, but these errors were encountered: