<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 03/02/2015 12:38 PM, Graham Inggs
wrote:<br>
</div>
<blockquote cite="mid:54F44BB3.5080804@nerve.org.za" type="cite">Source:
gmap
<br>
Version: 2014-10-22-1
<br>
Severity: normal
<br>
Tags: patch
<br>
<br>
Hi maintainer
<br>
<br>
I found that gmap FTBFS for i386 in sbuild (on amd64) and the
Ubuntu buildds [1] with the following errors:
<br>
<br>
gmap-genome128_hr.o: In function `count_trailing_zeroes':
<br>
/build/buildd/gmap-2014-10-22/src/genome128_hr.c:18454: undefined
reference to `_mm_extract_epi64'
<br>
/build/buildd/gmap-2014-10-22/src/genome128_hr.c:18457: undefined
reference to `_mm_extract_epi64'
<br>
gmap-genome128_hr.o: In function `count_leading_zeroes':
<br>
/build/buildd/gmap-2014-10-22/src/genome128_hr.c:18394: undefined
reference to `_mm_extract_epi64'
<br>
/build/buildd/gmap-2014-10-22/src/genome128_hr.c:18397: undefined
reference to `_mm_extract_epi64'
<br>
<br>
However, gmap builds successfully in a i386 VM.
<br>
After comparing build logs, I found that sse4.1 was detected and
enabled in the sbuild and Ubuntu buildds, while in the i386 VM it
was not.
<br>
The attached patch simply disables sse4.1 and sse4.2 when building
for i386.
<br>
<br>
Note that --disable-sse4.2 is ignored in gmap 2014-10-22 but is
effective in gmap 2014-12-21.
<br>
<br>
Regards
<br>
Graham
<br>
<br>
<br>
[1]
<a class="moz-txt-link-freetext" href="https://launchpadlibrarian.net/196455231/buildlog_ubuntu-vivid-i386.gmap_2014-10-22-1_FAILEDTOBUILD.txt.gz">https://launchpadlibrarian.net/196455231/buildlog_ubuntu-vivid-i386.gmap_2014-10-22-1_FAILEDTOBUILD.txt.gz</a><br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Debian-med-packaging mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Debian-med-packaging@lists.alioth.debian.org">Debian-med-packaging@lists.alioth.debian.org</a>
<a class="moz-txt-link-freetext" href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-packaging">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-packaging</a></pre>
</blockquote>
<br>
<br>
Hi Graham, <br>
<br>
thank you for the patch, I'll upload the newest upstream version to
the experimental soon.<br>
<br>
Best regards, <br>
Alex<br>
</body>
</html>