From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 486DC385841D; Thu, 9 Mar 2023 18:50:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 486DC385841D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1678387859; bh=T1CT5YPKnfVFA0nSYOf4kOGnlh63dOptrTPyVBrGIkg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=MgR0jprk8piowME30zVD3TfD1YMcK2RE1NNP5vPm6HZ9Dt6AYZnXedsg1C3i4OvBa MxTMli4kRIkeYZiBJBSfkqoHh2YFweItBTMuZxhRpBA2gzUYmledhmgW1duf1ZV9xq PbPci9SVxQaFy74jSp7mvEPKyGvtJPR7ku1iimxw= From: "tstellar at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/108994] [13 Regression] LLVM JIT segfaults in libgcc after upgrading from gcc 12.2.1 to 13.0.1 since r13-2706-g6e80a1d164d1f9 Date: Thu, 09 Mar 2023 18:50:58 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tstellar at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.0 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D108994 --- Comment #14 from Tom Stellard --- Better stack trace with line numbers as of gcc commit 288bc7b5d17511d1791899e4b2e3bf3489eb06dd. #0 0x00000000016c96aa PrintStackTraceSignalHandler(void*) Signals.cpp:0:0 #1 0x00000000016c9c18 SignalHandler(int) Signals.cpp:0:0 #2 0x000003ffd36fe488 (linux-vdso64.so.1+0x488) #3 0x000003ff9170e848 classify_object_over_fdes /root/dev/gcc/s390x-ibm-linux-gnu/libgcc/../.././libgcc/unwind-dw2-fde.c:71= 9:10 #4 0x000003ff9170f606 __register_frame_info_bases /root/dev/gcc/s390x-ibm-linux-gnu/libgcc/../.././libgcc/unwind-dw2-fde.c:13= 0:3 #5 0x000003ff9170f606 __register_frame_info_bases /root/dev/gcc/s390x-ibm-linux-gnu/libgcc/../.././libgcc/unwind-dw2-fde.c:10= 9:1 #6 0x0000000001ca1bb0 llvm::RTDyldMemoryManager::registerEHFrames(unsigned char*, unsigned long, unsigned long) (/root/dev/llvm-project/build/bin/llvm-exegesis+0x1ca1bb0) #7 0x0000000001cb1158 llvm::RuntimeDyldELF::registerEHFrames() (/root/dev/llvm-project/build/bin/llvm-exegesis+0x1cb1158) #8 0x0000000001c923b6 llvm::MCJIT::finalizeLoadedModules() (/root/dev/llvm-project/build/bin/llvm-exegesis+0x1c923b6) #9 0x0000000001c9367a llvm::MCJIT::getFunctionAddress(std::__cxx11::basic_string, std::allocator> const&) (/root/dev/llvm-project/build/bin/llvm-exegesis+0x1c9367a) #10 0x000000000171511a llvm::exegesis::ExecutableFunction::ExecutableFunction(std::unique_ptr>, llvm::object::OwningBinary&&) (/root/dev/llvm-project/build/bin/llvm-exegesis+0x171511a) #11 0x00000000016e7ab4 llvm::exegesis::BenchmarkRunner::getRunnableConfiguration(llvm::exegesis::B= enchmarkCode const&, unsigned int, unsigned int, llvm::exegesis::SnippetRepetitor const&) const (/root/dev/llvm-project/build/bin/llvm-exegesis+0x16e7ab4) #12 0x0000000001077adc llvm::exegesis::benchmarkMain() (/root/dev/llvm-project/build/bin/llvm-exegesis+0x1077adc) #13 0x000000000107ab46 main (/root/dev/llvm-project/build/bin/llvm-exegesis+0x107ab46) #14 0x000003ff91534872 __libc_start_call_main (/lib64/libc.so.6+0x34872) #15 0x000003ff91534950 __libc_start_main@GLIBC_2.2 (/lib64/libc.so.6+0x3495= 0) #16 0x0000000001071efa _start (/root/dev/llvm-project/build/bin/llvm-exegesis+0x1071efa)=