Thank you for your reply. Did you configured GCC with --enable-shared option? 2011/4/20 Kai Ruottu <kai.ruottu@xxxxxxxxxxx>: > 19.4.2011 18:49, Qi Zuo kirjoitti: > >> BTW, nm check also shows that the libstdc++.so.6 has following >> attribute the same as the GCC4.6.0 built with seperate GMP,MPFR and >> MPC. >> >> -bash-3.00$ nm /lab/home/zuoqi/gccfull/gcc-gnu/lib/libstdc++.so.6|grep >> cout >> 000e1050 b _ZN14__gnu_internal13buf_cout_syncE >> 000e0db0 b _ZN14__gnu_internal14buf_wcout_syncE >> 000e0f48 b _ZN14__gnu_internal8buf_coutE >> 000e0ca0 b _ZN14__gnu_internal9buf_wcoutE >> 000e13e0 b _ZSt4cout >> 000e1198 B _ZSt5wcout > > In my cross gcc-4.6.0 for sparc-solaris2.10 on Linux/x86 this is : > > [root@localhost 4.6.0]# sparc-solaris2.10-nm libstdc++.so.6.0.15 | grep cout > 000b6308 b _ZN14__gnu_internal13buf_cout_syncE > 000b6068 b _ZN14__gnu_internal14buf_wcout_syncE > 000b6200 b _ZN14__gnu_internal8buf_coutE > 000b5f58 b _ZN14__gnu_internal9buf_wcoutE > 000b6698 B _ZSt4cout > 000b6450 B _ZSt5wcout > > My (Linux) binutils version (from ftp.kernel.org) is : > > [root@localhost 4.6.0]# cd /usr/local/sparc-solaris2.10/bin > [root@localhost bin]# ./ld -V > GNU ld (Linux/GNU Binutils) 2.20.51.0.8.20100412 > Supported emulations: > elf32_sparc_sol2 > elf32_sparc > elf64_sparc_sol2 > elf64_sparc > > Not the newest 'binutils-2.21'. Maybe this is a problem with the > newer binutils... > -- Regards Qi Zuo School Of Computer Science and Technology Beijng Institute of Technology, China, 100081