On Tue, Jan 14, 2014 at 11:09:09AM +0100, Matthias Klose wrote:

> when building on i386:
> 
> cd /build/buildd/glm-0.9.5.0/obj-i686-linux-gnu/test/gtx && /usr/bin/c++
> -D_CRT_SECURE_NO_WARNINGS -O2 -g -DNDEBUG -I/build/buildd/glm-0.9.5.0/.
> -I/build/buildd/glm-0.9.5.0/./test/external    -pedantic -o
> CMakeFiles/test-gtx_associated_min_max.dir/gtx_associated_min_max.cpp.o -c
> /build/buildd/glm-0.9.5.0/test/gtx/gtx_associated_min_max.cpp
> In file included from
> /build/buildd/glm-0.9.5.0/test/gtx/gtx_associated_min_max.cpp:10:0:
> /usr/lib/gcc/i686-linux-gnu/4.8/include/emmintrin.h:31:3: error: #error "SSE2
> instruction set not enabled"
>  # error "SSE2 instruction set not enabled"
>    ^
> 
> This is not just for the glm build, but every package build-depending on this
> will ftbfs on i386.

I don't think reverse depends will FTBFS. The problem is that the tests (which
are only run at build time and are not in any way included in the binary
packages) unconditionally #include <emmintr.h>. Could you try removing those
#includes from glm-0.9.5.0/test/gtx/*.cpp, and try building again?

-- 
Met vriendelijke groet / with kind regards,
      Guus Sliepen <g...@debian.org>

Attachment: signature.asc
Description: Digital signature

Reply via email to