Bug 1562189

Summary: run-make/intrinsic-unreachable fails in s390x
Product: DevTools Reporter: Edjunior Barbosa Machado <emachado>
Component: rustAssignee: Josh Stone <jistone>
Status: CLOSED ERRATA QA Contact: Edjunior Barbosa Machado <emachado>
Severity: unspecified Docs Contact: Vladimír Slávik <vslavik>
Priority: unspecified    
Version: rust-toolset-7CC: jcajka, jistone, kanderso, k.techcrazee, law, sbharadw, tstellar, vslavik
Target Milestone: rc   
Target Release: 2018.4   
Hardware: s390x   
OS: Unspecified   
Whiteboard:
Fixed In Version: rust-toolset-1.29-rust-1.27.1-1.el7 Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-13 15:24:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Edjunior Barbosa Machado 2018-03-29 18:08:27 UTC
Description of problem:
test run-make/intrinsic-unreachable from rust internal testsuite fails on both rhel-7.5 and rhel-alt-7.5 in s390x.
The testcase runs successfully in other archs.

Version-Release number of selected component (if applicable):
rust-toolset-7-rust-1.24.0-1.el7

How reproducible:
100%

Steps to Reproduce:
1. rpmbuild --rebuild rust-toolset-7-rust-1.24.0-1.el7.src.rpm

Actual results:
(...)
test [run-make] run-make/intrinsic-unreachable ... FAILED
(...)
---- [run-make] run-make/intrinsic-unreachable stdout ----
        
error: make failed
status: exit code: 2
command: "make"
stdout:
------------------------------------------
make[1]: Entering directory `/root/rpmbuild/BUILD/rustc-1.24.0-src/src/test/run-make/intrinsic-unreachable'
LD_LIBRARY_PATH="/root/rpmbuild/BUILD/rustc-1.24.0-src/build/s390x-unknown-linux-gnu/test/run-make/intrinsic-unreachable.stage2-s390x-unknown-linux-gnu:/root/rpmbuild/BUILD/rustc-1.24.0-src/build/s390x-unknown-linux-gnu/stage2/lib:/root/rpmbuild/BUILD/rustc-1.24.0-src/build/s390x-unknown-linux-gnu/stage0-tools/s390x-unknown-linux-gnu/release/deps:/root/rpmbuild/BUILD/rustc-1.24.0-src/build/s390x-unknown-linux-gnu/stage0-sysroot/lib/rustlib/s390x-unknown-linux-gnu/lib:/opt/rh/llvm-toolset-7/root/usr/lib64:/opt/rh/rust-toolset-7/root/usr/lib64" '/root/rpmbuild/BUILD/rustc-1.24.0-src/build/s390x-unknown-linux-gnu/stage2/bin/rustc' --out-dir /root/rpmbuild/BUILD/rustc-1.24.0-src/build/s390x-unknown-linux-gnu/test/run-make/intrinsic-unreachable.stage2-s390x-unknown-linux-gnu -L /root/rpmbuild/BUILD/rustc-1.24.0-src/build/s390x-unknown-linux-gnu/test/run-make/intrinsic-unreachable.stage2-s390x-unknown-linux-gnu  -O --emit asm exit-ret.rs
LD_LIBRARY_PATH="/root/rpmbuild/BUILD/rustc-1.24.0-src/build/s390x-unknown-linux-gnu/test/run-make/intrinsic-unreachable.stage2-s390x-unknown-linux-gnu:/root/rpmbuild/BUILD/rustc-1.24.0-src/build/s390x-unknown-linux-gnu/stage2/lib:/root/rpmbuild/BUILD/rustc-1.24.0-src/build/s390x-unknown-linux-gnu/stage0-tools/s390x-unknown-linux-gnu/release/deps:/root/rpmbuild/BUILD/rustc-1.24.0-src/build/s390x-unknown-linux-gnu/stage0-sysroot/lib/rustlib/s390x-unknown-linux-gnu/lib:/opt/rh/llvm-toolset-7/root/usr/lib64:/opt/rh/rust-toolset-7/root/usr/lib64" '/root/rpmbuild/BUILD/rustc-1.24.0-src/build/s390x-unknown-linux-gnu/stage2/bin/rustc' --out-dir /root/rpmbuild/BUILD/rustc-1.24.0-src/build/s390x-unknown-linux-gnu/test/run-make/intrinsic-unreachable.stage2-s390x-unknown-linux-gnu -L /root/rpmbuild/BUILD/rustc-1.24.0-src/build/s390x-unknown-linux-gnu/test/run-make/intrinsic-unreachable.stage2-s390x-unknown-linux-gnu  -O --emit asm exit-unreachable.rs
test `wc -l < /root/rpmbuild/BUILD/rustc-1.24.0-src/build/s390x-unknown-linux-gnu/test/run-make/intrinsic-unreachable.stage2-s390x-unknown-linux-gnu/exit-unreachable.s` -lt `wc -l < /root/rpmbuild/BUILD/rustc-1.24.0-src/build/s390x-unknown-linux-gnu/test/run-make/intrinsic-unreachable.stage2-s390x-unknown-linux-gnu/exit-ret.s`
make[1]: Leaving directory `/root/rpmbuild/BUILD/rustc-1.24.0-src/src/test/run-make/intrinsic-unreachable'

------------------------------------------
stderr:
------------------------------------------
make[1]: *** [all] Error 1

------------------------------------------

thread '[run-make] run-make/intrinsic-unreachable' panicked at 'explicit panic', tools/compiletest/src/runtest.rs:2788:9
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
stack backtrace:
   0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
             at libstd/sys/unix/backtrace/tracing/gcc_s.rs:49
   1: std::sys_common::backtrace::print
             at libstd/sys_common/backtrace.rs:68
             at libstd/sys_common/backtrace.rs:57
   2: std::panicking::default_hook::{{closure}}
             at libstd/panicking.rs:381
   3: std::panicking::default_hook
             at libstd/panicking.rs:391
   4: std::panicking::rust_panic_with_hook
             at libstd/panicking.rs:577
   5: std::panicking::begin_panic
   6: compiletest::runtest::ProcRes::fatal
   7: compiletest::runtest::TestCx::fatal_proc_rec
   8: compiletest::runtest::TestCx::run_revision
   9: compiletest::runtest::run
  10: <F as alloc::boxed::FnBox<A>>::call_box
  11: <F as alloc::boxed::FnBox<A>>::call_box
             at libtest/lib.rs:1443
             at ./src/liballoc/boxed.rs:815
  12: __rust_maybe_catch_panic
             at libpanic_unwind/lib.rs:101

Comment 2 Josh Stone 2018-04-10 01:31:36 UTC
This test does not fail upstream, nor did it fail on Fedora 28 or rawhide.  Those are all using LLVM 6.  It did fail on Fedora 27 with LLVM 5 and on Fedora 26 with LLVM 4.

Comment 9 errata-xmlrpc 2018-11-13 15:24:31 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2018:3584

Comment 10 karantc 2022-04-07 05:21:50 UTC
FRIENDS & CHAT is a Steam feature that most players have come to rely on for quick chats and staying up to date. However, every now and then, the menu will not load and display the perplexing Steam Friends Network Unreachable error.
https://techcrazee.com/how-to-fix-steam-friends-network-unreachable-error/