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 <>
I reopen the issue. This issue broke Python compilation on AIX.

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 */
    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;
Date User Action Args
2020-11-17 17:35:03vstinnersetrecipients: + vstinner, serhiy.storchaka, corona10, pablogsal, shihai1991
2020-11-17 17:35:03vstinnersetmessageid: <>
2020-11-17 17:35:03vstinnerlinkissue41625 messages
2020-11-17 17:35:03vstinnercreate