[gmx-developers] master branch link fails with clang 3.7/3.8/3.9

Szilárd Páll pall.szilard at gmail.com
Wed Oct 26 01:35:34 CEST 2016


Hi,

I'm trying to build the current master (4aac8fa2) with clang and I'm
getting the followign strange errors with 3.7-3.9; bulds fine with gcc
48, 5, and 6.

[...]
[100%] Linking CXX executable ../../bin/gmx
[100%] Linking CXX executable ../../bin/template
[100%] Built target template
CMakeFiles/mdrun_objlib.dir/mdrun/md.cpp.o: In function `t_state::~t_state()':
/home/pszilard/projects/gromacs/gromacs-master/src/programs/mdrun/md.cpp:(.text._ZN7t_stateD2Ev[_ZN7t_stateD2Ev]+0x1d):
undefined reference to `ekinstate_t::~ekinstate_t()'
clang-3.7: error: linker command failed with exit code 1 (use -v to
see invocation)
[...]

Strangely, we have both 3.7 and 3.8 in the jenkins matrix. Any ideas?

Cheers,
--
Szilárd


More information about the gromacs.org_gmx-developers mailing list