https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64123
--- Comment #28 from Richard Biener <rguenth at gcc dot gnu.org> --- Similar issue happens when building python with profile feedback enabled, that is, ./configure; make profile-opt as implemented in python upstream. Core file tells me (gdb) bt #0 0x00007f890ef2616a in _IO_new_file_overflow (f=0x6052c0 <__gcov_var+32>, ch=1) at fileops.c:824 #1 0x0000000000000000 in ?? () not terribly useful but the refered __gcov_var is still all-zeros.