New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
multiprocessing does not compile on systems which do not define sem_timedwait #48126
Comments
Compiling Adding the following line to multiprocessing.c solves the problem:
#include <sys/uio.h> But right after I got: It looks like multiprocessing is using a function that is not defined in According to this page, some other systems don't have this function: |
When trying to build Python 2.6 on AIX 5.2 the following error message: (
./Modules/ld_so_aix xlc_r -bI:Modules/python.exp build/temp.aix-5.2- |
Here is a small patch that lets me build on AIX 5.2. |
I confirm build failure on NetBSD 4.0.1 (latest stable) - but *** WARNING: renaming "_multiprocessing" since importing it failed: system: NetBSD 4.0.1 (i386) |
Similarly, compile fails on Solaris 9 due to lack of sem_timedwait() |
Similar to aix-patch, I enclose what I did for compilation These differ slightly to the aix ones, but I don't know if the |
For info: I have no problem compiling _multiprocessing and passing the unittest test_multiprocessing with py3k rev84631 on AIX 6.1 with xlc_r compiler without the patch proposed here. I don't know if this is due to some updates in Python (3.2alpha2+) or AIX (6.1). |
What is the status of this issue? There are several platform listed here, which I unfortunately don't have access to. |
On OpenBSD 5.2 this is fixed. The AIX buildbot looks okay and I doubt |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: