-
Notifications
You must be signed in to change notification settings - Fork 265
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
libressl-3.9.0: build fails for ios #1025
Comments
These should be provided via the compat header. Can you figure out what the apparently existing endian.h contains? portable/include/compat/endian.h Lines 65 to 77 in 55f21a3
Presumably this code needs to be of the form
|
interesting fact is that https://github.com/build-xcframeworks/libressl was not updated for a while, it states that LibreSSL-3.2.4 is supported (which was the latest as the time of creating) I jumped from 3.2.4 to 3.9.0 )) |
so far, 3.7.2 - builds fine (I'll do more checks soon) |
That's because |
+1 any fix on this? |
omg, I forgot about it. |
Yeah, I'm trying to compile 3.9.1 for iOS and failing... |
can you please help us with build steps you take ? we definetly would like to add something like that to CI |
I've just got a bash script to make sure I get the right options:
HOST is set to either aarch64-apple-darwin11 or armv7-ios-darwin11 |
In my case I'm simply using the build-xcframework/libressl script |
In my very first post I asked a question and suggested a solution. How
about you all try to answer it and then we can figure it out?
|
OK, I changed the line to:
And it works for me for iOS, and verified it doesn't screw up macOS (both Intel and ARM) |
On Thu, Apr 18, 2024 at 02:01:18AM -0700, ronaaron wrote:
OK, I changed the line to:
````
#if defined(__APPLE__) && !defined(be16toh)
````
And it works for me for iOS, and verified it doesn't screw up macOS (both Intel and ARM)
Ok, thanks.
That might be a viable approach although I'd prefer to get these HAVE_*
defines set by autotools or cmake right. @busterb could you take a look
please?
|
OSByteOrder.h on macOS does not include the required macro definitions. Applied the fix suggested in libressl/portable#1025. Change-Id: I033fb5f405aed6fb8bcf859ea13bc8d3cb4959f1
I ran build script from https://github.com/build-xcframeworks/libressl
The text was updated successfully, but these errors were encountered: