[gmx-developers] C++ Address mangling

David van der Spoel spoel at xray.bmc.uu.se
Sun Dec 13 10:57:11 CET 2015


Hi,

I'm trying to link my development branch to OpenBabel but have problems 
with name mangling.

In openbabel
% nm libopenbabel.so | grep NextBond
00000000005f4c6a T 
_ZN9OpenBabel5OBMol8NextBondERN11__gnu_debug14_Safe_iteratorIN9__gnu_cxx17__normal_iteratorIPPNS_6OBBondENSt6__norm6vectorIS6_SaIS6_EEEEENSt7__debug6vectorIS6_SA_EEEE 


In gromacs branch
% nm lib/libAlexandria.so | grep NextBond
U 
_ZN9OpenBabel5OBMol8NextBondERN9__gnu_cxx17__normal_iteratorIPPNS_6OBBondESt6vectorIS4_SaIS4_EEEE

The compilers are the same in both cases (gcc-4.8.2)

Any clues why name mangling could be different?

Thanks!
-- 
David van der Spoel, Ph.D., Professor of Biology
Dept. of Cell & Molec. Biol., Uppsala University.
Box 596, 75124 Uppsala, Sweden. Phone:	+46184714205.
spoel at xray.bmc.uu.se    http://folding.bmc.uu.se


More information about the gromacs.org_gmx-developers mailing list