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

Mark Abraham mark.j.abraham at gmail.com
Wed Oct 26 01:39:54 CEST 2016


Hi,

Recent clang versions all work great for me in multiple places. ekinstate_t
acquired a destructor only recently, so if something is off in how your
build tree understands dependencies, that error would make sense.
Particularly if you tree is old, I suggest you make clean and try again.

Mark

On Wed, Oct 26, 2016 at 1:35 AM Szilárd Páll <pall.szilard at gmail.com> wrote:

> 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
> --
> Gromacs Developers mailing list
>
> * Please search the archive at
> http://www.gromacs.org/Support/Mailing_Lists/GMX-developers_List before
> posting!
>
> * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
>
> * For (un)subscribe requests visit
> https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-developers
> or send a mail to gmx-developers-request at gromacs.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.sys.kth.se/pipermail/gromacs.org_gmx-developers/attachments/20161025/d2545d1d/attachment.html>


More information about the gromacs.org_gmx-developers mailing list