Message274819
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. |
|
Date |
User |
Action |
Args |
2016-09-07 15:21:43 | sarterm | set | recipients:
+ sarterm |
2016-09-07 15:21:43 | sarterm | set | messageid: <1473261703.53.0.692891859324.issue28000@psf.upfronthosting.co.za> |
2016-09-07 15:21:43 | sarterm | link | issue28000 messages |
2016-09-07 15:21:43 | sarterm | create | |
|