Skip to content

JIT does not build on the main branch #122869

Closed
@ZeroIntensity

Description

@ZeroIntensity

Bug report

Bug description:

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);

Note that this doesn't occur on the 3.13 branch!

CPython versions tested on:

CPython main branch

Operating systems tested on:

Linux

Linked PRs

Metadata

Metadata

Assignees

Labels

buildThe build process and cross-buildtopic-JITtype-bugAn unexpected behavior, bug, or error

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions