public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug compile/30295] New: Undefined reference for gcore_elf_make_tdesc_note in linux-tdep with slibtool
@ 2023-03-31  6:04 orbea at riseup dot net
  2023-03-31  6:06 ` [Bug compile/30295] " orbea at riseup dot net
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: orbea at riseup dot net @ 2023-03-31  6:04 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=30295

            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=14792&action=edit
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 already
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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2024-04-07 18:33 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-31  6:04 [Bug compile/30295] New: Undefined reference for gcore_elf_make_tdesc_note in linux-tdep with slibtool orbea at riseup dot net
2023-03-31  6:06 ` [Bug compile/30295] " orbea at riseup dot net
2023-03-31 14:05 ` [Bug build/30295] " tromey at sourceware dot org
2023-03-31 14:17 ` tromey at sourceware dot org
2023-03-31 15:42 ` orbea at riseup dot net
2023-03-31 17:15 ` orbea at riseup dot net
2023-04-21 18:16 ` orbea at riseup dot net
2023-08-28 13:53 ` tromey at sourceware dot org
2024-02-16 17:20 ` tromey at sourceware dot org
2024-02-16 17:29 ` orbea at riseup dot net
2024-02-20 18:14 ` tromey at sourceware dot org
2024-02-21  0:54 ` orbea at riseup dot net
2024-04-07 18:33 ` orbea at riseup dot net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).