Did previous versions of Python compile successfully? The RC phase wouldn't be the right time to add support for a new platform.
El mié, 15 sept 2021 a las 10:15, Sandeep Gupta (<[email protected]>) escribió: > I am trying to compile Python3.10rc2 on rather unusual platform (termux on > android). The > gcc version is listed below: > ~ $ g++ -v > clang version 12.0.1 > Target: aarch64-unknown-linux-android24 > Thread model: posix > InstalledDir: /data/data/com.termux/files/usr/bin > > I get following warnings and errors: > Python/pytime.c:398:10: warning: implicit conversion from 'long' to > 'double' changes value from 9223372036854775807 to 9223372036854775808 > [-Wimplicit-const-int-float-conver > sion] > if (!_Py_InIntegralTypeRange(_PyTime_t, d)) { > > Python/bootstrap_hash.c:141:17: error: implicit declaration of function > 'getrandom' is invalid in C99 [-Werror,-Wimplicit-function-declaration] > n = getrandom(dest, n, flags); > ^ > Python/bootstrap_hash.c:145:17: error: implicit declaration of function > 'getrandom' is invalid in C99 [-Werror,-Wimplicit-function-declaration] > n = getrandom(dest, n, flags); > > Not sure if this is limitation of the platform or Python codebase needs > fixes. > > Thanks > -S _______________________________________________ > Python-Dev mailing list -- [email protected] > To unsubscribe send an email to [email protected] > https://mail.python.org/mailman3/lists/python-dev.python.org/ > Message archived at > https://mail.python.org/archives/list/[email protected]/message/KEURSMCLUVI7VPKM6M2VUV4JIW6FP66Z/ > Code of Conduct: http://python.org/psf/codeofconduct/ >
_______________________________________________ Python-Dev mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/G6LCSHQBTPR3HUPUNTCANXYPW4K34TFQ/ Code of Conduct: http://python.org/psf/codeofconduct/
