Bug 2344830
| Summary: | BOLT tries to find libbolt_rt_instr.a in /usr/lib instead of /usr/lib/64 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Charalampos Stratakis <cstratak> |
| Component: | llvm | Assignee: | Nikita Popov <npopov> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | dmalcolm, fedora-llvm-team, jakub, jchecahi, jistone, kkleine, npopov, scottt.tw, sergesanspaille, siddharth.kde, suraj.ghimire7, tbaeder, tstellar, tuliom |
| Target Milestone: | --- | Flags: | npopov:
mirror+
|
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | llvm-19.1.7-8.fc43 llvm-19.1.7-9.fc42 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2025-02-13 18:37:41 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: | |||
|
Description
Charalampos Stratakis
2025-02-11 05:10:22 UTC
I believe this is due to the llvm prefix changes, not the move into the llvm dist-git. Fails: /usr/bin/llvm-bolt a.out -instrument -o a.new.out Works: /usr/lib64/llvm19/bin/llvm-bolt a.out -instrument -o a.new.out It looks like bolt rolled its own GetExecutablePath which does not resolve symlinks, instead of using getMainExecutable(). Upstream fix: https://github.com/llvm/llvm-project/pull/126698 FEDORA-2025-7417399329 (llvm-19.1.7-8.fc43) has been submitted as an update to Fedora 43. https://bodhi.fedoraproject.org/updates/FEDORA-2025-7417399329 FEDORA-2025-7417399329 (llvm-19.1.7-8.fc43) has been pushed to the Fedora 43 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2025-638e130cc7 (llvm-19.1.7-9.fc42) has been submitted as an update to Fedora 42. https://bodhi.fedoraproject.org/updates/FEDORA-2025-638e130cc7 FEDORA-2025-638e130cc7 (llvm-19.1.7-9.fc42) has been pushed to the Fedora 42 stable repository. If problem still persists, please make note of it in this bug report. |