]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-134486: Fix missing alloca() symbol in _ctypes on NetBSD (#134487)
authorCollin Funk <collin.funk1@gmail.com>
Fri, 23 May 2025 11:11:04 +0000 (04:11 -0700)
committerGitHub <noreply@github.com>
Fri, 23 May 2025 11:11:04 +0000 (13:11 +0200)
commitb8f55266bf873bc101c3aab7aa868b909ecbcb99
tree40c78ba696a81fc42302d816fd4c2a73f4206021
parent99a9ab1c64dce26c0f2dce7621b4d7f75da69856
gh-134486: Fix missing alloca() symbol in _ctypes on NetBSD (#134487)

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.
Misc/NEWS.d/next/Build/2025-05-21-22-13-30.gh-issue-134486.yvdL6f.rst [new file with mode: 0644]
Modules/_ctypes/callbacks.c
Modules/_ctypes/callproc.c
Modules/_ctypes/ctypes.h