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 muhzi
Recipients Alex.Willmer, christian.heimes, muhzi, xdegaye
Date 2019-03-02.11:55:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1551527755.21.0.808993587261.issue36162@roundup.psfhosted.org>
In-reply-to
Content
Yes it is detected by configure because they exist.

From config.log:

configure:11514: checking for truncate
configure:11514: armv7a-linux-androideabi21-clang -o conftest   -pie -march=armv7-a -Wl,--fix-cortex-a8 conftest.c -ldl  >&5
configure:11514: $? = 0
configure:11514: result: yes


I can include the corresponding headers in a separate test file and call these missing methods and I get no compilation errors. But it seems they don't work in posixmodule.c and for some reason when #include <sys/sendfile.h> is put before #include "Python.h", the compiler doesn't give errors for those particular functions. I'm guessing this is an API level < 21 issue, it might have propagated from the configuration step (if any faults) but not sure. I use the same steps to compile this for API level 21 with no errors.
History
Date User Action Args
2019-03-02 11:55:55muhzisetrecipients: + muhzi, christian.heimes, xdegaye, Alex.Willmer
2019-03-02 11:55:55muhzisetmessageid: <1551527755.21.0.808993587261.issue36162@roundup.psfhosted.org>
2019-03-02 11:55:55muhzilinkissue36162 messages
2019-03-02 11:55:55muhzicreate