This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [c++] weird mangling issue


> 
> 
> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]