-
Notifications
You must be signed in to change notification settings - Fork 452
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
new request. please add armhf and aaarch64 (arm64) version deb files for mobile installing supports. #5345
Comments
related :)
|
i mean Android armhf version.termux üzerinde kullanmayi düşünüyorum.ya da kali linuxun armsini mi kurayim.elimde pc yok ondan.olsa linux x64 e kurardim direk. |
I am not a dev member of tribler team, but I can refresh the history. Android support is a long story, and not an easy task, however, linux armel/armhf/aarch64 binaries rather easy. I alrady have some personal work that can produce arm variants on linux. |
+1 for arm64 support for Raspberry Pi 5 running Raspberry Pi OS and/or Ubuntu 24.04 |
I made a speculative aarch64 build: https://github.com/Tribler/tribler/actions/runs/11591563461 (it probably works) Once I receive the appropriate hardware in the mail, I can test this myself as well. For now, this build is only for aarch64 enthusiasts that want to help with testing. |
|
Thanks for testing! Good to see that we finally managed to get at least one of the two requested builds. That said, armhf is going to be quite a bit more difficult to get up-and-running on GitHub Actions. |
i like that way this is shipped with the exact libraries bundled
how about putting the linker and c runtime also in and make a complete portable binary? Or even Musl build, so that it can even be run in android (with very few patches)? just some wild ideas... |
There are quite a few things that could be added or improved, and even other architectures that can be supported. Contributions are definitely welcome though. I don't think I'll have time for all of that. I'll readily accept any PRs that extend or improve our GitHub Actions build. |
I noticed an issue. .so libraries under share/lib/PIL do not have rpath=[$ORIGIN], this results if you run the
if you patch the misconfigured .so file manually with
then the load is succesfull because now PIL so files know where to load their stuff. This looks to me a This is also valid for |
Another report is, i tried to manually if my calcualtion is correct, the |
Very nice finds, thanks! It would be cool if we could trim down the size even further (either in cx_Freeze or on the resulting executable). By the way, if you want to help out with cx_Freeze, I opened issue 2641 there. I even made a repo to show issue(s) with aarch64 support in cx_Freeze (https://github.com/qstokkink/cxFreeze2641). |
Ooh. Thank you babe |
To address the request for a fully portable Tribler binary, potentially compatible with Android, here's a structured approach: 1. Musl-based Static Build for Linux Portability
2. Bundling the Dynamic Linker (Complex)
3. Android Compatibility
4. Action Plan
5. Risks and Mitigations
Next Steps
Let me know how you’d like to proceed! 🚀 |
To reduce the size of a portable Tribler binary while maintaining portability, here’s a refined strategy focusing on aggressive size optimization: 1. Compiler/Linker Optimizationsa. Size-Optimized Build Flags
b. Use Musl +
|
Technique | Size Savings | Risk |
---|---|---|
strip + UPX |
~60% | Slower startup, potential false AV |
LTO + -Os |
~20% | Longer compile time |
Alpine + Musl | ~30% | Compatibility testing required |
Dependency Auditing | ~10-40% | Risk of breaking features |
Next Steps
- Start with Musl + Alpine builds and measure size baseline.
- Apply
strip
+UPX
and test functionality. - Audit dependencies for non-essential bloat.
Would you like a prototype Dockerfile or build script to test this?
Please, fill all relevant items:
I have read CONTRIBUTING.rst
I have tried with the latest pre-release version and I still can reproduce the issue.
Tribler version/branch+revision:
Operating system and version:
Steps to reproduce the behavior:
Expected behavior:
Actual behavior:
Relevant log file output:
The text was updated successfully, but these errors were encountered: