This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author aab@purdue.edu
Recipients aab@purdue.edu
Date 2014-12-17.05:37:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1418794673.39.0.221318823729.issue23072@psf.upfronthosting.co.za>
In-reply-to
Content
python-2.7.9/Modules/_multiprocessing/multiprocessing.c
python-2.7.9/Modules/_multiprocessing/semaphore.c

The compile lines for the above two files have "-DHAVE_SEM_OPEN=1 -DHAVE_FD_TRANSFER=1 -DHAVE_SEM_TIMEDWAIT=0" in them.  The cpp code in those files uses "#ifdef" and "#ifndef" with those symbols commensurate with the #define/#undef commands used in 'pyconfig.h'. In my case, the biggest problem is the "-DHAVE_SEM_TIMEDWAIT=0" which DEFINES that symbol so that the "#ifndef HAVE_SEM_TIMEDWAIT" in semaphore.c fails to do what the coder wanted.  Being very lazy, I just hacked the files to use "#if SYMBOL" and "#if ! SYMBOL".  Worked fine.

Solaris 2.8
Studio 11 Compiler Suite

--  Thanks,
--    aab
History
Date User Action Args
2014-12-17 05:37:53aab@purdue.edusetrecipients: + aab@purdue.edu
2014-12-17 05:37:53aab@purdue.edusetmessageid: <1418794673.39.0.221318823729.issue23072@psf.upfronthosting.co.za>
2014-12-17 05:37:53aab@purdue.edulinkissue23072 messages
2014-12-17 05:37:53aab@purdue.educreate