InsightToolkit fails to build on rawhide due to missing SSE instructions

Dominik 'Rathann' Mierzejewski dominik at greysector.net
Thu May 21 16:49:12 UTC 2015


On Thursday, 21 May 2015 at 17:06, Bruno Wolff III wrote:
> On Thu, May 21, 2015 at 13:21:19 +0200,
>  Sebastian Pölsterl <sebp at k-d-w.org> wrote:
> >
> >I'm currently struggling to get InsightToolkit to build again for
> >rawhide. Currently, the problem is that it cannot detect SSE
> >instructions when using koji [1]. It worked for a previous build [2] and
> >still works when doing mockbuild locally.
> 
> Aren't you supposed to test for SSE at runtime? Just because the
> machine doing the build has or doesn't have SSE, doesn't mean the
> machine that eventually runs the code will.

Exactly. You cannot rely on SSE being present at build time for i686 builds.
x86_64.

Also, I can see in the log from the successful build that the same tests
failed there as well, so the issue must be somewhere else:

https://kojipkgs.fedoraproject.org//packages/InsightToolkit/4.7.1/4.fc23/data/logs/i686/build.log
[...]
-- Performing Test ITK_COMPILER_SUPPORTS_SSE2_64
-- Performing Test ITK_COMPILER_SUPPORTS_SSE2_64 - Failed
-- Performing Test ITK_COMPILER_SUPPORTS_SSE2_32
-- Performing Test ITK_COMPILER_SUPPORTS_SSE2_32 - Failed
-- Performing Test ITK_COMPILER_DOES_NOT_NEED_MSSE2_FLAG
-- Performing Test ITK_COMPILER_DOES_NOT_NEED_MSSE2_FLAG - Failed
[...]

Regards,
Dominik
-- 
Fedora http://fedoraproject.org/wiki/User:Rathann
RPMFusion http://rpmfusion.org | MPlayer http://mplayerhq.hu
"Faith manages."
        -- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"


More information about the devel mailing list