From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 21FB5384AB40; Tue, 21 May 2024 15:14:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 21FB5384AB40 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1716304462; bh=/ifYYHuyHWKBCQJwn0qO6M+fEPuI1zARFTKJa/Lo6gU=; h=From:To:Subject:Date:From; b=xnLFXigNEJ5unP+wWjoNJsKk6PUjzkYlIabTraUNY3uWRpEDzL7JC4ie6M5yDYJwy +pJOjGAQ+1rqIHUmWUN8boe9FLRAjK/EjmyV222LgxEdcUIXdQn0T2ZBXPHBv14FrW 1WktPGaQ/TAve5mXoUa3o78M6K3fTCFmlTeBdm7s= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug testsuite/31780] New: [gdb/testsuite] object files overwritten in gdb.base/ctxobj.exp Date: Tue, 21 May 2024 15:14:20 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: testsuite X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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=3D31780 Bug ID: 31780 Summary: [gdb/testsuite] object files overwritten in gdb.base/ctxobj.exp Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: testsuite Assignee: unassigned at sourceware dot org Reporter: vries at gcc dot gnu.org Target Milestone: --- I ran test-case gdb.base/ctxobj.exp with the fission target board, and ran = into trouble. The problem is that there are two shared libraries, build from the same sources, but with different defines. The compilation of the second shared library overwrites the object files of= the first library. AFAIK, this is considered bad testsuite style, because we want to be able to find back all artifacts after running a test-case, but it doesn't affect the running of the test-case. However, in the fission case this also overwrites the .dwo files of the fir= st shared library, effectively throwing away the debug info of the first shared library, which does cause trouble. --=20 You are receiving this mail because: You are on the CC list for the bug.=