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

Andreas Tille andreas at an3as.eu
Sun Mar 27 16:00:10 UTC 2016


On Sun, Mar 27, 2016 at 02:49:32PM +0200, Adam Borowski wrote:
> 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.

I have understood the -msse2 issue but I was wondering about the
additional problem with emmintrin.h mentioned in the original mail. 

Kind regards and thanks for your response anyway

    Andreas.

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list