#1121914 BOLT-ERROR: library not found: /usr/local/lib/libbolt_rt_instr.a

Package:
llvm-bolt
Source:
llvm-bolt
Description:
Post-link optimizer
Submitter:
Yangyu Chen
Date:
2025-12-04 19:45:02 UTC
Severity:
normal
#1121914#5
Date:
2025-12-04 17:00:57 UTC
From:
To:
The llvm-bolt package does not build with LIBBOLT_RT_INSTR on
/usr/lib/llvm-${LLVM_VERSION}/lib/libbolt_rt_instr.a, result in llvm-bolt
failed with --instrument.

Here is a shell script to reproduce the bug:

#!/usr/bin/env bash
echo "int main() { return 0;}" > /tmp/test.cpp && \
clang++ /tmp/test.cpp -o /tmp/test -Wl,--emit-relocs && \
llvm-bolt /tmp/test --instrument -o /tmp/test-instr

#1121914#10
Date:
2025-12-04 19:10:27 UTC
From:
To: