-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Backtraces broken on s390x #53372
Copy link
Copy link
Closed
Labels
C-bugCategory: This is a bug.Category: This is a bug.O-SystemZTarget: SystemZ processors (s390x)Target: SystemZ processors (s390x)T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.regression-from-stable-to-stablePerformance or correctness regression from one stable version to another.Performance or correctness regression from one stable version to another.
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.O-SystemZTarget: SystemZ processors (s390x)Target: SystemZ processors (s390x)T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.regression-from-stable-to-stablePerformance or correctness regression from one stable version to another.Performance or correctness regression from one stable version to another.
Type
Fields
Give feedbackNo fields configured for issues without a type.
run-pass/backtrace.rsandrun-pass/backtrace-debuginfo.rsare both broken on s390x since Rust 1.28. Whenstdis built without debuginfo, the tests hang with their backtracing processes stuck in a loop. Withstddebuginfo, it fails with<unknown>output like:I believe the problem is this part of #50955:
https://github.com/rust-lang/rust/pull/50955/files#diff-df8879cba69175008878e97cee6d7d91R113
where
target.contains("64")doesn't identify thats390x-unknown-linux-gnuis a 64-bit platform.See also rust-lang/backtrace-rs#122. I plan to update that here when it's published, and make a similar fix in
rust/src/libstd/build.rs.