Issue40070
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.
Created on 2020-03-25 23:47 by vstinner, last changed 2022-04-11 14:59 by admin. This issue is now closed.
Messages (2) | |||
---|---|---|---|
msg365032 - (view) | Author: STINNER Victor (vstinner) * ![]() |
Date: 2020-03-25 23:47 | |
GCC crashed on AMD64 RHEL7 LTO + PGO 3.7: https://buildbot.python.org/all/#/builders/190/builds/131 It crashed at the second stage of the PGO compilation (-fprofile-use). --- (...) gcc -pthread -c -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none -g -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Werror=implicit-function-declaration -fprofile-use -fprofile-correction -I. -I./Include -DPy_BUILD_CORE -o Python/asdl.o Python/asdl.c gcc -pthread -c -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none -g -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Werror=implicit-function-declaration -fprofile-use -fprofile-correction -I. -I./Include -DPy_BUILD_CORE -o Python/ast.o Python/ast.c gcc -pthread -c -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none -g -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Werror=implicit-function-declaration -fprofile-use -fprofile-correction -I. -I./Include -DPy_BUILD_CORE -o Python/ast_opt.o Python/ast_opt.c gcc -pthread -c -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none -g -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Werror=implicit-function-declaration -fprofile-use -fprofile-correction -I. -I./Include -DPy_BUILD_CORE -o Python/ast_unparse.o Python/ast_unparse.c gcc -pthread -c -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none -g -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Werror=implicit-function-declaration -fprofile-use -fprofile-correction -I. -I./Include -DPy_BUILD_CORE -o Python/bltinmodule.o Python/bltinmodule.c In file included from ./Include/pytime.h:6:0, from ./Include/Python.h:87, from Python/bltinmodule.c:3: Python/bltinmodule.c: In function ‘builtin_any’: ./Include/object.h:790:31: note: correcting inconsistent value profile: ic profiler overall count (78) does not match BB count (78) (*Py_TYPE(op)->tp_dealloc)((PyObject *)(op))) ^ Python/bltinmodule.c:411:1: note: Inconsistent profile: indirect call target (0) does not exist builtin_any(PyObject *module, PyObject *iterable) ^ In file included from ./Include/pytime.h:6:0, from ./Include/Python.h:87, from Python/bltinmodule.c:3: ./Include/object.h:790:31: note: correcting inconsistent value profile: ic profiler overall count (0) does not match BB count (0) (*Py_TYPE(op)->tp_dealloc)((PyObject *)(op))) ^ ./Include/object.h:790:31: note: correcting inconsistent value profile: ic profiler overall count (0) does not match BB count (0) Python/bltinmodule.c:2868:1: internal compiler error: Segmentation fault } ^ Please submit a full bug report, with preprocessed source if appropriate. See <http://bugzilla.redhat.com/bugzilla> for instructions. gcc -pthread -c -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none -g -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Werror=implicit-function-declaration -fprofile-use -fprofile-correction -I. -I./Include -DPy_BUILD_CORE -o Python/ceval.o Python/ceval.c gcc -pthread -c -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none -g -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Werror=implicit-function-declaration -fprofile-use -fprofile-correction -I. -I./Include -DPy_BUILD_CORE -o Python/compile.o Python/compile.c gcc -pthread -c -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none -g -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Werror=implicit-function-declaration -fprofile-use -fprofile-correction -I. -I./Include -DPy_BUILD_CORE -o Python/codecs.o Python/codecs.c Preprocessed source stored into /tmp/ccsdRI8K.out file, please attach this to your bugreport. make[1]: *** [Python/bltinmodule.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/home/buildbot/buildarea/3.7.cstratak-RHEL7-x86_64.lto-pgo/build' make: *** [profile-opt] Error 2 --- That's RHEL 7.7 with gcc-4.8.5-39.el7.x86_64. The previous build was successful: https://buildbot.python.org/all/#/builders/190/builds/130 CC.version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39) datetime.datetime.now: 2020-03-24 16:20:36.900720 According to /var/log/yum.log, the latest package update was done at Mar 18 (05:13:07). So GCC wasn't update between build 130 and 131. |
|||
msg385951 - (view) | Author: STINNER Victor (vstinner) * ![]() |
Date: 2021-01-29 22:01 | |
I didn't see the compiler bug recently, and Python 3.7 no longer accept bug fixes anymore. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:59:28 | admin | set | github: 84251 |
2021-01-29 22:01:44 | vstinner | set | status: open -> closed resolution: out of date messages: + msg385951 stage: resolved |
2020-03-25 23:47:42 | vstinner | create |