-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
OpenSSL 3 for armv5 #6025
OpenSSL 3 for armv5 #6025
Conversation
@th0ma7 while working on an update of stunnel package with update to openssl3, I tried to evaluate the functions imported from libatomic (to probably find a solution by adding the missing functions). But fortunately the build of cross/openssl3 managed to enable OpenSSL threading despite the lack of libatomic. Then stunnel and python311 could be built for ARMv5 and OLD_PPC. So I enabled python311 (and cryptography) for those archs. Probably the build of some cross wheels will fail, but at least we have python311 back. Is there any user watching with an ARMv5 Model (i.e. DS213air, DS213, DS413j, DS112, DS112+, DS212, DS212+, RS212, RS812, DS212j, DS112j, DS111, DS211, DS211+, DS411slim, DS411, RS411, DS211j, DS411j)? |
fdbff29
to
7f7056b
Compare
Overall looking good. What I'm afraid of is the maintainability but I'm ok at giving this a shot. I do have an armv5 so i can give it a try later this week. |
Quick testing this morning, installs fine:
|
@th0ma7 I will have to drop python311 for OLD_PPC_ARCHS (missing c++11 compatible compiler), but will bring back python310 for it (just struggled with #6028) Another issue of OLD_PPC_ARCHS is lacking rust support. This target will be limitted to cryptography 3.3.2. Can you remember why the installation of maturin into crossenv is skipped for ARMv5 archs? |
- enable openssl3 for toolchains lacking libatomic - fixes build of openssl 3.x with threads enabled but without libatomic
- enable build of python311 for ARMv5 and OLD_PPC - enable build of cross/cryptography for ARMv5 - bring back python311 customization for OLD_PPC_ARCHS - adjust patches for python311 and older toolchains
7f7056b
to
424987c
Compare
Is there a python spk that can be triggered as well for armv5? Beat, mercurial or backup options? I could then test it on my old nas. |
The following packages are already triggered to build:
I guess homeassistant will not run on AMRv5 (and would need more than 1h to install). For the others I don't know. If you need another package, I could build it locally. The github action already runs a long time to complete the build. EDIT: |
- beets - borgbackup - mercurial - octoprint - rdiff-backup
…ross/libmicrohttpd
@th0ma7 latest build has now the following packages included:
|
@hgy59 so i did not forgot you... it's just sooo painful installing packages on armv5 ... it takes hours and i forget to check where I left it last night type thing. Just saying, the biggest of all |
- update octroprint - ARMv5 packages are availble again, since SynoCommunity#6025
- update octroprint - ARMv5 packages are availble again, since #6025
Description
python311 and stunnel packages require OpenSSL 3 built with threading (OPENSSL_THREADS).
This can be resolved without the need of libatomic (that is missing for ARMv5_ARCHS and OLD_PPC_ARCHS).
This is achieved by patching openssl configurations to ommit the use of libatomic dependency.
Checklist
all-supported
completed successfullyType of change