On Monday 2013-10-21 14:44, Sascha Peilicke wrote:
I would like to know if we have any general hardware support statements. I'm currently staring at a maintenance update that disables SSE2 support on certain software because the CPU doesn't support it. The manufacturing of that CPU stopped in 2004, so I'm not really sure what to think of it. Any thoughts?
Are you talking about the devel:libraries:c_c++/xerces-c case? I don't know what was going on there, because Hrvoje did not bother to add an explanation into the .spec as to _why_ SSE2 got disabled (nor is the bug report accessible) other than just telling us "the (SLE) customer says this fixes it". Fixes what? Now, the general support statement is "i586", and the definition of i586 means it has to cope without SSE,AVX, etc. Where I see problems: 1. software that inserts -march=native into the command line after our CFLAGS 2. software that inserts -mmmx, -msse/2/3, -mavx unconditionally 3. openSUSE prjconf lacks specifying -mno-mmx, -mno-sse etc. (but so far we have not needed that) 4. software that runs SSE assembler lines without checking CPUID In case #1, we would edit the Makefilery to not override user CFLAGS and then send it to the upstream maintainer, and the story ends. In case #4, which occurs at times, such as in /games/zdbsp - and which is probably also the reason for xerces-c - we just disable MMX/SSE/etc. for i586. Or, if $editor has the patience, makes a patch to put a cpuid check around it, like software {ought to do it and normally does}. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org