This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Bug Report - Have anyone facd this before


When I rearranged my libraries, I was able to get through the problem,
though am not sure what exactly it cribbed about..Thank you, anyway.

Regards,
Nivethitha Murugeson.


-----Original Message-----
From: Rupert Wood [mailto:me@rupey.net]
Sent: Wednesday, October 10, 2001 11:33 PM
To: Nivethitha-Murugeson@vertel.com
Cc: help-gcc@gnu.org
Subject: RE: Bug Report - Have anyone facd this before


Nivethitha Murugeson wrote:

> I use g++ ver3.0 on Debian (Linux)..I get this error randomly while
> generating an executable, Any help appreciated..
> 
> /usr/local/sbtools-mips-linux-1.9.1/lib/gcc-lib/mips-linux/3.0
> /../../../../mips-linux/bin/ld: BFD internal error, aborting at
> /home/cgd/proj-local2/systemsw/tools/src/binutils/bfd/elflink.h
> line 5157 in elf_link_output_extsym
> /usr/local/sbtools-mips-linux-1.9.1/lib/gcc-lib/mips-linux/3.0
> /../../../../mips-linux/bin/ld: Please report this bug.

The BFD is part of binutils; you either want to report this to the
binutils people at bug-binutils@gnu.org or, if debian patch their
binutil distribution, to the debian people first.

However, before you report the bug, try if you can the latest CVS
binutil version (see http://sources.redhat.com/binutils/) or H. J. Lu's
Linux-specific beta binutils (see
http://ftp.kernel.org/pub/linux/devel/binutils/) to make sure the bug
hasn't already been fixed. The line number you give doesn't exactly
match a BFD_ASSERT() in the latest CVS so you definitely don't have the
absolute latest. The closest BFD_ASSERT is this one on 5155:

  /* If we are linking against a dynamic object, or generating a
     shared library, finish up the dynamic linking information.  */
  if (dynamic)
    {
      Elf_External_Dyn *dyncon, *dynconend;

      /* Fix up .dynamic entries.  */
      o = bfd_get_section_by_name (dynobj, ".dynamic");
      BFD_ASSERT (o != NULL);

so it looks like BFD can't find the .dynamic section for whatever
reason.

Rup.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]