Skip to content

gcm_context size mismatch for target i686-linux-android #299

Open
@osobiehl

Description

@osobiehl

I am trying to compile for the i686-linux-android target. However, it looks like there is a mismatch between the size of structs between the generated gcm_context struct and __SIZE_OF_GCM_CONTEXT.

Here is a quick overview of the build script I am using (NDK_HOME) is the path to android-ndk on system

export CFLAGS="--sysroot ${NDK_HOME}/toolchains/llvm/prebuilt/linux-x86_64/sysroot"
export TARGET_AR="${NDK_HOME}/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-ar"
export CC_i686_linux_android="${NDK_HOME}/toolchains/llvm/prebuilt/linux-x86_64/bin/i686-linux-android27-clang"
cargo build --target i686-linux-android --release

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions