[Debian-med-packaging] Bug#656755: Bug#656755: Help with architecture not supporting SSE (Was: Bug#656755: libhmsbeagle FTBFS on everything except amd64)

Olivier Sallou olivier.sallou at irisa.fr
Mon Jan 23 08:30:55 UTC 2012


Le 1/22/12 2:31 PM, Andreas Tille a écrit :
> Hi,
>
> 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)?
SSE is not supported on all architecture.
Hurd is one among others.
If code makes use of SSE with no fallback option, then it is not
supported on this architecture.

configure etc... can detect if SSE is supported on current arch, and
sets SSE_ENABLED or something like that in config.h,but of course, code
must manage this and fallback to non-sse code in this case, if any.....

> 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,
>                  from /build/buildd-libhmsbeagle_1.0-3-hurd-i386-sfmc4g/libhmsbeagle-1.0/libhmsbeagle/CPU/BeagleCPU4StateSSEImpl.hpp:44,
>                  from /build/buildd-libhmsbeagle_1.0-3-hurd-i386-sfmc4g/libhmsbeagle-1.0/libhmsbeagle/CPU/BeagleCPU4StateSSEImpl.h:240,
>                  from BeagleCPUSSEPlugin.cpp:9:
> /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,
>                  from /build/buildd-libhmsbeagle_1.0-3-hurd-i386-sfmc4g/libhmsbeagle-1.0/libhmsbeagle/CPU/BeagleCPU4StateSSEImpl.hpp:44,
>                  from /build/buildd-libhmsbeagle_1.0-3-hurd-i386-sfmc4g/libhmsbeagle-1.0/libhmsbeagle/CPU/BeagleCPU4StateSSEImpl.h:240,
>                  from BeagleCPUSSEPlugin.cpp:9:
> /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,
>                  from /build/buildd-libhmsbeagle_1.0-3-hurd-i386-sfmc4g/libhmsbeagle-1.0/libhmsbeagle/CPU/BeagleCPU4StateSSEImpl.h:240,
>                  from BeagleCPUSSEPlugin.cpp:9:
> /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,
>                  from BeagleCPUSSEPlugin.cpp:9:
>
> Any help is welcome
>
>      Andreas.
>
> 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.
>>
>> Regards,
>>
>> Adam
>>
>>

-- 
Olivier Sallou
IRISA / University of Rennes 1
Campus de Beaulieu, 35000 RENNES - FRANCE
Tel: 02.99.84.71.95

gpg key id: 4096R/326D8438  (pgp.mit.edu)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438







More information about the Debian-med-packaging mailing list