Menu

#207 Illegal instructions due to SSE compile options

open
nobody
None
5
2012-04-22
2012-04-22
No

Devil 1.7.8 compile tests the -msse, -msse2 and -msse3 options but does no actual runtime test and hence always built itself with them if GCC supports them. However this causes illegal instructions on CPUs which do not support them (such as mine).

As there is no actual SSE assembly code or defines in Devil itself I would suggest removing these tests and leaving users own CFLAGS/CXXFLAGS to decide whether to use any SSE compile options. Same would apply to the -faltivec -maltivec options I presume.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB