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
Configuring with --enable-experimental-jit and then trying to build causes the following error (same as in #118343):
In file included from Python/optimizer_analysis.c:437:
Python/optimizer_cases.c.h: In function ‘optimize_uops’:
Python/optimizer_cases.c.h:548:23: error: assignment to ‘_PyInterpreterFrame *’ from incompatible pointer type ‘_Py_UopsSymbol *’ [-Wincompatible-pointer-types]
548 | new_frame = sym_new_not_null(ctx);
| ^
Python/optimizer_cases.c.h:1176:23: error: assignment to ‘_PyInterpreterFrame *’ from incompatible pointer type ‘_Py_UopsSymbol *’ [-Wincompatible-pointer-types]
1176 | new_frame = sym_new_not_null(ctx);
Activity
Eclips4 commentedon Aug 9, 2024
I cannot reproduce it on current main.
Eclips4 commentedon Aug 9, 2024
Ah, nevermind. For some reason on macOS it generates warning, not an error:
ZeroIntensity commentedon Aug 9, 2024
What version of GCC are you on?
Eclips4 commentedon Aug 9, 2024
It's not a GCC; it's a clang.
ZeroIntensity commentedon Aug 9, 2024
Oh, ok. I'm on clang 18.1, maybe it's a warning on future (or previous) versions.
Eclips4 commentedon Aug 9, 2024
Can you share flags that are used by compiler? For example:
ZeroIntensity commentedon Aug 9, 2024
aisk commentedon Aug 11, 2024
Hi, I can reproduce the bug on Arch with
./configure --with-pydebug --enable-experimental-jit, and the GCC version is14.2.1.GH-122869: Add missing tier two optimizer cases (GH-122936)
pythonGH-122869: Add missing tier two optimizer cases (pythonGH-122936)