This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: debug/9984: ICE: GCC3.2.2 & GCC 3.2.1 gcc -gdwarf-2 -feliminate-dwarf2-dups
- From: bangerth at dealii dot org
- To: deegan at mondes dot com, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: 6 Mar 2003 22:18:03 -0000
- Subject: Re: debug/9984: ICE: GCC3.2.2 & GCC 3.2.1 gcc -gdwarf-2 -feliminate-dwarf2-dups
- Reply-to: bangerth at dealii dot org, deegan at mondes dot com, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: ICE: GCC3.2.2 & GCC 3.2.1 gcc -gdwarf-2 -feliminate-dwarf2-dups
State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Thu Mar 6 22:18:03 2003
State-Changed-Why:
ICE confirmed with 3.2.2. With 3.3 and 3.4, the ICE goes away,
but I get this:
g/x> /home/bangerth/bin/gcc-3.4-pre/bin/gcc -gdwarf-2 -feliminate-dwarf2-dups x.cc
/usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
/usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
/usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
/tmp/cc4yE79M.o: In function `main':
:4: undefined reference to `std::cout'
:4: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)'
:4: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::endl<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&)'
:4: undefined reference to `std::basic_ostream<char, std::char_traits<char> >::operator<<(std::basic_ostream<char, std::char_traits<char> >& (*)(std::basic_ostream<char, std::char_traits<char> >&))'
/tmp/cc4yE79M.o: In function `__static_initialization_and_destruction_0(int, int)':
/home/bangerth/bin/gcc-3.4-pre/include/c++/3.4/iostream:77: undefined reference to `std::ios_base::Init::Init[in-charge]()'
/home/bangerth/bin/gcc-3.4-pre/include/c++/3.4/iostream:77: undefined reference to `std::ios_base::Init::~Init [in-charge]()'
/tmp/cc4yE79M.o::4: undefined reference to `__gxx_personality_v0'
collect2: ld returned 1 exit status
The first few lines are probably due to an outdated set of
binutils. I am in no position to judge the reason for
the missing symbols, though.
W.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9984