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

Build: Fix OpenSSL on Android x86_64 #1647

Merged
merged 1 commit into from
Oct 9, 2023
Merged

Conversation

hugleo
Copy link
Contributor

@hugleo hugleo commented Aug 9, 2023

ANDROID_ARCH=x86_64 ./kodev release android
ld: error: /home/user/koreader/base/toolchain/android-ndk-r23c/toolchains/llvm/prebuilt/linux-x86_64/lib64/clang/12.0.9/lib/linux/libclang_rt.builtins-x86_64-android.a(udivdi3.c.o) is incompatible with elf_i386 ld: error: /home/user/koreader/base/toolchain/android-ndk-r23c/toolchains/llvm/prebuilt/linux-x86_64/lib64/clang/12.0.9/lib/linux/libclang_rt.builtins-x86_64-android.a(umoddi3.c.o) is incompatible with elf_i386

It was being compiled for x86, not x86_64.


This change is Reviewable

ANDROID_ARCH=x86_64 ./kodev release android
ld: error: /home/user/koreader/base/toolchain/android-ndk-r23c/toolchains/llvm/prebuilt/linux-x86_64/lib64/clang/12.0.9/lib/linux/libclang_rt.builtins-x86_64-android.a(udivdi3.c.o) is incompatible with elf_i386
ld: error: /home/user/koreader/base/toolchain/android-ndk-r23c/toolchains/llvm/prebuilt/linux-x86_64/lib64/clang/12.0.9/lib/linux/libclang_rt.builtins-x86_64-android.a(umoddi3.c.o) is incompatible with elf_i386

It was being compiled for x86, not x86_64.
@NiLuJe NiLuJe changed the title "Fix OpenSSL compilation error for Android x86_64" Build: Fix OpenSSL on Android x86_64 Aug 9, 2023
Copy link
Member

@Frenzie Frenzie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks sensible, this was tested to work? :-)

@NiLuJe NiLuJe merged commit b864466 into koreader:master Oct 9, 2023
2 checks passed
@hugleo hugleo deleted the hugleo-patch-1 branch October 9, 2023 17:48
NiLuJe added a commit to koreader/koreader that referenced this pull request Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants