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

Fix missing __extenddftf2 symbols for x86-64 targets #21

Merged
merged 6 commits into from
Oct 12, 2023
Merged

Conversation

adzialocha
Copy link
Member

@adzialocha adzialocha commented Oct 12, 2023

The new NDK doesn't link to libgcc anymore, which breaks our libraries since they depended on the symbols from libclang_rt.builtins-x86_64-android like __extenddftf2. See bbqsrc/cargo-ndk#94 for details.

The change works around this by manually linking to the libclang_rt.builtins-x86_64-android library in this case.

This change pins the required NDK version to 25.2.9519653 and fixes an issue running the application for x86-64 targets. I'll update our README.md to address that requirement.

@adzialocha adzialocha changed the title Fix missing symbols for x86-64 targets Fix missing __extenddftf2 symbols for x86-64 targets Oct 12, 2023
Copy link
Member

@sandreae sandreae left a comment

Choose a reason for hiding this comment

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

Oh great, nice detective work 👍

We can remove this line from the READEME:

meli/README.md

Lines 126 to 127 in 24519cf

As of the time of writing this functionality is not supported by emulated devices. We recommend only
enabling when running on hardware devices.

Otherwise all good.

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 this pull request may close these issues.

None yet

2 participants