Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* alpha-osf: Undefined reference in libbfd.a causes GDB build failure
@ 2002-06-04 10:33 Joel Brobecker
  2002-06-04 20:08 ` Alan Modra
  0 siblings, 1 reply; 3+ messages in thread
From: Joel Brobecker @ 2002-06-04 10:33 UTC (permalink / raw)
  To: gdb-patches; +Cc: Alan Modra

Hello,

the binutils directory no longer builds due to a new function in bfd:

<<
void
bfd_discard_group (abfd, group)
     bfd *abfd;
     asection *group;
{
  if ((group->flags & SEC_GROUP) != 0
      && abfd->xvec->flavour == bfd_target_elf_flavour)
    bfd_elf_discard_group (abfd, group);
}
>>

The problem is that on alpha-osf, elf.c is not compiled in, so libbfd.a
contains an undefined reference to bfd_elf_discard_group, later causing
the link-time failure in binutils.

I am sorry I can't suggest a patch to fix it, as I still have a very
limited knowledge of bfd.

Meanwhile, as this new function does not seem to be used anywhere, I
just commented out its body in my version of the sources, in order to
get past this glitch.

-- 
Joel


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

end of thread, other threads:[~2002-06-05 16:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-04 10:33 alpha-osf: Undefined reference in libbfd.a causes GDB build failure Joel Brobecker
2002-06-04 20:08 ` Alan Modra
2002-06-05  9:29   ` Joel Brobecker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox