-
-
Notifications
You must be signed in to change notification settings - Fork 33.2k
Closed
Labels
buildThe build process and cross-buildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
Bug description:
I downloaded the source package from Python.org today and encountered an error when enabling BOLT optimisation:
$ sudo apt install llvm-bolt llvm-bolt-dev libbolt-dev
$ ./configure --enable-optimizations --enable-experimental-jit=yes --enable-bolt
...
BOLT-ERROR: library not found: /usr/lib/libbolt_rt_instr.a
The library file in question was installed by libbolt-dev
, but into /usr/lib/llvm-19/lib/libbolt_rt_instr.a
. Creating a symlink allowed the build to work, beautifully.
$ sudo ln -s /usr/lib/llvm-19/lib/libbolt_rt_instr.a /usr/lib/libbolt_rt_instr.a
$ ./configure --enable-optimizations --enable-experimental-jit=yes --enable-bolt
Success!...
I'm just running Ubuntu 24.10 on an AMD Ryzen 9 7950X3D and have installed LLVM et. al from its default repos.
CPython versions tested on:
3.14
Operating systems tested on:
Linux
Metadata
Metadata
Assignees
Labels
buildThe build process and cross-buildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error