[issue40680] thread_cputime isn't supported by AIX5

Michael Felt report at bugs.python.org
Tue May 19 07:49:51 EDT 2020


New submission from Michael Felt <aixtools at felt.demon.nl>:

issue40192 introduced the use of nanosecond reporting of time.

The new routine called is not available in AIX 5.3:

        xlc_r  -O -I/opt/include -O2 -qmaxmem=-1 -qarch=pwr5 -O    -I../git/python-3.9/Include/internal -IObjects -IInclude -IPython -I. -I../git/python-3.9/Include -I/opt/include   -DPy_BUILD_CORE_BUILTIN  -DPy_BUILD_CORE_BUILTIN -I../git/python-3.9/Include/internal -c ../git/python-3.9/Modules/timemodule.c -o Modules/timemodule.o
"../git/python-3.9/Modules/timemodule.c", line 1358.22: 1506-275 (S) Unexpected text tc encountered.
"../git/python-3.9/Modules/timemodule.c", line 1358.5: 1506-045 (S) Undeclared identifier thread_cputime_t.
"../git/python-3.9/Modules/timemodule.c", line 1359.29: 1506-045 (S) Undeclared identifier tc.
"../git/python-3.9/Modules/timemodule.c", line 1861.19: 1506-196 (W) Initialization between types "void*" and "int(*)(struct _object*)" is not allowed.
make: 1254-004 The error code from the last command is 1.

----------
components: Build, Library (Lib)
messages: 369335
nosy: Michael.Felt
priority: normal
severity: normal
status: open
title: thread_cputime isn't supported by AIX5
versions: Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40680>
_______________________________________


More information about the Python-bugs-list mailing list