From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 19CB93858D33; Fri, 31 Mar 2023 06:04:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 19CB93858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1680242699; bh=X/qt25LdImXM9TxHosE3MjnYeST4QQfuzpO/SJOKruM=; h=From:To:Subject:Date:From; b=E39ohxyBSUKeUaF8AcMdVSV+bUU/7MH9sHq0zehqFd5qQH/TUgDqAZmnEV4SX/Z2X PteGeTPLJfsMeloQhiTQNPMtztWw33/rlsGSyuJNcJvaD8nxj//fBKCJmvj3iBn4HG PI5vAa5WxKqqzEZ2e/0rYybsVbT8LTmXknI0OF1s= From: "orbea at riseup dot net" To: gdb-prs@sourceware.org Subject: [Bug compile/30295] New: Undefined reference for gcore_elf_make_tdesc_note in linux-tdep with slibtool Date: Fri, 31 Mar 2023 06:04:58 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new 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: orbea at riseup dot net X-Bugzilla-Status: UNCONFIRMED 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 attachments.created 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=3D30295 Bug ID: 30295 Summary: Undefined reference for gcore_elf_make_tdesc_note in linux-tdep with slibtool Product: gdb Version: HEAD Status: UNCONFIRMED Severity: normal Priority: P2 Component: compile Assignee: unassigned at sourceware dot org Reporter: orbea at riseup dot net Target Milestone: --- Created attachment 14792 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D14792&action=3Ded= it Build fix patch When building with slibtool there is an undefined reference for 'gcore_elf_make_tdesc_note' in linux-tdep.c. This can be solved by moving gcore-elf.c to the same COMMON_SFILES variable as is gcore.c which is alrea= dy the same in the HFILES_NO_SRCDIR variable for the gcore-elf.h and gcore.h header files. I attached a patch showing a potential fix. --=20 You are receiving this mail because: You are on the CC list for the bug.=