Author vstinner
Recipients corona10, pablogsal, serhiy.storchaka, shihai1991, vstinner
Date 2020-11-17.17:35:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1605634503.94.0.883674615563.issue41625@roundup.psfhosted.org>
In-reply-to
Content
I reopen the issue. This issue broke Python compilation on AIX.

https://buildbot.python.org/all/#/builders/302/builds/377

configure: "checking for splice... yes"

"./Modules/posixmodule.c", line 15146.53: 1506-045 (S) Undeclared identifier SPLICE_F_MOVE.
"./Modules/posixmodule.c", line 15147.57: 1506-045 (S) Undeclared identifier SPLICE_F_NONBLOCK.
"./Modules/posixmodule.c", line 15148.53: 1506-045 (S) Undeclared identifier SPLICE_F_MORE.

make: 1254-004 The error code from the last command is 1.


The code:

/* constants for splice */
#ifdef HAVE_SPLICE
    if (PyModule_AddIntConstant(m, "SPLICE_F_MOVE", SPLICE_F_MOVE)) return -1;
    if (PyModule_AddIntConstant(m, "SPLICE_F_NONBLOCK", SPLICE_F_NONBLOCK)) return -1;
    if (PyModule_AddIntConstant(m, "SPLICE_F_MORE", SPLICE_F_MORE)) return -1;
#endif
History
Date User Action Args
2020-11-17 17:35:03vstinnersetrecipients: + vstinner, serhiy.storchaka, corona10, pablogsal, shihai1991
2020-11-17 17:35:03vstinnersetmessageid: <1605634503.94.0.883674615563.issue41625@roundup.psfhosted.org>
2020-11-17 17:35:03vstinnerlinkissue41625 messages
2020-11-17 17:35:03vstinnercreate