Closed
Description
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
test thread::local::tests::smoke_dtor ... ok
thread '<unnamed>' panicked at 'assertion failed: `(left == right)` (left: `1`, right: `2`)', src/libstd/thread/local.rs:414
stack backtrace:
1: 0x38b1f597 - std::sys::imp::backtrace::tracing::imp::write::h33de6ffd1ea231bf
at /«BUILDDIR»/rustc-1.14.0+dfsg1/src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:42
2: 0x38b691a7 - std::panicking::default_hook::{{closure}}::hcabac60ea7b48baf
at /«BUILDDIR»/rustc-1.14.0+dfsg1/src/libstd/panicking.rs:247
3: 0x38b4b07f - std::panicking::rust_panic_with_hook::h059b28291193443c
at /«BUILDDIR»/rustc-1.14.0+dfsg1/src/libstd/panicking.rs:263
at /«BUILDDIR»/rustc-1.14.0+dfsg1/src/libstd/panicking.rs:451
4: 0x38b4aaf7 - std::panicking::begin_panic::h929be95e04ca164b
at /«BUILDDIR»/rustc-1.14.0+dfsg1/src/libstd/panicking.rs:413
5: 0x38b4a8cf - std::panicking::begin_panic_fmt::ha7d9cbddb8702778
at /«BUILDDIR»/rustc-1.14.0+dfsg1/src/libstd/panicking.rs:397
6: 0x389d70d3 - std::thread::local::tests::smoke_no_dtor::h972e83c12b443a47
at /«BUILDDIR»/rustc-1.14.0+dfsg1/src/libstd/thread/local.rs:414
at /«BUILDDIR»/rustc-1.14.0+dfsg1/src/libstd/thread/local.rs:245
at /«BUILDDIR»/rustc-1.14.0+dfsg1/src/libstd/thread/local.rs:413
7: 0x38b7b587 - <F as test::FnBox<T>>::call_box::he8581d59e8028413
at /«BUILDDIR»/rustc-1.14.0+dfsg1/src/libtest/lib.rs:1265
at /«BUILDDIR»/rustc-1.14.0+dfsg1/src/libtest/lib.rs:141
8: 0x38b6d523 - std::panicking::try::do_call::h83b58d81c874206d
at /«BUILDDIR»/rustc-1.14.0+dfsg1/src/libtest/lib.rs:1211
at /«BUILDDIR»/rustc-1.14.0+dfsg1/src/libstd/panic.rs:295
at /«BUILDDIR»/rustc-1.14.0+dfsg1/src/libstd/panicking.rs:356
9: 0x38bc2c8f - __rust_maybe_catch_panic
at /«BUILDDIR»/rustc-1.14.0+dfsg1/src/libpanic_unwind/lib.rs:97
10: 0x38b6ca5b - std::panicking::try::do_call::h636b19c00d03e824
at /«BUILDDIR»/rustc-1.14.0+dfsg1/src/libstd/panicking.rs:332
at /«BUILDDIR»/rustc-1.14.0+dfsg1/src/libstd/panic.rs:351
at /«BUILDDIR»/rustc-1.14.0+dfsg1/src/libtest/lib.rs:1210
at /«BUILDDIR»/rustc-1.14.0+dfsg1/src/libstd/panic.rs:295
at /«BUILDDIR»/rustc-1.14.0+dfsg1/src/libstd/panicking.rs:356
11: 0x38bc2c8f - __rust_maybe_catch_panic
at /«BUILDDIR»/rustc-1.14.0+dfsg1/src/libpanic_unwind/lib.rs:97
12: 0x38b7499f - <F as alloc::boxed::FnBox<A>>::call_box::h15256864a2eaf226
at /«BUILDDIR»/rustc-1.14.0+dfsg1/src/libstd/panicking.rs:332
at /«BUILDDIR»/rustc-1.14.0+dfsg1/src/libstd/panic.rs:351
at /«BUILDDIR»/rustc-1.14.0+dfsg1/src/libstd/thread/mod.rs:287
at /«BUILDDIR»/rustc-1.14.0+dfsg1/src/liballoc/boxed.rs:595
13: 0x38bb856f - std::sys::imp::thread::Thread::new::thread_start::ha102a6120fc52763
at /«BUILDDIR»/rustc-1.14.0+dfsg1/src/liballoc/boxed.rs:605
at /«BUILDDIR»/rustc-1.14.0+dfsg1/src/libstd/sys_common/thread.rs:21
at /«BUILDDIR»/rustc-1.14.0+dfsg1/src/libstd/sys/unix/thread.rs:84
14: 0x3fff92b3809b - <unknown>
test thread::local::tests::smoke_no_dtor ... FAILED
[..]
test tests::test_typed_arena_zero_sized ... ok
test tests::test_typed_arena_drop_small_count ... FAILED
test tests::test_noncopy ... ok
failures:
---- tests::test_typed_arena_drop_small_count stdout ----
thread 'tests::test_typed_arena_drop_small_count' panicked at 'assertion failed: `(left == right)` (left: `0`, right: `100`)', src/libarena/lib.rs:465
stack backtrace:
1: 0x50fdbe47 - std::sys::imp::backtrace::tracing::imp::write::h917062bce4ff48c3
at /«BUILDDIR»/rustc-1.14.0+dfsg1/src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:42
2: 0x50fe2dc7 - std::panicking::default_hook::{{closure}}::h0bacac31b5ed1870
at /«BUILDDIR»/rustc-1.14.0+dfsg1/src/libstd/panicking.rs:247
3: 0x50fe0003 - std::panicking::default_hook::h5897799da33ece67
at /«BUILDDIR»/rustc-1.14.0+dfsg1/src/libstd/panicking.rs:257
4: 0x50fe0bbb - std::panicking::rust_panic_with_hook::h109e116a3a861224
at /«BUILDDIR»/rustc-1.14.0+dfsg1/src/libstd/panicking.rs:451
5: 0x50fe09b7 - std::panicking::begin_panic::hbb38be1379e09df0
at /«BUILDDIR»/rustc-1.14.0+dfsg1/src/libstd/panicking.rs:413
6: 0x50fe085f - std::panicking::begin_panic_fmt::h26713cea9bce3ab0
at /«BUILDDIR»/rustc-1.14.0+dfsg1/src/libstd/panicking.rs:397
7: 0x50f8fc6b - arena::tests::test_typed_arena_drop_small_count::h4439ca27c88207e8
at /«BUILDDIR»/rustc-1.14.0+dfsg1/src/libarena/lib.rs:465
8: 0x50fa2427 - <F as test::FnBox<T>>::call_box::he8581d59e8028413
at /«BUILDDIR»/rustc-1.14.0+dfsg1/src/libtest/lib.rs:1265
at /«BUILDDIR»/rustc-1.14.0+dfsg1/src/libtest/lib.rs:141
9: 0x50f943c3 - std::panicking::try::do_call::h83b58d81c874206d
at /«BUILDDIR»/rustc-1.14.0+dfsg1/src/libtest/lib.rs:1211
at /«BUILDDIR»/rustc-1.14.0+dfsg1/src/libstd/panic.rs:295
at /«BUILDDIR»/rustc-1.14.0+dfsg1/src/libstd/panicking.rs:356
10: 0x50fe9b2f - __rust_maybe_catch_panic
at /«BUILDDIR»/rustc-1.14.0+dfsg1/src/libpanic_unwind/lib.rs:97
11: 0x50f938fb - std::panicking::try::do_call::h636b19c00d03e824
at /«BUILDDIR»/rustc-1.14.0+dfsg1/src/libstd/panicking.rs:332
at /«BUILDDIR»/rustc-1.14.0+dfsg1/src/libstd/panic.rs:351
at /«BUILDDIR»/rustc-1.14.0+dfsg1/src/libtest/lib.rs:1210
at /«BUILDDIR»/rustc-1.14.0+dfsg1/src/libstd/panic.rs:295
at /«BUILDDIR»/rustc-1.14.0+dfsg1/src/libstd/panicking.rs:356
12: 0x50fe9b2f - __rust_maybe_catch_panic
at /«BUILDDIR»/rustc-1.14.0+dfsg1/src/libpanic_unwind/lib.rs:97
13: 0x50f9b83f - <F as alloc::boxed::FnBox<A>>::call_box::h15256864a2eaf226
at /«BUILDDIR»/rustc-1.14.0+dfsg1/src/libstd/panicking.rs:332
at /«BUILDDIR»/rustc-1.14.0+dfsg1/src/libstd/panic.rs:351
at /«BUILDDIR»/rustc-1.14.0+dfsg1/src/libstd/thread/mod.rs:287
at /«BUILDDIR»/rustc-1.14.0+dfsg1/src/liballoc/boxed.rs:595
14: 0x50fdf40f - std::sys::imp::thread::Thread::new::thread_start::ha102a6120fc52763
at /«BUILDDIR»/rustc-1.14.0+dfsg1/src/liballoc/boxed.rs:605
at /«BUILDDIR»/rustc-1.14.0+dfsg1/src/libstd/sys_common/thread.rs:21
at /«BUILDDIR»/rustc-1.14.0+dfsg1/src/libstd/sys/unix/thread.rs:84
15: 0x3fff8474809b - <unknown>
failures:
tests::test_typed_arena_drop_small_count
test result: FAILED. 12 passed; 1 failed; 0 ignored; 0 measured
/«BUILDDIR»/rustc-1.14.0+dfsg1/mk/tests.mk:423: recipe for target 'tmp/check-stage2-T-powerpc64le-unknown-linux-gnu-H-powerpc64le-unknown-linux-gnu-arena.ok' failed
make[2]: *** [tmp/check-stage2-T-powerpc64le-unknown-linux-gnu-H-powerpc64le-unknown-linux-gnu-arena.ok] Error 101
make[2]: *** Waiting for unfinished jobs....
test sync::mpsc::tests::stress_recv_timeout_two_threads ... ok
failures:
failures:
thread::local::tests::smoke_no_dtor
test result: FAILED. 773 passed; 1 failed; 0 ignored; 0 measured
/«BUILDDIR»/rustc-1.14.0+dfsg1/mk/tests.mk:423: recipe for target 'tmp/check-stage2-T-powerpc64le-unknown-linux-gnu-H-powerpc64le-unknown-linux-gnu-std.ok' failed
make[2]: *** [tmp/check-stage2-T-powerpc64le-unknown-linux-gnu-H-powerpc64le-unknown-linux-gnu-std.ok] Error 101
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
racardoso commentedon Feb 9, 2017
Those tests aren't failing on master but they're failing on branch 1.15.0 as well
racardoso commentedon Feb 13, 2017
The test
tests::test_typed_arena_drop_small_count
seems to works fine running unoptimized~/rust/src/libarena$ ../../build/powerpc64le-unknown-linux-gnu/stage0/bin/cargo test
But on release mode it fails:
~/rust/src/libarena$ rust/build/powerpc64le-unknown-linux-gnu/stage0/bin/cargo test --release
Seems to me that some optimization is making this test fail.
er-1 commentedon Feb 20, 2017
I tried a build without the optimization.
smoke_dtor and test_typed_arena_drop_small_count didn't fail, but then I got 6 new failing tests:
output of asm-out-read-uninit as example:
arielb1 commentedon Feb 20, 2017
The asm tests are just missing
ignore-powerpc
flags or whatever (they already haveignore-arm
etc. - they only work on x86). What's the correct spelling? cc @alexcrichtonracardoso commentedon Feb 20, 2017
@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
typed_arena_drop_small_count
fails withopt-level
equals 2 or greater. I'll try to build withopt-level=1
to see if those tests fails.er-1 commentedon Feb 20, 2017
I've added ignore flags in the related asm test files. I'll let you know how the build goes.
er-1 commentedon Feb 22, 2017
As said I added the ignore flags in the related asm test files.
I also made a little change into src/test/run-make/issue-24445/Makefile:
And then I'm able to build and test rust on ppc64el :)
amboar commentedon Feb 22, 2017
@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
test_typed_arena_drop_small_count
on powerpc64le. It appears to be an issue with the difference between the llvminline
andalways-inline
passes. I've put up a repository to demonstrate the failure: https://github.com/amboar/libarena-ppc64le-small-dropHere 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
rustc
s as well as 1.15.0 itself.I haven't yet looked into the details of
inline
vsalways-inline
but I plan to when I have some time.Ignore ASM tests on powerpc
Rollup merge of rust-lang#40035 - er-1:master, r=alexcrichton
28 remaining items