GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — _Py_ExecutorDetach undefined when configured with --enable-experimental-jit=yes · Issue #131488 · python/cpython

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

New issue
Copy link
New issue
Copy link
Closed
Closed
_Py_ExecutorDetach undefined when configured with --enable-experimental-jit=yes#131488
Copy link
Labels
type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

@smontanaro
smontanaro
opened on Mar 20, 2025
Issue body actions

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

Activity

  1. smontanaro
    added
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    on Mar 20, 2025
  2. brandtbucher commented on Mar 20, 2025

    @brandtbucher
    brandtbucher
    on Mar 20, 2025
    Member
    More actions

    I have a hunch this is due to the massive header refactoring over in GH-131238. JIT CI probably isn't running on those PRs.

  3. smontanaro commented on Mar 20, 2025

    @smontanaro
    smontanaro
    on Mar 20, 2025
    ContributorAuthor
    More actions

    I have a hunch this is due to the massive header refactoring over in GH-131238. JIT CI probably isn't running on those PRs.

    Yes, I got that impression skimming git log (without drilling down on the exact cause). It's no big deal for me. Just reporting the issue.

  4. smontanaro commented on Mar 20, 2025

    @smontanaro
    smontanaro
    on Mar 20, 2025
    ContributorAuthor
    More actions

    Seems to be working (compiling and passing tests) once again.

  5. smontanaro
    closed this as completedon Mar 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.