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 sarterm
Recipients sarterm
Date 2016-09-07.15:21:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1473261703.53.0.692891859324.issue28000@psf.upfronthosting.co.za>
In-reply-to
Content
Python build fails on AIX when using the _LINUX_SOURCE_COMPAT flag.

When using this flag, the gethostbyname_r subroutine has 6 parameters instead of 3, like on Linux, but Modules/socketmodule.c always expects a gethostbyname_r subroutine with only 3 parameters on AIX.

The attached patch allows to build with this flag. It has been tested for Python 3.5.1 and 3.5.2 with GCC and XLC compilers.
History
Date User Action Args
2016-09-07 15:21:43sartermsetrecipients: + sarterm
2016-09-07 15:21:43sartermsetmessageid: <1473261703.53.0.692891859324.issue28000@psf.upfronthosting.co.za>
2016-09-07 15:21:43sartermlinkissue28000 messages
2016-09-07 15:21:43sartermcreate