Rebuilding with profile guided optimizations: rm -f profile-clean-stamp make build_all CFLAGS_NODIST=" -fprofile-use -fprofile-correction" LDFLAGS_NODIST="" make[1]: Entering directory '/home/florian/workspace/python/cpython' gcc -pthread -c -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Werror=implicit-function-declaration -fvisibility=hidden -fprofile-use -fprofile-correction -I./Include/internal -I. -I./Include -DPy_BUILD_CORE \ -DABIFLAGS='""' \ -DMULTIARCH=\"x86_64-linux-gnu\" \ -o Python/sysmodule.o ./Python/sysmodule.c ./Python/sysmodule.c: In function ‘PySys_FormatStderr’: ./Python/sysmodule.c:3246:1: error: source locations for function ‘PySys_FormatStderr’ have changed, the profile data may be out of date [-Werror=coverage-mismatch] 3246 | PySys_FormatStderr(const char *format, ...) | ^~~~~~~~~~~~~~~~~~ ./Python/sysmodule.c:3246:1: error: source locations for function ‘PySys_FormatStderr’ have changed, the profile data may be out of date [-Werror=coverage-mismatch] ./Python/sysmodule.c: In function ‘PySys_FormatStdout’: ./Python/sysmodule.c:3236:1: error: source locations for function ‘PySys_FormatStdout’ have changed, the profile data may be out of date [-Werror=coverage-mismatch] 3236 | PySys_FormatStdout(const char *format, ...) | ^~~~~~~~~~~~~~~~~~ ./Python/sysmodule.c:3236:1: error: source locations for function ‘PySys_FormatStdout’ have changed, the profile data may be out of date [-Werror=coverage-mismatch] ./Python/sysmodule.c: In function ‘sys_format’: ./Python/sysmodule.c:3213:1: error: source locations for function ‘sys_format’ have changed, the profile data may be out of date [-Werror=coverage-mismatch] 3213 | sys_format(_Py_Identifier *key, FILE *fp, const char *format, va_list va) | ^~~~~~~~~~ ./Python/sysmodule.c:3213:1: error: source locations for function ‘sys_format’ have changed, the profile data may be out of date [-Werror=coverage-mismatch] ./Python/sysmodule.c: In function ‘PySys_WriteStderr’: ./Python/sysmodule.c:3203:1: error: source locations for function ‘PySys_WriteStderr’ have changed, the profile data may be out of date [-Werror=coverage-mismatch] 3203 | PySys_WriteStderr(const char *format, ...) | ^~~~~~~~~~~~~~~~~ ./Python/sysmodule.c:3203:1: error: source locations for function ‘PySys_WriteStderr’ have changed, the profile data may be out of date [-Werror=coverage-mismatch] ./Python/sysmodule.c: In function ‘PySys_WriteStdout’: ./Python/sysmodule.c:3193:1: error: source locations for function ‘PySys_WriteStdout’ have changed, the profile data may be out of date [-Werror=coverage-mismatch] 3193 | PySys_WriteStdout(const char *format, ...) | ^~~~~~~~~~~~~~~~~ ./Python/sysmodule.c:3193:1: error: source locations for function ‘PySys_WriteStdout’ have changed, the profile data may be out of date [-Werror=coverage-mismatch] ./Python/sysmodule.c: In function ‘sys_write’: ./Python/sysmodule.c:3169:1: error: source locations for function ‘sys_write’ have changed, the profile data may be out of date [-Werror=coverage-mismatch] 3169 | sys_write(_Py_Identifier *key, FILE *fp, const char *format, va_list va) | ^~~~~~~~~ ./Python/sysmodule.c:3169:1: error: source locations for function ‘sys_write’ have changed, the profile data may be out of date [-Werror=coverage-mismatch] ./Python/sysmodule.c: In function ‘sys_pyfile_write’: ./Python/sysmodule.c:3123:1: error: source locations for function ‘sys_pyfile_write’ have changed, the profile data may be out of date [-Werror=coverage-mismatch] 3123 | sys_pyfile_write(const char *text, PyObject *file) | ^~~~~~~~~~~~~~~~ ./Python/sysmodule.c:3123:1: error: source locations for function ‘sys_pyfile_write’ have changed, the profile data may be out of date [-Werror=coverage-mismatch] ./Python/sysmodule.c: In function ‘sys_pyfile_write_unicode’: ./Python/sysmodule.c:3109:1: error: source locations for function ‘sys_pyfile_write_unicode’ have changed, the profile data may be out of date [-Werror=coverage-mismatch] 3109 | sys_pyfile_write_unicode(PyObject *unicode, PyObject *file) | ^~~~~~~~~~~~~~~~~~~~~~~~ ./Python/sysmodule.c:3109:1: error: source locations for function ‘sys_pyfile_write_unicode’ have changed, the profile data may be out of date [-Werror=coverage-mismatch] ./Python/sysmodule.c: In function ‘PySys_SetArgv’: ./Python/sysmodule.c:3100:1: error: source locations for function ‘PySys_SetArgv’ have changed, the profile data may be out of date [-Werror=coverage-mismatch] 3100 | PySys_SetArgv(int argc, wchar_t **argv) | ^~~~~~~~~~~~~ ./Python/sysmodule.c:3100:1: error: source locations for function ‘PySys_SetArgv’ have changed, the profile data may be out of date [-Werror=coverage-mismatch] ./Python/sysmodule.c: In function ‘PySys_SetArgvEx’: ./Python/sysmodule.c:3056:1: error: source locations for function ‘PySys_SetArgvEx’ have changed, the profile data may be out of date [-Werror=coverage-mismatch] 3056 | PySys_SetArgvEx(int argc, wchar_t **argv, int updatepath) | ^~~~~~~~~~~~~~~ ./Python/sysmodule.c:3056:1: error: source locations for function ‘PySys_SetArgvEx’ have changed, the profile data may be out of date [-Werror=coverage-mismatch] ./Python/sysmodule.c: In function ‘make_sys_argv’: ./Python/sysmodule.c:3037:1: error: source locations for function ‘make_sys_argv’ have changed, the profile data may be out of date [-Werror=coverage-mismatch] 3037 | make_sys_argv(int argc, wchar_t * const * argv) | ^~~~~~~~~~~~~ ./Python/sysmodule.c:3037:1: error: source locations for function ‘make_sys_argv’ have changed, the profile data may be out of date [-Werror=coverage-mismatch] ./Python/sysmodule.c: In function ‘PySys_SetPath’: ./Python/sysmodule.c:3024:1: error: source locations for function ‘PySys_SetPath’ have changed, the profile data may be out of date [-Werror=coverage-mismatch] 3024 | PySys_SetPath(const wchar_t *path) | ^~~~~~~~~~~~~ ./Python/sysmodule.c:3024:1: error: source locations for function ‘PySys_SetPath’ have changed, the profile data may be out of date [-Werror=coverage-mismatch] ./Python/sysmodule.c: In function ‘makepathobject’: ./Python/sysmodule.c:2991:1: error: source locations for function ‘makepathobject’ have changed, the profile data may be out of date [-Werror=coverage-mismatch] 2991 | makepathobject(const wchar_t *path, wchar_t delim) | ^~~~~~~~~~~~~~ ./Python/sysmodule.c:2991:1: error: source locations for function ‘makepathobject’ have changed, the profile data may be out of date [-Werror=coverage-mismatch] ./Python/sysmodule.c: In function ‘_PySys_InitCore’: ./Python/sysmodule.c:2611:1: error: source locations for function ‘_PySys_InitCore’ have changed, the profile data may be out of date [-Werror=coverage-mismatch] 2611 | _PySys_InitCore(PyThreadState *tstate, PyObject *sysdict) | ^~~~~~~~~~~~~~~ ./Python/sysmodule.c:2611:1: error: source locations for function ‘_PySys_InitCore’ have changed, the profile data may be out of date [-Werror=coverage-mismatch] ./Python/sysmodule.c: In function ‘make_impl_info’: ./Python/sysmodule.c:2513:1: error: source locations for function ‘make_impl_info’ have changed, the profile data may be out of date [-Werror=coverage-mismatch] 2513 | make_impl_info(PyObject *version_info) | ^~~~~~~~~~~~~~ ./Python/sysmodule.c:2513:1: error: source locations for function ‘make_impl_info’ have changed, the profile data may be out of date [-Werror=coverage-mismatch] ./Python/sysmodule.c: In function ‘make_version_info’: ./Python/sysmodule.c:2455:1: error: number of counters in profile data for function ‘make_version_info’ does not match its profile data (counter ‘arcs’, expected 12 and have 11) [-Werror=coverage-mismatch] 2455 | make_version_info(PyThreadState *tstate) | ^~~~~~~~~~~~~~~~~ ./Python/sysmodule.c:2455:1: error: the control flow of function ‘make_version_info’ does not match its profile data (counter ‘time_profiler’) [-Werror=coverage-mismatch] ./Python/sysmodule.c: In function ‘make_flags’: ./Python/sysmodule.c:2390:1: warning: profile for function ‘make_flags’ not found in profile data [-Wmissing-profile] 2390 | make_flags(PyThreadState *tstate) | ^~~~~~~~~~ ./Python/sysmodule.c: In function ‘sys_getsizeof’: ./Python/sysmodule.c:1609:1: error: number of counters in profile data for function ‘sys_getsizeof’ does not match its profile data (counter ‘arcs’, expected 12 and have 11) [-Werror=coverage-mismatch] 1609 | sys_getsizeof(PyObject *self, PyObject *args, PyObject *kwds) | ^~~~~~~~~~~~~ ./Python/sysmodule.c:1609:1: error: the control flow of function ‘sys_getsizeof’ does not match its profile data (counter ‘time_profiler’) [-Werror=coverage-mismatch] ./Python/sysmodule.c: In function ‘_PySys_GetSizeOf’: ./Python/sysmodule.c:1563:1: error: number of counters in profile data for function ‘_PySys_GetSizeOf’ does not match its profile data (counter ‘arcs’, expected 24 and have 22) [-Werror=coverage-mismatch] 1563 | _PySys_GetSizeOf(PyObject *o) | ^~~~~~~~~~~~~~~~ ./Python/sysmodule.c:1563:1: error: the control flow of function ‘_PySys_GetSizeOf’ does not match its profile data (counter ‘indirect_call’) [-Werror=coverage-mismatch] ./Python/sysmodule.c:1563:1: error: the control flow of function ‘_PySys_GetSizeOf’ does not match its profile data (counter ‘time_profiler’) [-Werror=coverage-mismatch] ./Python/sysmodule.c: In function ‘get_hash_info’: ./Python/sysmodule.c:1298:1: error: number of counters in profile data for function ‘get_hash_info’ does not match its profile data (counter ‘arcs’, expected 17 and have 16) [-Werror=coverage-mismatch] 1298 | get_hash_info(PyThreadState *tstate) | ^~~~~~~~~~~~~ ./Python/sysmodule.c:1298:1: error: the control flow of function ‘get_hash_info’ does not match its profile data (counter ‘time_profiler’) [-Werror=coverage-mismatch] ./Python/sysmodule.c: In function ‘call_trampoline’: ./Python/sysmodule.c:878:1: error: number of counters in profile data for function ‘call_trampoline’ does not match its profile data (counter ‘arcs’, expected 8 and have 9) [-Werror=coverage-mismatch] 878 | call_trampoline(PyObject* callback, | ^~~~~~~~~~~~~~~ ./Python/sysmodule.c:878:1: error: the control flow of function ‘call_trampoline’ does not match its profile data (counter ‘time_profiler’) [-Werror=coverage-mismatch] ./Python/sysmodule.c: In function ‘sys_displayhook’: ./Python/sysmodule.c:621:1: error: number of counters in profile data for function ‘sys_displayhook’ does not match its profile data (counter ‘arcs’, expected 30 and have 29) [-Werror=coverage-mismatch] 621 | sys_displayhook(PyObject *module, PyObject *o) | ^~~~~~~~~~~~~~~ ./Python/sysmodule.c:621:1: error: the control flow of function ‘sys_displayhook’ does not match its profile data (counter ‘time_profiler’) [-Werror=coverage-mismatch] ./Python/sysmodule.c: In function ‘sys_breakpointhook’: ./Python/sysmodule.c:456:1: error: number of counters in profile data for function ‘sys_breakpointhook’ does not match its profile data (counter ‘arcs’, expected 37 and have 38) [-Werror=coverage-mismatch] 456 | sys_breakpointhook(PyObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *keywords) | ^~~~~~~~~~~~~~~~~~ ./Python/sysmodule.c:456:1: error: the control flow of function ‘sys_breakpointhook’ does not match its profile data (counter ‘time_profiler’) [-Werror=coverage-mismatch] In file included from ./Include/abstract.h:843, from ./Include/Python.h:147, from ./Python/sysmodule.c:17: ./Python/sysmodule.c: In function ‘_PyObject_VectorcallMethodId’: ./Include/cpython/abstract.h:202:1: error: source locations for function ‘_PyObject_VectorcallMethodId’ have changed, the profile data may be out of date [-Werror=coverage-mismatch] 202 | _PyObject_VectorcallMethodId( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Include/cpython/abstract.h:202:1: error: source locations for function ‘_PyObject_VectorcallMethodId’ have changed, the profile data may be out of date [-Werror=coverage-mismatch] ./Python/sysmodule.c: In function ‘_PyObject_CallNoArg’: ./Include/cpython/abstract.h:148:1: warning: profile for function ‘_PyObject_CallNoArg’ not found in profile data [-Wmissing-profile] 148 | _PyObject_CallNoArg(PyObject *func) { | ^~~~~~~~~~~~~~~~~~~ ./Python/sysmodule.c: In function ‘_PyObject_VectorcallTstate’: ./Include/cpython/abstract.h:99:1: warning: profile for function ‘_PyObject_VectorcallTstate’ not found in profile data [-Wmissing-profile] 99 | _PyObject_VectorcallTstate(PyThreadState *tstate, PyObject *callable, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make[1]: *** [Makefile:798: Python/sysmodule.o] Error 1 make[1]: Leaving directory '/home/florian/workspace/python/cpython' make: *** [Makefile:521: profile-opt] Error 2