[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help with new version of iqtree needed



On Thu, 2016-03-10 at 14:39 +0100, Andreas Tille wrote:
> Hi,
> 
> I#m facing a C++ problem with the new version of iqtree.  If I build the
> current state in Git[1] I get:
> 
> ...
> [  7%] Building C object pll/CMakeFiles/pll.dir/evaluateGenericSpecial.c.o
> cd /build/iqtree-1.4.0+dfsg/obj-x86_64-linux-gnu/pll && /usr/bin/cc  -DIQ_TREE -D_USE_PTHREADS -D__SSE3 -I/build/iqtree-1.4.0+dfsg -I/build/iqtree-1.4.0+dfsg/obj-x86_64-linux-gnu  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -pthread    -o CMakeFiles/pll.dir/evaluateGenericSpecial.c.o   -c /build/iqtree-1.4.0+dfsg/pll/evaluateGenericSpecial.c
> In file included from /build/iqtree-1.4.0+dfsg/pll/evaluateGenericSpecial.c:46:0:
> /build/iqtree-1.4.0+dfsg/pll/pllInternal.h:150:30: warning: inline function 'bitcount_64_bit' declared but never defined
>  extern __inline unsigned int bitcount_64_bit(uint64_t i);
>                               ^
> In file included from /build/iqtree-1.4.0+dfsg/pll/pll.h:79:0,
>                  from /build/iqtree-1.4.0+dfsg/pll/mem_alloc.h:16,
>                  from /build/iqtree-1.4.0+dfsg/pll/evaluateGenericSpecial.c:31:
> /build/iqtree-1.4.0+dfsg/pll/evaluateGenericSpecial.c: In function 'evaluateGTRCATPROT':
> /usr/lib/gcc/x86_64-linux-gnu/5/include/pmmintrin.h:86:1: error: inlining failed in call to always_inline '_mm_hadd_pd': target specific option mismatch
>  _mm_hadd_pd (__m128d __X, __m128d __Y)
>  ^

_mm_hadd_pd is a sse3 intrinsic so you have to pass -msse3 to allow GCC
to use it. However, this will cause a SIGILL on any amd64/i386
processor without sse3 so instead the code should be replaced with
something more portable.

James

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: