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

Use -cpu n270 to run i686-linux-android binaries #170

Merged
merged 1 commit into from
Dec 11, 2017

Conversation

malbarbo
Copy link
Contributor

After the ndk update used to build libstd rust-lang/rust#45580, i686-linux-android binaries stopped working #143. It's seem that the new toolchain is emitting instructions that the default qemu-i386 cpu does not support. Using -cpu n270 (common in android i686 phones), fix the problem.

Fixes #143.

After the ndk update used to build libstd
rust-lang/rust#45580, i686-linux-android
binaries stopped working cross-rs#143.
It's seem that the new toolchain is emitting instructions that the
default qemu-i386 cpu does not support. Using -cpu n270 (common in
android i686 phones), fix the problem.

Fixes cross-rs#143.
@japaric
Copy link
Contributor

japaric commented Dec 11, 2017

Thanks, @malbarbo.

@homunkulus r+

@homunkulus
Copy link
Contributor

📌 Commit 41e27fe has been approved by japaric

@homunkulus
Copy link
Contributor

⌛ Testing commit 41e27fe with merge 5f04770...

japaric pushed a commit that referenced this pull request Dec 11, 2017
Use -cpu n270 to run i686-linux-android binaries

After the ndk update used to build libstd rust-lang/rust#45580, i686-linux-android binaries stopped working #143. It's seem that the new toolchain is emitting instructions that the default qemu-i386 cpu does not support. Using -cpu n270 (common in android i686 phones), fix the problem.

Fixes #143.
@homunkulus
Copy link
Contributor

☀️ Test successful - status-travis
Approved by: japaric
Pushing 5f04770 to master...

@homunkulus homunkulus merged commit 41e27fe into cross-rs:master Dec 11, 2017
@malbarbo malbarbo deleted the fix-i686-android branch October 16, 2018 13:54
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.

cross run --target i686-linux-android doesn't work
3 participants