Bug 2553620
| Summary: | Broken "sext" with Rust 1.99.0 and LLVM 23 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Josh Stone <jistone> |
| Component: | llvm | Assignee: | Tom Stellard <tstellar> |
| Status: | NEW --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | code, decathorpe, dmalcolm, fedora-llvm-team, jakub, jchecahi, jistone, kkleine, npopov, scottt.tw, sergesanspaille, siddharth.kde, suraj.ghimire7, tbaeder, tstellar, tuliom |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | --- | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2550296 | ||
|
Description
Josh Stone
2026-10-15 17:27:45 UTC
There's at least one more affected application: https://koschei.fedoraproject.org/package/rust-sequoia-chameleon-gnupg Status update: I've been working on the backport for this. The PR depends on many other changes for LLVM 24. I'm still working on this and need more time. Thanks for the update. Would temporarily switching rustc back to use LLVM 22 to avoid this issue be an option? As a more targeted workaround, you could use this in the affected packages:
%global build_rustflags %{build_rustflags} -Cno-vectorize-loops
... perhaps only for the specific arch as well.
(It helps that this is a hard error, rather than a silent miscompilation...)
Can confirm that this works as a workaround, thanks! (see https://src.fedoraproject.org/rpms/rust-sequoia-chameleon-gnupg/c/ea00539 ) (In reply to Fabio Valentini from comment #5) > Can confirm that this works as a workaround, thanks! > (see > https://src.fedoraproject.org/rpms/rust-sequoia-chameleon-gnupg/c/ea00539 ) Similarly in python-cramjam[1], rust-libcramjam, and rust-libcramjam0.8. [1] https://src.fedoraproject.org/rpms/python-cramjam/c/9c911bf38f00d01806fe2bbd420e568589da5797?branch=rawhide A fix for this has been merged upstream and is expected to be included in LLVM 23.1.6. https://github.com/llvm/llvm-project/pull/242057 |