-
Notifications
You must be signed in to change notification settings - Fork 15
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 for armv7(?) Android Termux #51
Comments
The existing arm builds are compatible with both armv6 and armv7 (Raspberry Pi models), with NEON selectively used in BoringSSL's crypto routines based on CPU feature detection. I am not sure if we need a separate build for armv7, however the issue is you should use |
The issue is that whenever I try to run your arm compiled binaries on a arm test phone I got through termux, it does not work. So I've been trying different things. Some info for reference: ~ $ ./curl_chrome120 https://www.google.com Your compiled binary
Termux binary:
$ cat /proc/cpuinfo
I appreciate the yml correction, it now errors at brotli:
|
Ah, I see you're building for Termux. Android's arm environment is not very compatible with the Linux builds, notably the glibc is either missing or located at a different path. There was some related investigation over on lexiforest/curl_cffi#74 |
Some resources that look useful:
I wonder if using patchelf to edit the dynamic interpreter and libc paths for the aarch64 Linux builds would be sufficient. If not, perhaps will need to build inside a Termux environment. |
Oh boy that's a bit above my knowledge of compiling things, appreciate it regardless |
AFAIK, this should be resovled by building with Android's NDK, potentially using The official doc: https://curl.se/docs/install.html |
Looks like that Zig example got it working with just musl, so maybe the NDK is not required |
Tried adding this to build-and-test-make.yml but it errors out when building zlib
The text was updated successfully, but these errors were encountered: