[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ld Bug report: BFD internal error
From: |
Nick Clifton |
Subject: |
Re: ld Bug report: BFD internal error |
Date: |
18 Dec 2001 12:40:24 +0000 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1 |
Hi Hiroyuki,
> I'm using gcc 3.0.2 on a linux box (i686-linux-pc-gnu) with
> target=sparc-unknown-netbsd
Unfortunately I do not have an easy way to reproduce this problem.
> I'm using binutils-2.11.2, configured for the same target
One thing you could try is downloading a snapshot of the latest
binutils sources and seeing if this fixes your problem. You can get
the snapshots from:
ftp://sources.redhat.com/pub/binutils/snapshots
> /cross/bin//../lib/gcc-lib/sparc-netbsd/3.0.2/../../../../sparc-netbsd/bin/ld:
>
> BFD internal error, aborting at ../binutils-2.11.2/bfd/aoutx.h line 5059 in
> aout_link_input_section_std
>
> I do not know what's going on.
> Please help me.
The abort is triggered because the linker is encountering a reloc that
it cannot handle. IF you can run the linker inside GDB you could find
out which file contains this reloc (print input_bfd->filename). You
could then use OBJDUMP to look at this and see if it is corrupt or if
it contains broken relocs.
Cheers
Nick