all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Ben Woodcroft <b.woodcroft@uq.edu.au>
Cc: "guix-devel@gnu.org" <guix-devel@gnu.org>
Subject: Re: [PATCHES] Add vsearch.
Date: Thu, 01 Oct 2015 16:05:53 +0200	[thread overview]
Message-ID: <87612qof9a.fsf@gnu.org> (raw)
In-Reply-To: <560B14F2.7010103@uq.edu.au> (Ben Woodcroft's message of "Wed, 30 Sep 2015 08:47:14 +1000")

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?

TIA,
Ludo’.

  reply	other threads:[~2015-10-01 14:06 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-29 22:47 [PATCHES] Add vsearch Ben Woodcroft
2015-10-01 14:05 ` Ludovic Courtès [this message]
2015-10-01 19:41   ` Andreas Enge
2015-10-02 11:40     ` Ricardo Wurmus
2015-10-02 18:05       ` Andreas Enge
2015-10-03  1:59   ` Ben Woodcroft
2015-10-03 12:00     ` Andreas Enge
2015-10-03 20:50     ` Ludovic Courtès
  -- strict thread matches above, loose matches on Subject: below --
2015-09-29 12:24 Ben Woodcroft
2015-09-30  2:44 ` Ben Woodcroft
2015-09-30  8:37 ` Ben Woodcroft
2015-10-01  8:55   ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87612qof9a.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=b.woodcroft@uq.edu.au \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.