From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4F28D385781A; Thu, 1 Dec 2022 15:39:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4F28D385781A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1669909198; bh=WL1n1L+PofD8xmjy1sUm4uI5y6zFalxcFQiNaSoLHjA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=joj9SmdW4GjwrWQxnnEXf/Ybbayn1iC57ndQyU4Z4wBwDEe5esudT8HV+zr7B6+1L ygZm14apcamqtQZqiQA5WzwVeZnAIX4rY5591m2O8wJDJg/fyATsnYf4oDQOKrhv3m hslg9RP1D00HZMuQE0cH4VZ7wonavdf7K/oykLLQ= From: "cvs-commit at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug compile/29541] gdb.compile/compile-cplus-anonymous.exp shows failures with glibc debuginfo installed Date: Thu, 01 Dec 2022 15:39:57 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: compile X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot 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://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29541 --- Comment #3 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Tom Tromey : https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D9a7fde04ca42= 32d4b2efed61486fff65e83ab3a2 commit 9a7fde04ca4232d4b2efed61486fff65e83ab3a2 Author: Tom Tromey Date: Wed Nov 30 11:27:10 2022 -0700 Avoid timeouts in gdb.compile PR compile/29541 points out that some of the C++ tests in gdb.compile will time out when the glibc debuginfo is installed. This was interfering with my hacking on gdb by making test runs extremely long, so I looked into it. Internally the bug seems to be that gdb tries to convert multiple symbols named "var" via the compiler interface; one such symbol (I didn't track it down too far) causes the C++ compiler plugin to crash. Unfortunately, the crash is reported as a timeout, as the gdb side of the plugin simply hangs. This seems like a bug in the plugin RPC mechanism and, worse, apparently when I wrote this stuff I didn't really consider error reporting very much at all, so gdb can't really detect failures in the first place. Anyway... this patch works around the timeout by compiling a simple test that should provoke this bug, and then using "untested" if it notices a GCC crash. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29541 --=20 You are receiving this mail because: You are on the CC list for the bug.=