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
Previously the module would fail to load because the ``alloca`` symbol
was undefined. Now we check for GCC/Clang builtins for systems who do
not define ``alloca`` in headers.
AA-Turner
changed the title
_ctypes fails to import on NetBSD due to a missing alloca symbol
_ctypes fails to import on NetBSD due to a missing alloca symbol
May 22, 2025
Previously the module would fail to load because the ``alloca`` symbol
was undefined. Now we check for GCC/Clang builtins for systems who do
not define ``alloca`` in headers.
Previously the module would fail to load because the ``alloca`` symbol
was undefined. Now we check for GCC/Clang builtins for systems who do
not define ``alloca`` in headers.
Previously the module would fail to load because the `alloca()` symbol
was undefined. Now we check for GCC/Clang builtins for systems who do
not define `alloca()` in headers.
Uh oh!
There was an error while loading. Please reload this page.
Bug report
Bug description:
After running
./configure && gmake
on a NetBSD 10 machine, the build finishes with the following warning:This is due to an incomplete check for alloca in the
_ctypes.h
module.CPython versions tested on:
CPython main branch
Operating systems tested on:
Other
Linked PRs
The text was updated successfully, but these errors were encountered: