Skip to content
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

Endianness of Android ARM64 / MIPS64 #5

Open
ateska opened this issue Oct 31, 2016 · 1 comment
Open

Endianness of Android ARM64 / MIPS64 #5

ateska opened this issue Oct 31, 2016 · 1 comment

Comments

@ateska
Copy link

ateska commented Oct 31, 2016

I see several '-DB_ENDIAN' in the build script, especially in ARM64 and MIPS64 sections.
I doubt that it is correct since Android in obviously always little-endian.
See http://stackoverflow.com/questions/6212951/endianness-of-android-ndk

I actually ran into a practical errors with OpenSSL, getting very weird error code from a OpenSSL server about incoming connection from Android ARM64 OpenSSL client code built using this script. The issue can be backtracked to an incorrect endianness of OpenSSL.

Funny enough, I see this or similar script in a lot of repositories and I'm wondering if I'm the only person who noticed that.

@paulo-raca
Copy link

I just noticed it myself.

I've made a pull request, but in the meantime you can use my fixed branch: https://github.com/paulo-raca/android-openssl/tree/master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants