Bug 2367960
| Summary: | rustc 1.87.0 panics while compiling rust-hyper-util on ppc64le | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Ben Beasley <code> |
| Component: | rust | Assignee: | Josh Stone <jistone> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | amulhern, decathorpe, fedora, igor.raits, jchecahi, jistone, paumurph, rust-sig, TicoTimo |
| Target Milestone: | --- | Flags: | jistone:
mirror+
|
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | rust-1.89.0-4.fc44 | Doc Type: | --- |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2025-08-18 22:21:12 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2366643 | ||
|
Description
Ben Beasley
2025-05-22 10:43:46 UTC
A very similar-looking ppc64le-only panic was spotted in Koschei for rust-metrics-exporter-prometheus: https://koschei.fedoraproject.org/build/20568549 There's not only panics, but also straight up segfaults in librust_driver on ppc64le: error: rustc interrupted by SIGSEGV, printing backtrace /lib64/librustc_driver-bbe9c34a8516c373.so(+0xfa6bac) [0x7fff7f1a6bac] linux-vdso64.so.1(__kernel_sigtramp_rt64+0x0) [0x7fff83500484] /lib64/librustc_driver-bbe9c34a8516c373.so(_RNvXs1_NtCslTQcjdwlyaw_14rustc_borrowck10type_checkNtB5_11TypeCheckerNtNtNtCs8YddYaRJ3vC_12rustc_middle3mir5visit7Visitor10visit_body+0xbf00) [0x7fff8095ca60] (...) note: we would appreciate a report at https://github.com/rust-lang/rust help: you can increase rustc's stack size by setting RUST_MIN_STACK=16777216 note: backtrace dumped due to SIGSEGV! resuming signal error: could not compile `tokio-stream` (lib) from https://koschei.fedoraproject.org/build/20573346 1.87.0-1 has been untagged from rawhide and eln, and we hadn't submitted f41 and f42 to bodhi at all yet. Jesus also tried a scratch build with ppc64le PGO disabled, and that build looks better at first glance, but I will investigate more before we try to push out a new build. I disabled ppc64le PGO in 1.87.0-2.fc43, and so far it looks good in koschei, as well as my own scratch builds for these particular packages: rust-hyper-util: https://koji.fedoraproject.org/koji/taskinfo?taskID=133281625 rust-tokio: https://koji.fedoraproject.org/koji/taskinfo?taskID=133281626 I'm going to leave this open though, because we haven't actually found the underlying bug yet. I investigated this and found it to be an llvm codegen bug already reported as https://github.com/llvm/llvm-project/issues/138208, and fixed upstream. The LLVM fix has been backported -- I'll try re-enabling ppc64le PGO and see how these go. PGO is back on in rust-1.89.0-4.fc44, and these scratch builds passed: rust-hyper-util: https://koji.fedoraproject.org/koji/taskinfo?taskID=136214151 rust-tokio: https://koji.fedoraproject.org/koji/taskinfo?taskID=136214170 |