On systems that don't have weak or one-only support (e.g., AIX 4.x and 5.1), the libstdc++ library no longer contains strong definitions for the typeinfo for types that should be in the runtime library. This is because import_export_decl now always gives the declarations comdat linkage.
As a result, there are mainy fails in the g++ and libstdc++ suites similar to the following: Executing on host: /opt/build/dave/gcc-4.0.0/objdir/gcc/testsuite/../g++ -B/opt/ build/dave/gcc-4.0.0/objdir/gcc/testsuite/../ cp_compat_main_tst.o cp_compat_x_t st.o cp_compat_y_tst.o -nostdinc++ -I/opt/build/dave/gcc-4.0.0/objdir/powerpc-i bm-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/libstdc++-v3/include -I/opt/build/dave/gcc-4 .0.0/gcc/libstdc++-v3/libsupc++ -I/opt/build/dave/gcc-4.0.0/gcc/libstdc++-v3/inc lude/backward -I/opt/build/dave/gcc-4.0.0/gcc/libstdc++-v3/testsuite -fmessage-l ength=0 -L/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/./libstdc ++-v3/src/.libs -L/opt/build/dave/gcc-4.0.0/objdir/powerpc-ibm-aix4.3.3.0/./libi berty -lm -o g++-dg-compat-eh-dtor1-01 (timeout = 300) ld: 0711-317 ERROR: Undefined symbol: typeinfo for int ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. collect2: ld returned 8 exit status compiler exited with status 1 output is: ld: 0711-317 ERROR: Undefined symbol: typeinfo for int ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. collect2: ld returned 8 exit status FAIL: g++.dg/compat/eh/dtor1 cp_compat_x_tst.o-cp_compat_y_tst.o link -- Summary: [4.0 Regression] ld: 0711-317 ERROR: Undefined symbol: typeinfo for int Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: danglin at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: powerpc-ibm-aix4.3.3.0 GCC host triplet: powerpc-ibm-aix4.3.3.0 GCC target triplet: powerpc-ibm-aix4.3.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18257