Help with architecture not supporting SSE (Was: Bug#656755: libhmsbeagle FTBFS on everything except amd64)
I have to admit that I do not have any experience with SSE issues. Any
advise what to do in cases like this (see build logs linked below)?
The error message starts with
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../libhmsbeagle -I/build/buildd-libhmsbeagle_1.0-3-hurd-i386-sfmc4g/libhmsbeagle-1.0 -I/build/buildd-libhmsbeagle_1.0-3-hurd-i386-sfmc4g/libhmsbeagle-1.0 -O3 -c BeagleCPUSSEPlugin.cpp -fPIC -DPIC -o .libs/libhmsbeagle_cpu_sse_la-BeagleCPUSSEPlugin.o
In file included from /build/buildd-libhmsbeagle_1.0-3-hurd-i386-sfmc4g/libhmsbeagle-1.0/libhmsbeagle/CPU/SSEDefinitions.h:37:0,
/usr/lib/gcc/i486-gnu/4.6/include/emmintrin.h:32:3: error: #error "SSE2 instruction set not enabled"
In file included from /build/buildd-libhmsbeagle_1.0-3-hurd-i386-sfmc4g/libhmsbeagle-1.0/libhmsbeagle/CPU/SSEDefinitions.h:39:0,
/usr/lib/gcc/i486-gnu/4.6/include/xmmintrin.h:32:3: error: #error "SSE instruction set not enabled"
In file included from /build/buildd-libhmsbeagle_1.0-3-hurd-i386-sfmc4g/libhmsbeagle-1.0/libhmsbeagle/CPU/BeagleCPU4StateSSEImpl.hpp:44:0,
/build/buildd-libhmsbeagle_1.0-3-hurd-i386-sfmc4g/libhmsbeagle-1.0/libhmsbeagle/CPU/SSEDefinitions.h:52:10: error: '__m128d' does not name a type
/build/buildd-libhmsbeagle_1.0-3-hurd-i386-sfmc4g/libhmsbeagle-1.0/libhmsbeagle/CPU/SSEDefinitions.h:80:2: error: 'V_Real' does not name a type
In file included from /build/buildd-libhmsbeagle_1.0-3-hurd-i386-sfmc4g/libhmsbeagle-1.0/libhmsbeagle/CPU/BeagleCPU4StateSSEImpl.h:240:0,
Any help is welcome
On Sat, Jan 21, 2012 at 09:50:16PM +0000, Adam D. Barratt wrote:
> On Sat, 2012-01-21 at 17:16 +0100, Andreas Tille wrote:
> > On Sat, Jan 21, 2012 at 03:00:25PM +0000, peter green wrote:
> > > It seems things are a little more complex than they first appeared.
> > > In particular it seems libhmsbeagle has a specific "sse2 plugin"
> > > which can only be built with sse2 enabled and that is built even if
> > > --enable-sse=no is passed (which seems like a bug in the upstream
> > > build system to me). Therefore disabling -msse2 has caused the
> > > package to FTBFS everywhere except amd64.
> > >
> > > For non pc architectures I would think the sse2 plugin should simply
> > > be disabled.
> > Do you have any hint how I could find this plugin which should be
> > disabled.
> > A failed build log would probably be helpful. I also have included
> > upstream whether they might be able to give any hint about this issue:
> Predictably, https://buildd.debian.org/status/package.php?p=libhmsbeagle
> has several - the hurd-i386, powerpc and s390x logs all look like they
> fail whilst building libhmsbeagle_cpu_sse_la-BeagleCPUSSEPlugin.lo.