Skip to content

_Py_ExecutorDetach undefined when configured with --enable-experimental-jit=yes #131488

Closed
@smontanaro

Description

@smontanaro

Bug report

Bug description:

My latest pull on main (~20:00 Central Daylight Time) broke my typical build. Configuring with no arguments works, but configuring with --enable-experimental-jit=yes causes a compilation error in Object/codeobject.c

gcc -c -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall    -D_Py_TIER2=1 -D_Py_JIT -std=c11 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden -Werror=unguarded-availability  -I./Include/internal -I./Include/internal/mimalloc  -I. -I./Include    -DPy_BUILD_CORE -o Objects/codeobject.o Objects/codeobject.c
Objects/codeobject.c:1700:13: error: call to undeclared function '_Py_ExecutorDetach'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
 1700 |             _Py_ExecutorDetach(co->co_executors->executors[i]);
      |             ^
1 error generated.
make: *** [Objects/codeobject.o] Error 1

CPython versions tested on:

CPython main branch

Operating systems tested on:

macOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions