-
Notifications
You must be signed in to change notification settings - Fork 66
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
Bug: Linker errors on Android #235
Comments
|
Does it only fail on Android and passes everywhere else? |
Yes |
@zhongzc, any chance you could reproduce its build pipeline in an isolated GitHub CI job and add it to |
I can reproduce using |
More tests show that this is introduced in 5.0.0, it can compile (in the dockerfile image from |
Yes, that part is clear. The older versions didn't use dynamic dispatch in Rust. The new ones seem to work fine with Rust on most platforms, but we may need to find a different approach on Android. |
Describe the bug
See GreptimeTeam/greptimedb#5016
I encountered linker errors when trying to build
greptime
for Android (aarch64-linux-android) using cargo ndk. The errors indicate undefined symbols for SIMD functions (e.g., simsimd_cos_f32, simsimd_dot_f32, simsimd_l2sq_f32) from thesimsimd
crate.I'm not familiar with Android. Your guidance will be greatly appreciated if the problem is too simple or troublesome.
Steps to reproduce
Expected behavior
Pass the build.
SimSIMD version
v6.0.5
Operating System
Android
Hardware architecture
Arm
Which interface are you using?
Rust bindings
Contact Details
No response
Are you open to being tagged as a contributor?
.git
history as a contributorIs there an existing issue for this?
Code of Conduct
The text was updated successfully, but these errors were encountered: