From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9C7BD3858D32; Mon, 23 Jan 2023 11:29:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9C7BD3858D32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1674473366; bh=y2GGSxtFMAOzJ2/6s2mrKopavYDdEMDXwsj3+btbNNU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=UBn5fQzlborjyoxOJ8NYeSbKsjS1Q4aZkGTT6C7cK105TydvZjReFIXoPbh4DFq9N Xyl0FEea8/IKv9X0JLeWdBrsr/T6Q6TYVkXoC8dNpPM2NDAH7aks/mOtBEPz/jdElu eFUrGPwmeTIFbUsUhILNSvA8tUluu0XZ8PstIoC8= From: "nick.alcock at oracle dot com" To: gdb-prs@sourceware.org Subject: [Bug symtab/30031] gdb ctf tests fail with gold Date: Mon, 23 Jan 2023 11:29:26 +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: nick.alcock at oracle dot com 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 #2 from Nick Alcock --- This is expected: gold (like lld and mold) has no support for linking CTF y= et (though it should be fairly easy to add: see what ld does in ldlang.c and ldelfgen.c: I've been meaning to do it for a while but haven't got around t= o it yet). Until that's done, the GDB CTF tests really need to pre-arrange the compila= tion environment so that they always use the built ld (if built) or don't run (otherwise). Something similar to what is done in libctf/testsuite/config/default.exp should work fine, but, obviously, done = in a function invoked by ctf*exp and reversed at the end of them. --=20 You are receiving this mail because: You are on the CC list for the bug.=