[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 02:25:03 CEST 2016
Hi,
My tree was brand new, but I tried fresh: cloned a clean source, configured with
CC=clang-3.9 CXX=clang++-3.9 cmake ../ -DGMX_FFT_LIBRARY=fftpack && make -j8
and I'm still getting the same error.
--
Szilárd
On Wed, Oct 26, 2016 at 1:39 AM, Mark Abraham <mark.j.abraham at gmail.com> wrote:
> 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.
>
>
> --
> 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.
More information about the gromacs.org_gmx-developers
mailing list