[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug in GNU ld at elf_i386_copy_indirect_symbol with gcc-3.3
From: |
Martin Aumueller |
Subject: |
Re: Bug in GNU ld at elf_i386_copy_indirect_symbol with gcc-3.3 |
Date: |
Fri, 30 May 2003 10:58:10 +0200 |
User-agent: |
Mutt/1.4i |
I tried binutils 2.14.90.0.4, with exactly the same result.
Please download http://www.hlrs.de/people/aumueller/bug-ld-elf32-i386.tar.gz
for a case that triggers the problem. There is a script called link containing
the exact command line -- the order of the files seems to be important.
It didn't work either when used with gcc-3.2 from Redhat 8.0.
I hope that this is what you mean by a small testcase.
Thank you very much for your help,
Martin
On Wed, May 28, 2003 at 12:40:49PM -0700, H. J. Lu wrote:
> Please try binutils 2.14.90.0.4 at
>
> http://ftp.kernel.org/pub/linux/devel/binutils/
>
> If it doesn't work, please provide a small testcase. I will fix it.
>
>
> H.J.
> On Wed, May 28, 2003 at 08:18:37PM +0200, Martin Aumueller wrote:
> > Hello,
> >
> > ld asked me to report this bug.
> > I try to link a C++ application compiled in part with gcc-3.3.
> > But ld fails to do so because of an internal error.
> >
> > I'm using Redhat 8.0 with glibc updated to 2.3.2-4.80.6.
> > I compiled gcc-3.3 myself and installed it to /usr
> > (overwriting my old gcc).
> >
> > On one computer, this happens:
> > GNU ld version 2.13.90.0.2 20020802:
> > usr/bin/ld: BFD 2.13.90.0.2 20020802 internal error, aborting at
> > elf32-i386.c line 786 in elf_i386_copy_indirect_symbol
> >
> > On another, where I overwrote the old binutils:
> > GNU ld version 2.14.90.0.2 20030515:
> > /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3/../../../../i686-pc-linux-gnu/bin/ld:
> > BFD 2.14.90.0.2 20030515 internal error, aborting at elf32-i386.c line 809
> > in elf_i386_copy_indirect_symbol
> >
> > I didn't have this problem with gcc-3.2-7 from Redhat 8.0.