Author vstinner
Recipients Michael.Felt, corona10, miss-islington, pablogsal, serhiy.storchaka, shihai1991, vstinner
Date 2020-11-26.14:51:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> ./Modules/posixmodule.c:10429:15: error: implicit declaration of function 'splice'; did you mean 'plock'? [-Werror=implicit-function-declaration]

Is it possible that posixmodule.c lacks an #include to get the function on AIX?

On AIX 7.1, man splice says:

       #include <sys/types.h>
       #include <sys/socket.h>
       int splice(socket1, socket2, flags)
       int socket1, socket2;
       int flags;

posixmodule.c doesn't include it on AIX:

#if defined(__FreeBSD__) || defined(__DragonFly__) || defined(__APPLE__)
#    include <sys/socket.h>
#  endif

Michael: Would you mind to try building the master branch of Python with attached socket.patch? (on the worker where Python no longer builds)
Date User Action Args
2020-11-26 14:51:06vstinnersetrecipients: + vstinner, serhiy.storchaka, Michael.Felt, corona10, pablogsal, miss-islington, shihai1991
2020-11-26 14:51:06vstinnersetmessageid: <>
2020-11-26 14:51:06vstinnerlinkissue41625 messages
2020-11-26 14:51:06vstinnercreate