-
Notifications
You must be signed in to change notification settings - Fork 554
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
BUILD: Building for Android AARCH64 on Linux #2154
Comments
Cannot build for Android AARCH64.
I'm not surprised. You're probably the first person to try this.
Since ARM Linux, AArch64 Linux and ARM Android are implemented,
perhaps AArch64 Android won't need a lot of extra work, but I don't
know much about what's needed for Android. Derek, do you have any
thoughts on this? Can you foresee any particular obstacles?
|
DR has to emulate the system loader, and Android's loader has unique behavior and interdependencies with Bionic. Emulating it is not implemented for A64. Mostly it's about setting up the first thread's pthread data structure. Xref #1701 (comment), #1920, #1862. |
You could disable the Bionic stuff and plain DR will work (just no clients except ones with no deps) |
I'm successfully building DR for Android AArch64, but even libinscount.so could not work. |
|
Could someone give a routine to fix DR working on Android-AArch64? |
seems running without client work.
|
Help wanted. Probably reviving and finishing PR #3547 would be a good first step. |
sounds good will take a look on the weekend |
Has this issue been resolved now? |
any update here? |
New developers are needed to work on Android support. It sounds like there is interest: please consider contributing time. |
Xref someone successfully building and running: https://groups.google.com/g/dynamorio-users/c/5lphjcB0Bwc/m/xzsJrOMlAAAJ |
Hi derek, Is there a more better guidence for building for Android14/15 aarch64? |
If you are interested in helping, #3547 is probably the best starting point: that pull request needs to be revived, finished, and merged. |
Cannot build for Android AARCH64.
Build for Android ARM32 works fine.
I initialize my toolchain like,
Replace linkers:
works fine.
Then if I try to do the same, but for aarch64 it fails:
I tried this cmake line:
and it errors with
So I tried with:
The cmake runs fine, but then when I build it with make -j, it errors with:
The text was updated successfully, but these errors were encountered: