From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 25BC93857025; Wed, 25 Aug 2021 15:50:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 25BC93857025 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/102067] SEGFAULT in varpool_node::get_constructor during lto1 when optimising or not using debug symbols Date: Wed, 25 Aug 2021 15:50:54 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Aug 2021 15:50:55 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D102067 --- Comment #7 from Martin Li=C5=A1ka --- Hm, note the ccxjqZU1 file contains: libwave_common.a@0x4307c libwave_common.a@0x180314c What does the syntax mean? I can reproduce it locally with: $ /dev/shm/objdir2/gcc/lto1 -quiet -fwpa libwave_common.a@0x4307c libwave_common.a@0x180314c -fltrans-output-list=3Dgap_report.ltrans.out -O2 -fresolution=3Dlm.res ... #0 0x0000000001310aa2 in varpool_node::get_constructor (this=3D0x7ffff639a= b00) at /home/marxin/Programming/gcc2/gcc/varpool.c:302 #1 0x0000000001c0e8f2 in ipa_icf::sem_variable::equals (this=3D0x2922fb0, item=3D0x2928940) at /home/marxin/Programming/gcc2/gcc/ipa-icf.c:1845 #2 0x0000000001c119a5 in ipa_icf::sem_item_optimizer::subdivide_classes_by_equality (this=3D0x28fcc1= 0, in_wpa=3Dfalse) at /home/marxin/Programming/gcc2/gcc/ipa-icf.c:2817 #3 0x0000000001c10cba in ipa_icf::sem_item_optimizer::execute (this=3D0x28= fcc10) at /home/marxin/Programming/gcc2/gcc/ipa-icf.c:2578 #4 0x0000000001c14620 in ipa_icf::ipa_icf_driver () at /home/marxin/Programming/gcc2/gcc/ipa-icf.c:3698 #5 0x0000000001c162e1 in ipa_icf::pass_ipa_icf::execute (this=3D0x281a780)= at /home/marxin/Programming/gcc2/gcc/ipa-icf.c:3745 #6 0x0000000000dca608 in execute_one_pass (pass=3D0x281a780) at /home/marxin/Programming/gcc2/gcc/passes.c:2508 #7 0x0000000000dcb490 in execute_ipa_pass_list (pass=3D0x281a780) at /home/marxin/Programming/gcc2/gcc/passes.c:2925 #8 0x000000000086a95c in do_whole_program_analysis () at /home/marxin/Programming/gcc2/gcc/lto/lto.c:3183 #9 0x000000000086add7 in lto_main () at /home/marxin/Programming/gcc2/gcc/lto/lto.c:3408 #10 0x0000000000f1c482 in compile_file () at /home/marxin/Programming/gcc2/gcc/toplev.c:456 #11 0x0000000000f1f08b in do_compile () at /home/marxin/Programming/gcc2/gcc/toplev.c:2205 #12 0x0000000000f1f36e in toplev::main (this=3D0x7fffffffddfe, argc=3D8, argv=3D0x7fffffffdf08) at /home/marxin/Programming/gcc2/gcc/toplev.c:2340 #13 0x0000000001cbd006 in main (argc=3D8, argv=3D0x7fffffffdf08) at /home/marxin/Programming/gcc2/gcc/main.c:39=