[Bug c++/19159] [4.0 Regression] Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info

danglin at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Dec 28 21:38:00 GMT 2004


------- Additional Comments From danglin at gcc dot gnu dot org  2004-12-28 21:38 -------
Mark,

I believe that you got the vtable for the typeinfo nodes.  However, we
still have errors like the following:

Executing on host: /opt/build/dave/gcc-4.0.0/objdir/gcc/g++ -shared-libgcc -B/op
t/build/dave/gcc-4.0.0/objdir/gcc/ -nostdinc++ -L/opt/build/dave/gcc-4.0.0/objdi
r/powerpc-ibm-aix4.3.3.0/libstdc++-v3/src -L/opt/build/dave/gcc-4.0.0/objdir/pow
erpc-ibm-aix4.3.3.0/libstdc++-v3/src/.libs -B/home/dave/opt/gnu/gcc/gcc-4.0.0/po
werpc-ibm-aix4.3.3.0/bin/ -B/home/dave/opt/gnu/gcc/gcc-4.0.0/powerpc-ibm-aix4.3.
3.0/lib/ -isystem /home/dave/opt/gnu/gcc/gcc-4.0.0/powerpc-ibm-aix4.3.3.0/includ
e -isystem /home/dave/opt/gnu/gcc/gcc-4.0.0/powerpc-ibm-aix4.3.3.0/sys-include -
g -O2 -D_GLIBCXX_ASSERT -fmessage-length=0 -DLOCALEDIR="/opt/build/dave/gcc-4.0.
0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/po/share/locale" -nostdinc++ -I/opt
/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/powerpc
-ibm-aix4.3.3.0 -I/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstd
c++-v3/include -I/opt/build/dave/gcc-4.0.0/gcc/libstdc++-v3/libsupc++ -I/opt/bui
ld/dave/gcc-4.0.0/gcc/libstdc++-v3/include/backward -I/opt/build/dave/gcc-4.0.0/
gcc/libstdc++-v3/testsuite /opt/build/dave/gcc-4.0.0/gcc/libstdc++-v3/testsuite/
17_intro/header_istream.cc    -include bits/stdc++.h  -L/opt/build/dave/gcc-4.0.
0/objdir/powerpc-ibm-aix4.3.3.0/./libstdc++-v3/testsuite -lv3test -lm   -o ./hea
der_istream.exe    (timeout = 300)
/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/libstdc++-v3/include/bit
s/valarray_array.h:164: warning: inline function 'static void std::_Array_copy_c
tor<_Tp, true>::_S_do_it(const _Tp*, const _Tp*, _Tp*) [with _Tp = size_t]' used
 but never defined
ld: 0711-317 ERROR: Undefined symbol: vtable for std::basic_istringstream<char,
std::char_traits<char>, std::allocator<char> >
ld: 0711-317 ERROR: Undefined symbol: vtable for std::basic_stringbuf<char, std:
:char_traits<char>, std::allocator<char> >
ld: 0711-317 ERROR: Undefined symbol: vtable for std::basic_streambuf<char, std:
:char_traits<char> >
ld: 0711-317 ERROR: Undefined symbol: VTT for std::basic_istringstream<char, std
::char_traits<char>, std::allocator<char> >
ld: 0711-317 ERROR: Undefined symbol: vtable for std::basic_ios<char, std::char_
traits<char> >
ld: 0711-317 ERROR: Undefined symbol: VTT for std::basic_ifstream<char, std::cha
r_traits<char> >
ld: 0711-317 ERROR: Undefined symbol: vtable for std::basic_ifstream<char, std::
char_traits<char> >
ld: 0711-317 ERROR: Undefined symbol: vtable for std::basic_filebuf<char, std::c
har_traits<char> >
ld: 0711-317 ERROR: Undefined symbol: vtable for std::basic_ostringstream<char,
std::char_traits<char>, std::allocator<char> >
ld: 0711-317 ERROR: Undefined symbol: VTT for std::basic_ostringstream<char, std
::char_traits<char>, std::allocator<char> >
ld: 0711-317 ERROR: Undefined symbol: std::basic_string<__gnu_cxx::character<uns
igned short, unsigned int, char*>, std::char_traits<__gnu_cxx::character<unsigne
d short, unsigned int, char*> >, std::allocator<__gnu_cxx::character<unsigned sh
ort, unsigned int, char*> > >::_Rep::_S_max_size
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
compiler exited with status 1


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19159



More information about the Gcc-bugs mailing list