Skip to content

Conversation

@ntkme
Copy link
Contributor

@ntkme ntkme commented Oct 20, 2024

This PR replaces qemu-user-static binaries distributed by tonistiigi/binfmt with fedora distributed ones.

To properly run android riscv64 QEMU >= 8.2.0 is needed, but tonistiigi/binfmt:master has been stuck at QEMU 8.1.5 for a very long time (8.2.0 was released on 20 Dec 2023): tonistiigi/binfmt#197. Instead, current stable fedora 40 has QEMU 8.2.7 and upcoming fedora 41 has QEMU 9.1.0. Both version runs dart for android riscv64 without issues.

In addition, the new QEMU version fixed the bug that dart arm linux-musl would get stuck, so that this PR changes it back to run all linux builds with QEMU for simplicity.

Although dart-sdk still has no support for cross compiling AOT snapshot, with this PR we would reach complete coverage for AOT on all supported platforms.

@ntkme
Copy link
Contributor Author

ntkme commented Oct 20, 2024

Screenshot 2024-10-20 at 2 16 33 PM

@jathak jathak self-requested a review October 21, 2024 20:39
@jathak jathak merged commit 37a05f9 into sass:main Oct 23, 2024
38 checks passed
@ntkme ntkme deleted the android-riscv64-aot branch October 23, 2024 21:07
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