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

android cross builds are failing on CI with nightly rust #80

Closed
astraw opened this issue Oct 21, 2022 · 3 comments · Fixed by #85 or #87
Closed

android cross builds are failing on CI with nightly rust #80

astraw opened this issue Oct 21, 2022 · 3 comments · Fixed by #85 or #87
Labels
Tier-2 Rust Tier-2 platform

Comments

@astraw
Copy link
Member

astraw commented Oct 21, 2022

Android cross builds are failing on CI with nightly rust. This started between build 351 and build 352 (the macOS failures were another unrelated issue #72 which has now been solved).

The key error from the CI logs seems to be:

aarch64-linux-android/bin/ld: cannot find -lunwind
@Kijewski
Copy link
Collaborator

Kijewski commented Oct 21, 2022

My first instinct was that cross-rs accidentally uploaded a faulty docker image, but no Android image was touched in quite some time: https://github.com/orgs/cross-rs/packages?tab=packages&q=android, so that's not it.

But it looks like only nightly is affected. Could the error be related to rust-lang/rust#103175?

@Kijewski Kijewski added the Tier-2 Rust Tier-2 platform label Oct 21, 2022
@astraw
Copy link
Member Author

astraw commented Oct 21, 2022

I agree that I think the issue is nothing with changes introduced in our repository but rather that rustc nightly or cross during that time. I don't understand enough about the build process to know whether the issue you linked might be relevant. If nothing with cross changed, then indeed I think the issue is something to do with a recent rustc nightly starting about 10 October.

@astraw
Copy link
Member Author

astraw commented Nov 4, 2022

I think rust-lang/rust#103673 is relevant here. I'm not familiar with the android development, so this is mostly beyond me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Tier-2 Rust Tier-2 platform
Projects
None yet
2 participants