[Debian-med-packaging] Bug#779564: gmap: FTBFS for i386 in sbuild and Ubuntu buildds

Graham Inggs graham at nerve.org.za
Mon Mar 2 11:38:27 UTC 2015


Source: gmap
Version: 2014-10-22-1
Severity: normal
Tags: patch

Hi maintainer

I found that gmap FTBFS for i386 in sbuild (on amd64) and the Ubuntu 
buildds [1] with the following errors:

gmap-genome128_hr.o: In function `count_trailing_zeroes':
/build/buildd/gmap-2014-10-22/src/genome128_hr.c:18454: undefined 
reference to `_mm_extract_epi64'
/build/buildd/gmap-2014-10-22/src/genome128_hr.c:18457: undefined 
reference to `_mm_extract_epi64'
gmap-genome128_hr.o: In function `count_leading_zeroes':
/build/buildd/gmap-2014-10-22/src/genome128_hr.c:18394: undefined 
reference to `_mm_extract_epi64'
/build/buildd/gmap-2014-10-22/src/genome128_hr.c:18397: undefined 
reference to `_mm_extract_epi64'

However, gmap builds successfully in a i386 VM.
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.
The attached patch simply disables sse4.1 and sse4.2 when building for i386.

Note that --disable-sse4.2 is ignored in gmap 2014-10-22 but is 
effective in gmap 2014-12-21.

Regards
Graham


[1] 
https://launchpadlibrarian.net/196455231/buildlog_ubuntu-vivid-i386.gmap_2014-10-22-1_FAILEDTOBUILD.txt.gz

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gmap-fix-i386-ftbs.diff
Type: text/x-diff
Size: 808 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20150302/2c9c1c03/attachment.diff>


More information about the Debian-med-packaging mailing list