Skip to content

Lib atomic is linked dynamically for i686-linux-android target #2163

Open
@Maximkaaa

Description

@Maximkaaa

As stated in the title, when compiling for x86 android target, there are these symbols exported in the compiled binary:

         U __atomic_fetch_or_8
         U __atomic_is_lock_free
         U __atomic_load

This is related to #2043, but it seems that the fix in #2094 doesn't work for all targets. When using openssl-sys = "=0.9.92", libatomic is linked statically and these symbols are not exported. So this seems like a regression in v0.9.93.

I've checked other android targets (x86_64-linux-android, armv7-linux-androidabi, aarch64-linux-android), and for them the lib is linked statically.

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