-
Notifications
You must be signed in to change notification settings - Fork 204
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
Regression in OpenSSL 3.0.2 vs. 1.1.1 on Android/NDK builds #427
Comments
Those files are auto-generated. These indicate that the change is probably an upstream issue: |
They're not generated upstream, though. |
Sure, but I'd like to first confirm that those platforms are even supported by OpenSSL 3.0 properly before trying to figure out what is wrong in the Meson wrap. |
👋 As of nodejs/node#42616, As for the |
I would love to understand what this means for me, but I think that's more for the others, right? |
I think that means |
The platforms are supported by OpenSSL just fine, to get back to the earlier question. It's node that's introducing the problem, and node isn't part of OpenSSL. I think the right way would be to support OpenSSL without the use of node. Node helps a lot, but it also adds a lot of cruft that isn't needed for OpenSSL compilation. OpenSSL's TL;DR is, I think this is a case of how you adapted OpenSSL biting you, and it's probably worth a re-think. |
From what I understand no one was brave enough to tackle it for a long time and I found an interesting workaround that allows us to have OpenSSL with Meson. If you can improve it or make less hacky I think everyone will be even more happy. |
I understand. I have a ton on my plate for the next few weeks, but since I will need to get NDK builds sooner or later, I think it's something I can tackle then. In the meantime, this has helped me figure things out a bit better, so thank you as well! |
I think I will have to decline working on this. It's not that I really do not want to - it's more that I found a workaround that provides some other benefits as well. Since I wanted to provide packages anyway, I've been looking into conan - and with conan wrapping meson, I can provide the dependencies from conan, and use subprojects only as a fallback/for development purposes. That serves me better in the long run. FWIW, the conan recipe builds OpenSSL just fine on android. But it's also ~750 lines long, and still just wraps OpenSSL's own build system: https://github.com/conan-io/conan-center-index/blob/master/recipes/openssl/3.x.x/conanfile.py |
On very few platforms, namely
linux-armv4
andlinux-ppc
, thegenerated-config
directory contains a reference to anatomic
library in the 3.0.2 version, but not in the 1.1.1 version.The main
meson.build
decides that the Android NDK is Linux, which for most intents and purposes is entirely reasonable. However, the Linux NDK does not provide anatomic
library; therefore, the NDK build breaks for these platforms.As a suggestion, split
openssl_libraries
into required and optional libraries, so that this distinction can be made at compile time.The text was updated successfully, but these errors were encountered: