Menu

#5 4.3 broken and errors in 32bits compilation

open
nobody
None
5
2008-10-29
2008-10-29
No

I have already posted that in the help list, but it will be better here.
The problem arises with:
kubuntu 8.04
gcc/g++ from snapshot gcc-4.3-20081016

make "BITNESS=32" "CP_FLAGS=-mssse3"

SSEPlus-0.3.67 it is also broken for 32 bits sytems ( it is reported broken for 64 bits in an other post on the help list)

from ../../../SSEPlus/include/SSEPlus.h:10,
from main.cpp:8:
../../../SSEPlus/include/emulation/SSEPlus_emulation_REF.h:3189: error: integer constant is too large for long type
In file included from ../../../SSEPlus/include/native/SSEPlus_native_SSE4a.h:9,
from ../../../SSEPlus/include/SSEPlus_SSE4a.h:9,
from ../../../SSEPlus/include/SSEPlus.h:20,
from main.cpp:8:
/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/include/ammintrin.h:34:3: error: #error "SSE4A instruction set not enabled"
In file included from ../../../SSEPlus/include/native/SSEPlus_native_SSE4.1.h:9,
from ../../../SSEPlus/include/SSEPlus_SSE4.1.h:9,
from ../../../SSEPlus/include/SSEPlus.h:24,
from main.cpp:8:
/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/include/smmintrin.h:34:3: error: #error "SSE4.1 instruction set not enabled"
In file included from ../../../SSEPlus/include/SSEPlus.h:32,
from main.cpp:8:
../../../SSEPlus/include/SSEPlus_SSE5.h:9:40: error: native/SSEPlus_native_SSE5.h: Aucun fichier ou dossier de ce type

the first error (is an example of one in 50) can be corrected. There is about 50 integer constants that need a "ll" extension to be properly compiled in a 32bits envvironment.
(this is also an error with gcc 4.2)
I have done ithe corrections and can post the corrected include files if needed

The last error is a misspelling of SSEPlus_SSE5.h which is spelled sseplus_SSE5.h in the directory. It can be easily amended.

after that "SSE4A instruction set not enabled", etc. persist for the 4.3 gcc/g++ compiler.

C_sanity and UnitTest compile well with a gcc/g++ 4.2 version (after the corrections).

Discussion


Log in to post a comment.

MongoDB Logo MongoDB