From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19152 invoked by alias); 4 Jun 2002 17:33:54 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 19090 invoked from network); 4 Jun 2002 17:33:52 -0000 Received: from unknown (HELO takamaka.int.act-europe.fr) (209.53.17.163) by sources.redhat.com with SMTP; 4 Jun 2002 17:33:52 -0000 Received: by takamaka.int.act-europe.fr (Postfix, from userid 507) id 3BE4889FBA; Tue, 4 Jun 2002 10:33:37 -0700 (PDT) Date: Tue, 04 Jun 2002 10:33:00 -0000 From: Joel Brobecker To: gdb-patches@sources.redhat.com Cc: Alan Modra Subject: alpha-osf: Undefined reference in libbfd.a causes GDB build failure Message-ID: <20020604103337.A5940@gnat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-SW-Source: 2002-06/txt/msg00065.txt.bz2 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