From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7C10F3858D3C; Tue, 24 Jan 2023 15:39:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7C10F3858D3C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1674574793; bh=L5GUe944SBMNjp4M4XnDQ9dc1E8T45YnPwb6PttAKJo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=cqB7DKgJEJLQ0dit7n07ir269MTGrLu4rWVkukHqt6QGDfxnuZq1P4l7r1Ga1Qnlr 51Od0ZIFQ4hqyCJMuJ69Sn1Yu3nCXrparYdADIjMXRwZo7dFOzjxrc27xRbrIYvMZt kOutu8elXaMor08xkvAJDosT9DlDH346zTrpIGyQ= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug symtab/30031] gdb ctf tests fail with gold Date: Tue, 24 Jan 2023 15:39:52 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: symtab X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tromey at sourceware dot 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=3D30031 --- Comment #3 from Tom Tromey --- (In reply to Nick Alcock from comment #2) > This is expected: gold (like lld and mold) has no support for linking CTF > yet Aha, good to know, thanks. > Until that's done, the GDB CTF tests really need to pre-arrange the > compilation environment so that they always use the built ld (if built) or > don't run (otherwise). gdb doesn't generally use the in-tree linker for tests, and I think it's pretty common for gdb devs to --disable-{ld,gold}. Instead perhaps the test can be changed to either examine the linker somehow (this is kind of a pain) or maybe to just use gdb_test_multiple, detect the failure mode, and kfail. --=20 You are receiving this mail because: You are on the CC list for the bug.=