Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAndroid build fails with LLVM error #10517
Comments
|
Error comes from an ARM-specific pass which can have its threshold increased, presumably by setting: RUSTFLAGS="-C llvm-args=-arm-constant-island-max-iteration=100"However, comments indicate this is an extreme case - could you get the output of that |
|
Running
and adding
|
|
Oh, I didn't check the LLVM branch Rust uses, which hardcodes that limit (so the option was added since the last Rust LLVM update). |
|
Looks like https://llvm.org/bugs/show_bug.cgi?id=25339 which has been fixed late February and Rust needs a LLVM update to get the fix. cc @alexcrichton |
|
Ah yeah it should be fine to backport the fix to our LLVM branch (currently 2016-03-13) at the time of this writing. |
|
Just a note, the error also occurred when I tried to cross compile to ARM with |
|
Is someone actively working on the LLVM backport? |
|
Looks like this got fixed, so I'm closing the issue. |
The Android build fails with the following error:
I've tried on multiple systems, on Ubuntu 15.10 and 14.04, using Android NDK r10d. Here's a Travis log: https://travis-ci.org/mmatyas/servo-nightly/jobs/122117906