Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

_ctypes fails to import on NetBSD due to a missing alloca symbol #134486

Copy link
Copy link
Open
@collinfunk

Description

@collinfunk
Issue body actions

Bug report

Bug description:

After running ./configure && gmake on a NetBSD 10 machine, the build finishes with the following warning:

Written build/lib.netbsd-10.0-evbarm-3.15/_sysconfigdata__netbsd10_.py
Written build/lib.netbsd-10.0-evbarm-3.15/_sysconfig_vars__netbsd10_.json
./python -E -c 'import sys ; from sysconfig import get_platform ; print("%s-%d.%d" % (get_platform(), *sys.version_info[:2]))' >platform
./python -E ./Tools/build/generate-build-details.py `cat pybuilddir.txt`/build-details.json
[ERROR] _ctypes failed to import: /home/collinfunk/cpython/build/lib.netbsd-10.0-evbarm-3.15/_ctypes.cpython-315.so: Undefined PLT symbol "alloca" (symnum = 48)

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.