https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97866
Bug ID: 97866 Summary: [11 Regression] bootstrap error in libasan building a s390x-linux-gnu cross compiler Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: doko at debian dot org Target Milestone: --- seen with trunk 20201114 while the error message says it's not reproducible, the build stops 10 times with the same result. during RTL pass: reload ../../../../src/libsanitizer/asan/asan_fake_stack.cpp: In member function 'void __asan::FakeStack::For EachFakeFrame(__sanitizer::RangeIteratorCallback, void*)': ../../../../src/libsanitizer/asan/asan_fake_stack.cpp:171:1: internal compiler error: Segmentation fault 171 | } | ^ 0xbde03f crash_signal ../../src/gcc/toplev.c:330 0x7f3f99181cbf ??? ./signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0 0xb550ad profile_count::initialized_p() const ../../src/gcc/profile-count.h:785 0xb550ad profile_count::to_frequency(function*) const ../../src/gcc/profile-count.c:269 0xa7cf6a get_insn_freq ../../src/gcc/lra.c:1555 0xa7f707 lra_update_insn_regno_info(rtx_insn*) ../../src/gcc/lra.c:1627 0xa7f7cd lra_update_insn_regno_info(rtx_insn*) ../../src/gcc/lra.c:1623 0xa7f7cd lra_push_insn_1 ../../src/gcc/lra.c:1780 0xa806d4 lra_push_insn(rtx_insn*) ../../src/gcc/lra.c:1788 0xa806d4 push_insns ../../src/gcc/lra.c:1831 0xa806d4 push_insns ../../src/gcc/lra.c:1823 0xa806d4 lra_process_new_insns(rtx_insn*, rtx_insn*, rtx_insn*, char const*) ../../src/gcc/lra.c:1925 0xa90c42 curr_insn_transform ../../src/gcc/lra-constraints.c:4635 0xa92655 lra_constraints(bool) ../../src/gcc/lra-constraints.c:5129 0xa80e82 lra(_IO_FILE*) ../../src/gcc/lra.c:2323 0xa3ff01 do_reload ../../src/gcc/ira.c:5800 0xa3ff01 execute ../../src/gcc/ira.c:5986 Please submit a full bug report, with preprocessed source if appropriate. The bug is not reproducible, so it is likely a hardware or OS problem. make[6]: *** [Makefile:653: asan_fake_stack.lo] Error 1 make[6]: Leaving directory '/packages/cross/11/gcc-cross/gcc/build/s390x-linux-gnu/libsanitizer/asan' make[5]: *** [Makefile:528: all-recursive] Error 1