This is the mail archive of the gcc@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]
Other format: [Raw text]

linker error messages when using gcc 3.1


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


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