This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
linker error messages when using gcc 3.1
- From: Andy Tai <lichengtai at yahoo dot com>
- To: gcc at gcc dot gnu dot org
- Cc: atai at atai dot org
- Date: Wed, 15 May 2002 20:10:30 -0700 (PDT)
- Subject: linker error messages when using gcc 3.1
- Reply-to: atai at atai dot org
Hi, I have a C++ program that compiles fine with both
gcc 2.95.3 and gcc 3.0.4, on a Red Hat 7.2 (GNU/Linux)
system. When I compile this program with gcc 3.1, I
get these messages from the linker during the final
linking stage:
/usr/local/bin/ld: Dwarf Error: Invalid or unhandled
FORM value: 14
.
.
(same message repeats about 30 times)
.
.
/usr/local/bin/ld: Dwarf Error: Could not find abbrev
number 1213
But the executable is built and seems to work fine if
I use the latest binutils from ftp.gnu.org. If I use
the default Red Hat version of ld (2.11.90.0.8), the
executable is not built at all. The error messages
are the same.
My gcc version is:
Reading specs from
/share/software/gcc-3.1/installed/bin/../lib/gcc-lib/i686-pc-linux-gnu/3.1/specs
Configured with: ../gcc/configure
--prefix=/share/software/gcc-3.1/installed
--enable-threads --enable-languages=c,c++
Thread model: posix
gcc version 3.1
My ld version is:
GNU ld 2.11.2
Copyright 2001 Free Software Foundation, Inc.
This program is free software; you may redistribute it
under the terms of
the GNU General Public License. This program has
absolutely no warranty.
Supported emulations:
elf_i386
i386linux
Thanks for any tips on how to eliminate the error
messages and possible problems associated with it (if
any).
__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com