-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
Closed
Labels
OS-unsupportedbuildThe build process and cross-buildThe build process and cross-buildinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
Bug description:
When building environments without thread local support, this build failure occurs:
~/cpython-3.13.1/Python/import.c:750: error: argument of type "PyMutex" is incompatible with parameter of type "PyThread_type_lock"
PyThread_acquire_lock(EXTENSIONS.mutex, WAIT_LOCK);
^
~/cpython-3.13.1/Python/import.c:760: error: argument of type "PyMutex" is incompatible with parameter of type "PyThread_type_lock"
PyThread_release_lock(EXTENSIONS.mutex);
^
~/cpython-3.13.1/Python/import.c:769: error: argument of type "PyMutex" is incompatible with parameter of type "PyThread_type_lock"
PyThread_acquire_lock(EXTENSIONS.mutex, WAIT_LOCK);
^
~/cpython-3.13.1/Python/import.c:774: error: argument of type "PyMutex" is incompatible with parameter of type "PyThread_type_lock"
PyThread_release_lock(EXTENSIONS.mutex);
The issue is caused by incomplete change introduced with the commit 628f6eb from the PR #112207.
CPython versions tested on:
3.13
Operating systems tested on:
Other
Linked PRs
Metadata
Metadata
Assignees
Labels
OS-unsupportedbuildThe build process and cross-buildThe build process and cross-buildinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Projects
Status
Done