You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In file included from Python/ceval.c:786:
Python/generated_cases.c.h:4934:13: error: use of undeclared label 'error'
4934 | GOTO_TIER_TWO(executor);
| ^
Python/ceval_macros.h:398:14: note: expanded from macro 'GOTO_TIER_TWO'
398 | goto error; \
| ^
In file included from Python/ceval.c:786:
Python/generated_cases.c.h:6968:25: error: use of undeclared label 'error'
6968 | GOTO_TIER_TWO(executor);
| ^
Python/ceval_macros.h:398:14: note: expanded from macro 'GOTO_TIER_TWO'
398 | goto error; \
| ^
2 errors generated.
make[2]: *** [Makefile:3116: Python/ceval.o] Fehler 1
Performing the build without the --with-tail-call-interp option results in the following error instead:
(the error was caused by me failing to configure the LLVM version properly)
The system used is running MX Linux (based on Debian 12.9) with Clang 19 provided by the packages from LLVM and building succeeds with the following options (default compiler is gcc 12.2.0):
It seems that the error produced without --with-tail-call-interp is caused by the configure script confusing multiple LLVM installs.
I am trying to get it to choose the right version of llvm-ar but I am still not sure what is causing the error when building with the tail call interpreter enabled.
Deric-W
changed the title
building 3.14.0a5 from source fails when using clang-19
building 3.14.0a5 with tail-call interpreter from source fails when using clang-19
Feb 12, 2025
Thank you for your response, I my excitement over the new interpreter I might have missed this information.
Building without the JIT works, thanks for your work on making CPython faster :)
Bug report
Bug description:
Building the 3.14.0a5 tarball provided by python.org fails when enabling the following options:
The result is the following compilation error:
Performing the build without the--with-tail-call-interp
option results in the following error instead:(the error was caused by me failing to configure the LLVM version properly)
The system used is running MX Linux (based on Debian 12.9) with Clang 19 provided by the packages from LLVM and building succeeds with the following options (default compiler is gcc 12.2.0):
CPython versions tested on:
3.14
Operating systems tested on:
Linux
The text was updated successfully, but these errors were encountered: