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 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 <1606402266.09.0.213668651219.issue41625@roundup.psfhosted.org>
In-reply-to
Content
> ./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__)
#  ifdef HAVE_SYS_SOCKET_H
#    include <sys/socket.h>
#  endif
#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)
History
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: <1606402266.09.0.213668651219.issue41625@roundup.psfhosted.org>
2020-11-26 14:51:06vstinnerlinkissue41625 messages
2020-11-26 14:51:06vstinnercreate