-
-
Notifications
You must be signed in to change notification settings - Fork 87
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
iroh resp. rocksdb does not compile on android #3570
Comments
@r10s what is the NDK version you are building against? |
I got it to build by setting the following things
|
And for any ndk version > 21 needs a workaround like this: godot-rust/gdnative#920 |
just having a look: i am using locally r22b, Dockerimage uses r23c. |
that seems to be already done at https://github.com/deltachat/deltachat-android/blob/master/scripts/ndk-make.sh#L95 |
k, stepping away from i tried the following:
compiling seem to run through for that target, so, some tiny steps, but linking throws the error:
wondering, where the option |
@r10s unclear to me where that is coming from either for me, looks like an option that is not available on macos/clangd. Can you build |
@r10s thanks to @fabricedesre I got this script which he uses to build his projects including iroh for android phones https://gist.github.com/dignifiedquire/6d9dc7c6efff2c68e430aa700d1a2e62 |
good aspect to test - and indeed building with command from above on master throws the same error for me on macos. but i double checked |
fyi, we updated the build config for iroh to work on the ndk r25b. Relevant changes are setting AR and the linker: https://github.com/capyloon/iroh/blob/e5a8a19435ab1ac2c833a4d432148bb86a958a1d/iroh-one/utils.sh#L85 |
some issues might also be related to the new toolchain, master was just updated to rust 1.65, so, let's see if master compiles and android now. |
Closing this as #3489 is closed. |
trying to build #3489 on android leads to different errors:
for "arm64-v8a" and "x86_64" (though printed as a "warning", compiling is aborted with an error):
for "armv7-linux-androideabi (arm)" and "i686-linux-android (x86)"
not sure yet if x86-32bit builds on android.EDIT: it does not, i added these targets above.The text was updated successfully, but these errors were encountered: