You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I will try to provide a project to recreate this error but I'm hoping it just might ring a bell.
Our current Rust builds for android (using NDK 25.2.9519653 succeed), but moving to any 26 version brings out linkage errors like:
note: ld.lld: error: /tmp/rustc9ErbZO/libfreetype_sys-d92f0c941db0ed75.rlib(autofit.c.o) is incompatible with aarch64linux
ld.lld: error: /tmp/rustc9ErbZO/libfreetype_sys-d92f0c941db0ed75.rlib(ftbase.c.o) is incompatible with aarch64linux
...
I believe the target and build configuration is correct, or at least it was correct enough to build with NDK 25.2.
Here's the reported configuration as the crate is being built:
As shown, we're trying to use the android.toolchain.cmake provided by the NDK.
I'll add more detail if this seems strange. If you can vouch for the crate against NDK 26.x our build configuration probably needs to be updated in some way required by the NDK.
The text was updated successfully, but these errors were encountered:
I will try to provide a project to recreate this error but I'm hoping it just might ring a bell.
Our current Rust builds for android (using NDK
25.2.9519653
succeed), but moving to any26
version brings out linkage errors like:I believe the target and build configuration is correct, or at least it was correct enough to build with NDK
25.2
.Here's the reported configuration as the crate is being built:
As shown, we're trying to use the
android.toolchain.cmake
provided by the NDK.I'll add more detail if this seems strange. If you can vouch for the crate against NDK
26.x
our build configuration probably needs to be updated in some way required by the NDK.The text was updated successfully, but these errors were encountered: