[New-bugs-announce] [issue35903] Build of posixshmem.c should probe for required OS functions

Neil Schemenauer report at bugs.python.org
Tue Feb 5 17:50:22 EST 2019


New submission from Neil Schemenauer <nas-python at arctrix.com>:

The logic in setup.py that determines if _multiprocessing/posixshmem.c should get built is not very robust.  I think it is better to use autoconfig to probe for the required functions and libraries.  My autoconfig brain cells are a bit fuzzy but I think my patch is correct.

I look for shm_open and shm_unlink.  I also check if librt is required for these functions.

----------
assignee: davin
components: Build
keywords: patch
messages: 334888
nosy: davin, nascheme
priority: normal
severity: normal
stage: patch review
status: open
title: Build of posixshmem.c should probe for required OS functions
type: enhancement
versions: Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35903>
_______________________________________


More information about the New-bugs-announce mailing list