guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCHES] Add vsearch.


From: Ben Woodcroft
Subject: Re: [PATCHES] Add vsearch.
Date: Sat, 3 Oct 2015 11:59:33 +1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0



On 02/10/15 00:05, Ludovic Courtès wrote:
Vsearch fails to build on platforms other than x86_64 (see
<http://hydra.gnu.org/build/703292/nixlog/2/raw>):

--8<---------------cut here---------------start------------->8---
In file included from 
/gnu/store/r0p8d0a3n2zlkj1l5a9xv368yhbgc5bh-gcc-4.9.3-lib/lib/gcc/i686-unknown-linux-gnu/4.9.3/include/xmmintrin.h:1258:0,
                  from 
/gnu/store/r0p8d0a3n2zlkj1l5a9xv368yhbgc5bh-gcc-4.9.3-lib/lib/gcc/i686-unknown-linux-gnu/4.9.3/include/x86intrin.h:31,
                  from vsearch.h:69,
                  from align_simd.cc:61:
/gnu/store/r0p8d0a3n2zlkj1l5a9xv368yhbgc5bh-gcc-4.9.3-lib/lib/gcc/i686-unknown-linux-gnu/4.9.3/include/emmintrin.h:686:1:
 error: inlining failed in call to always_inline ‘__m128i 
_mm_load_si128(const __m128i*)’: target specific option mismatch
  _mm_load_si128 (__m128i const *__P)
  ^
align_simd.cc:204:71: error: called from here
        xmm1  = _mm_load_si128((__m128i*)(score_matrix_word + d[1] + i));
--8<---------------cut here---------------end--------------->8---

My impression is that the code unconditionally uses SSE, meaning that it
works only on x86_64.

Could you investigate a bit?  If that is the case, could you send a
patch that adds:

   (supported-platforms '("x86_64-linux"))

with a comment explaining why?
I think you are right, I have attached the patch.

I also noticed that the license definition was changed from the first patch applied, removing the public-domain license i.e. from

+    (license (list license:gpl3 license:bsd-2 license:public-domain))))

to

+    (license (list license:gpl3 license:bsd-2))))

Of course you know what you are doing, I just wanted to check because this changed between the patches I submitted for 1.4.0 and 1.4.1.

Thanks,
ben

Attachment: 0001-gnu-vsearch-Restrict-supported-systems-to-x86_64-lin.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]