Open johannesnoordanus opened 4 months ago
Hello!
It seems that you missing llvm-readobj-18
on your system, which is needed for CPython JIT.
Please, read the https://github.com/python/cpython/blob/main/Tools/jit/README.md for more information.
Hello! It seems that you missing
llvm-readobj-18
on your system, which is needed for CPython JIT. Please, read the https://github.com/python/cpython/blob/main/Tools/jit/README.md for more information.
Thanks, I read that and installed llvm-18 as mentioned in the README.md:
Linux
Install LLVM 18 on Ubuntu/Debian:
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh 18
It seems that clang-18 did get installed, but all llvm- tools were missing. I had to issue the following command to get the llvm tools installed:
sudo apt install llvm-18
I think a bug within llvm.sh? Or perhaps llvm.sh isn't compatible with Armbian?
Anyway thanks again, my python 13 build is running now.
Try following your sudo ./llvm.sh 18
with
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-18 100
sudo update-alternatives --set clang /usr/bin/clang-18
sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-18 100
sudo update-alternatives --set clang++ /usr/bin/clang++-18
Bug report
Bug description:
I build Python-3.13.0b1 with configure ./configure --enable-experimental-jit=yes (I also tried adding --enable-optimizations) on Linux orangepi3b 6.8.10-edge-rockchip64 #1 SMP PREEMPT Fri May 17 10:15:12 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux After a while I get a runtime error:
I installed llvm-18 (otherwise I got an error much sooner).
The error lead-up is shown below:
CPython versions tested on:
3.13
Operating systems tested on:
Linux