When testing python3.14 with --enable-bolt and BuildRequires of llvm-bolt the instrumentation fails with: BOLT-ERROR: library not found: /usr/lib/libbolt_rt_instr.a This happens on Rawhide where Bolt is now being built from the llvm dist-git. On Fedora 41 where Bolt is built through its own dist-git sources the issue is not present. Reproducible: Always
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
Test: https://src.fedoraproject.org/tests/llvm/pull-request/43
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.