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

Yangyu Chen cyy at cyyself.name
Thu Dec 4 17:00:57 GMT 2025


Package: llvm-bolt
Version: 1:19.0-63
Severity: important

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


-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64

Kernel: Linux 6.17.9+deb14-amd64 (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages llvm-bolt depends on:
ii  bolt-19  1:19.1.7-18

llvm-bolt recommends no packages.

llvm-bolt suggests no packages.

-- debconf-show failed



More information about the Pkg-llvm-team mailing list