From: Joel Brobecker <brobecker@gnat.com>
To: gdb-patches@sources.redhat.com
Cc: Alan Modra <amodra@bigpond.net.au>
Subject: alpha-osf: Undefined reference in libbfd.a causes GDB build failure
Date: Tue, 04 Jun 2002 10:33:00 -0000 [thread overview]
Message-ID: <20020604103337.A5940@gnat.com> (raw)
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
next reply other threads:[~2002-06-04 17:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-04 10:33 Joel Brobecker [this message]
2002-06-04 20:08 ` Alan Modra
2002-06-05 9:29 ` Joel Brobecker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020604103337.A5940@gnat.com \
--to=brobecker@gnat.com \
--cc=amodra@bigpond.net.au \
--cc=gdb-patches@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox