-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
1.14.0 powerpc64le test failures: smoke_dtor, test_typed_arena_drop_small_count #39015
Comments
Those tests aren't failing on master but they're failing on branch 1.15.0 as well
|
The test
But on release mode it fails:
Seems to me that some optimization is making this test fail. |
I tried a build without the optimization.
output of asm-out-read-uninit as example:
|
The asm tests are just missing |
@er-1 Doing a quick looking on the output you sent, the code is warning a dead code and (maybe) the warning output is not expected since the optimizations should do a dead code elimination:
'smoke_dtor' and |
I've added ignore flags in the related asm test files. I'll let you know how the build goes. |
As said I added the ignore flags in the related asm test files.
And then I'm able to build and test rust on ppc64el :) |
@er-1 I've been meaning to send a pull req to mark those asm tests as ignored on powerpc64* for a while. Thanks for that. Separately, I've been investigating the failure of Here libarena was extracted from 1.15.0 and hacked up a bit to remove the already passing test cases. It shouldn't matter what version it comes from though as it's the optimiser that's failing, and it's still failing with recent nightly I haven't yet looked into the details of |
Ignore ASM tests on powerpc Part of rust-lang#39015
Ignore ASM tests on powerpc Part of rust-lang#39015
Ignore ASM tests on powerpc Part of rust-lang#39015
Following up on my comment above, it seems the |
I began testing against upstream LLVM with the reduced optimisation pipeline. The problem has been resolved in upstream, specifically by commit llvm-mirror/llvm@21c68fa I have created an LLVM tree which backports relevant patches to the rust branch: amboar/llvm@ed2c001, and I didn't put much effort into the backport so it's a complete hatchet-job on @hfinkle's patches. I'll try to clean it up in the next day or so and submit a pull request. |
…4445. It prevents the test to fail on ppc64el at least. Part of rust-lang#39015
Add a reference to the dl library to the Makefile of the test issue-2… …4445. It prevents the test to fail on ppc64el at least. Part of rust-lang#39015
cc me |
So I said last meeting I had a powerpc virtual machine I could test whether LLVM 4.0 really fixes this. Sadly, turns out this machine is not 64-bit powerpc nor it is the low endian one, sadly. |
triage: P-medium Downgrading to P-medium. Blocked on LLVM 4.0 upgrade (#37609). |
llvm 4.0 upgrade has just landed, so this might be fixed/fixable now |
@shahn thanks for the heads-up, I'll try to test this tomorrow |
How did the test go? |
Thanks for testing! Closing. |
Build machine: https://db.debian.org/machines.cgi?host=ppc64el-osuosl-01
Build log: https://buildd.debian.org/status/fetch.php?pkg=rustc&arch=ppc64el&ver=1.14.0%2Bdfsg1-3&stamp=1484057235
Raw build log: https://buildd.debian.org/status/fetch.php?pkg=rustc&arch=ppc64el&ver=1.14.0%2Bdfsg1-3&stamp=1484057235&raw=1
This is after applying #38650 and #38675. The LLVM diff between Debian vs Rust is here.
Note that, because of these failures, the whole-compiler tests (e.g. run-pass etc) have not been run, but they probably also have failures.
Relevant links:
https://github.com/rust-lang/rust/blob/1.14.0/src/librustc_back/target/powerpc64le_unknown_linux_gnu.rs
https://github.com/rust-lang/rust/blob/1.14.0/mk/cfg/powerpc64le-unknown-linux-gnu.mk
The text was updated successfully, but these errors were encountered: