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

bazel: Allow multiple definitions for armeabi android links #2160

Merged

Conversation

keith
Copy link
Member

@keith keith commented Apr 13, 2022

When working on rust support we hit this issue
rust-lang/compiler-builtins#353 which seems to
still be persistent even in the case you have the nightly version
mentioned there. I haven't been able to reproduce the issue in a
separate project, but the core seems to be that both libgcc and rust's
compiler builtins module vendor some float math symbols and both are
included. This change is as scoped as possible so that no real issues
could sneak in with this disabled, which should mostly be covered by
only passing this for the single arch.

Signed-off-by: Keith Smiley [email protected]

When working on rust support we hit this issue
rust-lang/compiler-builtins#353 which seems to
still be persistent even in the case you have the nightly version
mentioned there. I haven't been able to reproduce the issue in a
separate project, but the core seems to be that both libgcc and rust's
compiler builtins module vendor some float math symbols and both are
included. This change is as scoped as possible so that no real issues
could sneak in with this disabled, which should mostly be covered by
only passing this for the single arch.

Signed-off-by: Keith Smiley <[email protected]>
@keith keith marked this pull request as ready for review April 13, 2022 21:27
@keith keith enabled auto-merge (rebase) April 13, 2022 21:28
Copy link
Contributor

@snowp snowp left a comment

Choose a reason for hiding this comment

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

Multiple definitions is a bit scary, but I imagine we'd uncover something that foundational in the emulator tests

@keith keith merged commit a50291a into main Apr 13, 2022
@keith keith deleted the ks/bazel-allow-multiple-definitions-for-armeabi-android-links branch April 13, 2022 22:19
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.

2 participants