On Sat, Mar 19, 2011 at 10:19:04AM +0100, Jakub Jelinek wrote: > On Wed, Mar 16, 2011 at 10:05:41AM -0700, Benjamin Kosnik wrote: > > > > Here's the 4_6-branch version, approved by Jakub. > > Comparing the additions in x86_64-linux libstdc++, I still see a couple of > wrong exports, in particular since gcc 4.5 the following symbols > > _ZTIn@@CXXABI_1.3 OBJECT WEAK DEFAULT 16 > _ZTIo@@CXXABI_1.3 OBJECT WEAK DEFAULT 16 > _ZTIPKn@@CXXABI_1.3 OBJECT WEAK DEFAULT 32 > _ZTIPKo@@CXXABI_1.3 OBJECT WEAK DEFAULT 32 > _ZTIPn@@CXXABI_1.3 OBJECT WEAK DEFAULT 32 > _ZTIPo@@CXXABI_1.3 OBJECT WEAK DEFAULT 32 > _ZTSn@@CXXABI_1.3 OBJECT WEAK DEFAULT 2 > _ZTSo@@CXXABI_1.3 OBJECT WEAK DEFAULT 2 > _ZTSPKn@@CXXABI_1.3 OBJECT WEAK DEFAULT 4 > _ZTSPKo@@CXXABI_1.3 OBJECT WEAK DEFAULT 4 > _ZTSPn@@CXXABI_1.3 OBJECT WEAK DEFAULT 3 > _ZTSPo@@CXXABI_1.3 OBJECT WEAK DEFAULT 3 > > were added. Those surely need to go into CXXABI_1.3.5, not CXXABI_1.3, > as they weren't exported in gcc 3.4 (nor 4.5). > Plus, I believe we aren't exporting new _ZTS* symbols for some time, only > _ZTI*, right?
And another question is, we still export a bunch of new _ZTS* symbols, isn't that now pointless when we always do strcmp anyway? I'm talking about _ZTSSt16nested_exception@@CXXABI_1.3.5 OBJECT WEAK DEFAULT 21 _ZTSNSt13__future_base11_State_baseE@@GLIBCXX_3.4.15 OBJECT WEAK DEFAULT 33 _ZTSNSt13__future_base12_Result_baseE@@GLIBCXX_3.4.15 OBJECT WEAK DEFAULT 34 _ZTSSt11regex_error@@GLIBCXX_3.4.15 OBJECT WEAK DEFAULT 16 _ZTSSt12bad_weak_ptr@@GLIBCXX_3.4.15 OBJECT WEAK DEFAULT 17 _ZTSSt17bad_function_call@@GLIBCXX_3.4.15 OBJECT WEAK DEFAULT 22 here. Jakub