Skip to content

Endianness of Android ARM64 / MIPS64 #5

@ateska

Description

@ateska

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions