libstdc++ baseline updates for 3.4/HEAD

B. Kosnik bkoz@nabi.net
Wed Jun 23 18:19:00 GMT 2004


Matthias,

I'm working on getting access to additional arches.

This difference still puzzles me, however.

%as --version
GNU assembler 2.15.90 20040401

%ld --version
GNU ld version 2.15.90 20040401

glibc-2.3.3-27

>started with gcc-3.4.0 build, configured with --enable-languages=c++
>--enable-__cxa_atexit --enable-clocale=gnu i486-linux
>
>- seems with our version of glibc (patched 2.3.2), --enable-clocale=gnu
>  is explicitely needed, without it the configury fails back to generic.

Ok

>- the --enable-__cxa_atexit is/should be default?

Yes

>the comparison <yours> <my> is down to
>
>-FUNC:_ZNSdC1EPSt15basic_streambufIcSt11char_traitsIcEE@@GLIBCXX_3.4
>-FUNC:_ZNSdC1Ev@@GLIBCXX_3.4
>-FUNC:_ZNSdC2EPSt15basic_streambufIcSt11char_traitsIcEE@@GLIBCXX_3.4
>-FUNC:_ZNSdC2Ev@@GLIBCXX_3.4
>-FUNC:_ZNSdD0Ev@@GLIBCXX_3.4
>-FUNC:_ZNSdD1Ev@@GLIBCXX_3.4
>-FUNC:_ZNSdD2Ev@@GLIBCXX_3.4
>
>are these glibc related as well?

No! This is the part that puzzles me. These are explicitly instantiated
in io-inst.o: you should see weak symbols in that object file.

%objdump -t io-inst.o | grep _ZNSdC2Ev
00000000 l    d  .gnu.linkonce.t._ZNSdC2Ev      00000000
00000000  w    F .gnu.linkonce.t._ZNSdC2Ev      00000045 _ZNSdC2Ev

%c++filt _ZNSdD1Ev
std::basic_iostream<char, std::char_traits<char> >::~basic_iostream()

-benjamin



More information about the Libstdc++ mailing list