-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Stable 2.0.22 - Android with r11 and r12 NDK - missing arc4random_addrandom #370
Comments
I will look over this tonight. |
This solve problem for me. Thanks @smarek |
This is something we have to workaround in Mozilla code too. Would be great if this could be included in 2.1.x eventually. |
Refs: android/ndk#48 |
Can somebody post here detailed reports? For latest libevent - 26f416c |
@smarek I fixed this (you can take a look into attached patch), it a little bit differs from your patch:
|
@smarek can you try 2.1? |
From:
|
Looks cool, will ressurrect the project over the upcoming weekend, and give out test results. Thank you @azat |
@smarek any news? |
hey @azat , yup, I've tried, just pushed my prepared update to https://github.com/smarek/android-unbound-dns/tree/development What is not working currently, there is no way to use pre-compiled openssl (1.0.2k currently) with libevent, as configure accepts only "--enable-openssl / --disable-openssl" and not something like "--with-ssl /absolute/path/to/openssl-1.0.2k/build/" Could you advise? Thank you! |
Ok, that fixed the issue, with no patch applied, libevent compiled correctly against Android sysroot I consider this ticket to be done. Close if you will. |
Great, thanks for checking it! |
Hi,
i had to solve the issue, where arc4random_addrandom is not checked to be available, when building https://github.com/smarek/android-unbound-dns for Android with NDK versions r11 and r12 (this function was effectivelly never implemented, but was falsely visible as available in r10 and lower)
Would you consider adding this in the 2.0.23 stable, if it will be ever released?
Original patch file can be found here: https://github.com/smarek/android-unbound-dns/blob/master/libevent-2.0.22-stable.patch
The text was updated successfully, but these errors were encountered: