This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: [c++] weird mangling issue
- To: bkoz at redhat dot com (Benjamin Kosnik)
- Subject: Re: [c++] weird mangling issue
- From: Mike Harrold <mharrold at cas dot org>
- Date: Fri, 12 Jan 2001 16:18:23 -0500 (EST)
- Cc: alex at codesourcery dot com, mark at codesourcery dot com, gcc-bugs at gcc dot gnu dot org
>
>
> What are these symbols?
>
> ! _GLOBAL_.I._ZNSsC1EPKcjRKSaIcE_mnt_hd_bliss_src.gcc_libstdc___v3_src_misc_inst.ccOJE2ja t
> ! _GLOBAL_.I._ZNSt6locale5facetD0Ev_mnt_hd_bliss_src.gcc_libstdc___v3_src_locale_inst.ccgQuznc t
> --- 1,14 ----
> ! _GLOBAL_.I._ZNSsC1EPKcjRKSaIcE_mnt_hd_bliss_src.gcc_libstdc___v3_src_misc_inst.ccwAhJxd t
> ! _GLOBAL_.I._ZNSt6locale5facetD0Ev_mnt_hd_bliss_src.gcc_libstdc___v3_src_locale_inst.ccjuOIqd t
>
> I'm trying to track down a shared library bug that is only affecting
> i686 builds, and this is the only difference between i586 and i686 library
> binaries.
>
> If you got to your libstdc++-v3 build dir, and go into src/
>
> if you
>
> nm misc-inst.o |grep 'libstdc___v3_src_'
> nm locale-inst.o |grep 'libstdc___v3_src_'
>
> you'll see these on your local builds too.
>
>
> cd /mnt/hd/ahimsa/bld-x86-gcc/i686-pc-linux-gnu/libstdc++-v3/src
> %nm misc-inst.o |grep 'libstdc___v3_src_'
> 00000000 t _GLOBAL_.I._ZNSsC1EPKcjRKSaIcE_mnt_hd_bliss_src.gcc_libstdc___v3_src_misc_inst.ccngErHe
>
> %nm locale-inst.o | grep 'libstdc___v3_src_'
> 00000000 t _GLOBAL_.I._ZNSt6locale5facetD0Ev_mnt_hd_bliss_src.gcc_libstdc___v3_src_locale_inst.cc3tGCqc
>
>
> Furthermore the *.cc* bits seem to change with every compiler
> invocation. Memory error in the demangling code, or something stupid
> I've done?
They're nonymous (local) namespace mangled names.
Regards,
/Mike