[Debian-med-packaging] Bug#818505: sortmerna FTBFS on !x86

Adam Borowski kilobyte at angband.pl
Sun Mar 27 12:49:32 UTC 2016


On Sun, Mar 27, 2016 at 07:31:23AM +0200, Andreas Tille wrote:
> On Thu, Mar 17, 2016 at 05:04:21PM +0000, Jurica Stanojkovic wrote:
> > Package sortmerna FTBFS on archs not in x86 group (amd64, i386, x32, etc. )
> > with following error:
> > gcc: error: unrecognized command line option '-msse2'
> > 
> > build logs:
> > https://buildd.debian.org/status/logs.php?pkg=sortmerna&ver=2.1-1&suite=sid
> > 
> > Package use -msse2 for all architectures, 
> > but not all archs have support for sse2 instruction set.
> > 
> > if -msee2 flag is removed from build next error reported is:
> > src/ssw.c:45:23: fatal error: emmintrin.h: No such file or directory
> 
> As far as I can see this might restrict the package to intel
> architectures.  If there is no hint how to build on those other
> architectures I'd restrict the architectures to these.

You're not allowed to use -msse2 on i386 either, unless for a code path
that's run conditionally on runtime.

And on amd64 and x32, -msse2 is redundant as it's already implied by default
compiler settings for those architectures.

-- 
A tit a day keeps the vet away.



More information about the Debian-med-packaging mailing list