From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCHES] Add vsearch. Date: Thu, 01 Oct 2015 16:05:53 +0200 Message-ID: <87612qof9a.fsf@gnu.org> References: <560B14F2.7010103@uq.edu.au> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46557) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZheUo-0006Mr-8f for guix-devel@gnu.org; Thu, 01 Oct 2015 10:06:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZheUi-0006wP-D9 for guix-devel@gnu.org; Thu, 01 Oct 2015 10:06:06 -0400 In-Reply-To: <560B14F2.7010103@uq.edu.au> (Ben Woodcroft's message of "Wed, 30 Sep 2015 08:47:14 +1000") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ben Woodcroft Cc: "guix-devel@gnu.org" Vsearch fails to build on platforms other than x86_64 (see ): --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-unkn= own-linux-gnu/4.9.3/include/emmintrin.h:686:1: error: inlining failed in ca= ll to always_inline =C3=83=C2=A2=C3=82=E2=82=AC=C3=82=CB=9C__m128i _mm_load= _si128(const __m128i*)=C3=83=C2=A2=C3=82=E2=82=AC=C3=82=E2=84=A2: target sp= ecific option mismatch _mm_load_si128 (__m128i const *__P) ^ align_simd.cc:204:71: error: called from here xmm1 =3D _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? TIA, Ludo=E2=80=99.