------- Additional Comments From l_heldt at poczta dot onet dot pl 2005-01-17 14:12 ------- I cannot check proposed changes because of compilation problems. I have changed makefiles in libstdc++/src directory but I am getting errors while linking:
/remote/beta4/lukasz/gcc2/gcc/g++ -shared-libgcc -B/remote/beta4/lukasz/gcc2/gcc/ -nostdinc++ -B/remote/beta4/lukasz/gcc-3.4/i686-pc-linux-gnu/bin/ -B/remote/beta4/lukasz/gcc-3.4/i686-pc-linux-gnu/lib/ -isystem /remote/beta4/lukasz/gcc-3.4/i686-pc-linux-gnu/include -isystem /remote/beta4/lukasz/gcc-3.4/i686-pc-linux-gnu/sys-include -g -O2 -D_GLIBCXX_ASSERT -ffunction-sections -fdata-sections -fmessage-length=0 -DLOCALEDIR=/remote/beta4/lukasz/gcc2/i686-pc-linux-gnu/libstdc++-v3/po/share/locale -g -O2 -D_GNU_SOURCE -o abi_check abi_check.o -L/remote/beta4/lukasz/gcc2/i686-pc-linux-gnu/libstdc++-v3/src -L/remote/beta4/lukasz/gcc2/i686-pc-linux-gnu/libstdc++-v3/src/.libs -lv3test -L/remote/beta4/lukasz/gcc2/i686-pc-linux-gnu/libstdc++-v3/testsuite -lm -Wl,--rpath -Wl,/remote/beta4/lukasz/gcc2/gcc -Wl,--rpath -Wl,/remote/beta4/lukasz/gcc2/i686-pc-linux-gnu/libstdc++-v3/src/.libs /remote/beta4/lukasz/gcc2/i686-pc-linux-gnu/libstdc++-v3/testsuite/libv3test.a(testsuite_abi.o)(.gnu.linkonce.t._ZN9__gnu_cxx10__mt_allocISsNS_20__common_pool_policyINS_6__poolELb1EEEE10deallocateEPSsj+0x74): In function `compare_symbols': /remote/beta4/lukasz/gcc-3.4.3/libstdc++-v3/libsupc++/new:92: undefined reference to `__gnu_cxx::__pool<true>::_M_reclaim_block(char*, unsigned int)' /remote/beta4/lukasz/gcc2/i686-pc-linux-gnu/libstdc++-v3/testsuite/libv3test.a(testsuite_abi.o)(.gnu.linkonce.t._ZN9__gnu_cxx10__mt_allocIPSsNS_20__common_pool_policyINS_6__poolELb1EEEE10deallocateEPS1_j+0x74):/remote/beta4/lukasz/gcc-3.4.3/libstdc++-v3/libsupc++/new:92: undefined reference to `__gnu_cxx::__pool<true>::_M_reclaim_block(char*, unsigned int)' /remote/beta4/lukasz/gcc2/i686-pc-linux-gnu/libstdc++-v3/testsuite/libv3test.a(testsuite_abi.o)(.gnu.linkonce.t._ZN9__gnu_cxx10__mt_allocISt4pairI6symbolS2_ENS_20__common_pool_policyINS_6__poolELb1EEEE10deallocateEPS3_j+0x74):/remote/beta4/lukasz/gcc-3.4.3/libstdc++-v3/libsupc++/new:92: undefined reference to `__gnu_cxx::__pool<true>::_M_reclaim_block(char*, unsigned int)' /remote/beta4/lukasz/gcc2/i686-pc-linux-gnu/libstdc++-v3/testsuite/libv3test.a(testsuite_abi.o)(.gnu.linkonce.t._ZN9__gnu_cxx10__mt_allocISsNS_20__common_pool_policyINS_6__poolELb1EEEE8allocateEjPKv+0x73): In function `compare_symbols': /remote/beta4/lukasz/gcc2/i686-pc-linux-gnu/libstdc++-v3/include/bits/basic_string.h:269: undefined reference to `__gnu_cxx::__pool<true>::_M_get_thread_id()' /remote/beta4/lukasz/gcc2/i686-pc-linux-gnu/libstdc++-v3/testsuite/libv3test.a(testsuite_abi.o)(.gnu.linkonce.t._ZN9__gnu_cxx10__mt_allocISsNS_20__common_pool_policyINS_6__poolELb1EEEE8allocateEjPKv+0x196): In function `compare_symbols': /remote/beta4/lukasz/gcc2/i686-pc-linux-gnu/libstdc++-v3/include/bits/stl_construct.h:107: undefined reference to `__gnu_cxx::__pool<true>::_M_reserve_block(unsigned int, unsigned int)' /remote/beta4/lukasz/gcc2/i686-pc-linux-gnu/libstdc++-v3/testsuite/libv3test.a(testsuite_abi.o)(.gnu.linkonce.t._ZN9__gnu_cxx10__mt_allocIPNS_15_Hashtable_nodeISt4pairIKSs6symbolEEENS_20__common_pool_policyINS_6__poolELb1EEEE10deallocateEPS7_j+0x74): In function `compare_symbols': /remote/beta4/lukasz/gcc-3.4.3/libstdc++-v3/libsupc++/new:92: undefined reference to `__gnu_cxx::__pool<true>::_M_reclaim_block(char*, unsigned int)' /remote/beta4/lukasz/gcc2/i686-pc-linux-gnu/libstdc++-v3/testsuite/libv3test.a(testsuite_abi.o)(.gnu.linkonce.t._ZN9__gnu_cxx10__mt_allocINS_15_Hashtable_nodeISt4pairIKSs6symbolEEENS_20__common_pool_policyINS_6__poolELb1EEEE10deallocateEPS6_j+0x74):/remote/beta4/lukasz/gcc-3.4.3/libstdc++-v3/libsupc++/new:92: undefined reference to `__gnu_cxx::__pool<true>::_M_reclaim_block(char*, unsigned int)' /remote/beta4/lukasz/gcc2/i686-pc-linux-gnu/libstdc++-v3/testsuite/libv3test.a(testsuite_abi.o)(.gnu.linkonce.t._ZN9__gnu_cxx10__mt_allocISt4pairI6symbolS2_ENS_20__common_pool_policyINS_6__poolELb1EEEE8allocateEjPKv+0x72): In function `compare_symbols': /remote/beta4/lukasz/gcc2/i686-pc-linux-gnu/libstdc++-v3/include/bits/stl_iterator_base_types.h:165: undefined reference to `__gnu_cxx::__pool<true>::_M_get_thread_id()' /remote/beta4/lukasz/gcc2/i686-pc-linux-gnu/libstdc++-v3/testsuite/libv3test.a(testsuite_abi.o)(.gnu.linkonce.t._ZN9__gnu_cxx10__mt_allocISt4pairI6symbolS2_ENS_20__common_pool_policyINS_6__poolELb1EEEE8allocateEjPKv+0x193): In function `compare_symbols': /remote/beta4/lukasz/gcc2/i686-pc-linux-gnu/libstdc++-v3/include/bits/stl_iterator.h:623: undefined reference to `__gnu_cxx::__pool<true>::_M_reserve_block(unsigned int, unsigned int)' /remote/beta4/lukasz/gcc2/i686-pc-linux-gnu/libstdc++-v3/testsuite/libv3test.a(testsuite_abi.o)(.gnu.linkonce.t._ZN9__gnu_cxx10__mt_allocINS_15_Hashtable_nodeISt4pairIKSs6symbolEEENS_20__common_pool_policyINS_6__poolELb1EEEE8allocateEjPKv+0x71): In function `compare_symbols': /remote/beta4/lukasz/gcc2/i686-pc-linux-gnu/libstdc++-v3/include/bits/basic_string.h:261: undefined reference to `__gnu_cxx::__pool<true>::_M_get_thread_id()' /remote/beta4/lukasz/gcc2/i686-pc-linux-gnu/libstdc++-v3/testsuite/libv3test.a(testsuite_abi.o)(.gnu.linkonce.t._ZN9__gnu_cxx10__mt_allocINS_15_Hashtable_nodeISt4pairIKSs6symbolEEENS_20__common_pool_policyINS_6__poolELb1EEEE8allocateEjPKv+0x193): In function `compare_symbols': /remote/beta4/lukasz/gcc2/i686-pc-linux-gnu/libstdc++-v3/include/bits/stl_iterator.h:623: undefined reference to `__gnu_cxx::__pool<true>::_M_reserve_block(unsigned int, unsigned int)' /remote/beta4/lukasz/gcc2/i686-pc-linux-gnu/libstdc++-v3/testsuite/libv3test.a(testsuite_abi.o)(.gnu.linkonce.t._ZN9__gnu_cxx10__mt_allocIPSsNS_20__common_pool_policyINS_6__poolELb1EEEE8allocateEjPKv+0x73): In function `compare_symbols': /remote/beta4/lukasz/gcc2/i686-pc-linux-gnu/libstdc++-v3/include/bits/basic_string.h:269: undefined reference to `__gnu_cxx::__pool<true>::_M_get_thread_id()' /remote/beta4/lukasz/gcc2/i686-pc-linux-gnu/libstdc++-v3/testsuite/libv3test.a(testsuite_abi.o)(.gnu.linkonce.t._ZN9__gnu_cxx10__mt_allocIPSsNS_20__common_pool_policyINS_6__poolELb1EEEE8allocateEjPKv+0x194):/remote/beta4/lukasz/gcc2/i686-pc-linux-gnu/libstdc++-v3/include/bits/basic_string.h:261: undefined reference to `__gnu_cxx::__pool<true>::_M_reserve_block(unsigned int, unsigned int)' /remote/beta4/lukasz/gcc2/i686-pc-linux-gnu/libstdc++-v3/testsuite/libv3test.a(testsuite_abi.o)(.gnu.linkonce.t._ZN9__gnu_cxx10__mt_allocIPNS_15_Hashtable_nodeISt4pairIKSs6symbolEEENS_20__common_pool_policyINS_6__poolELb1EEEE8allocateEjPKv+0x73):/remote/beta4/lukasz/gcc2/i686-pc-linux-gnu/libstdc++-v3/include/bits/basic_string.h:269: undefined reference to `__gnu_cxx::__pool<true>::_M_get_thread_id()' /remote/beta4/lukasz/gcc2/i686-pc-linux-gnu/libstdc++-v3/testsuite/libv3test.a(testsuite_abi.o)(.gnu.linkonce.t._ZN9__gnu_cxx10__mt_allocIPNS_15_Hashtable_nodeISt4pairIKSs6symbolEEENS_20__common_pool_policyINS_6__poolELb1EEEE8allocateEjPKv+0x194):/remote/beta4/lukasz/gcc2/i686-pc-linux-gnu/libstdc++-v3/include/bits/basic_string.h:261: undefined reference to `__gnu_cxx::__pool<true>::_M_reserve_block(unsigned int, unsigned int)' collect2: ld returned 1 exit status You would have to tell me how should I configure gcc-3.4.3 makefiles to compile it with mt_allocator.cc. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19265