On Tuesday 2013-10-22 16:24, Jan Engelhardt wrote:
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 #4, which occurs at times, such as in /games/zdbsp[...] we just disable MMX/SSE/etc. for i586.
Everybody note that this is not a problem specific to i586. x86_64 only specifies the set of {MMX,SSE,SSE2}. Once software pops up that unconditionally includes or runs AVX, FM3/FM4, you will eventually have to write %configure \ %ifarch x86_64 %ix86 --disable-avx %endif It is not even limited to x86ish. Think %configure \ %ifarch sparc64 --disable-vis3 # T4 and up %endif %configure \ %ifarch ppc ppc64 --disable-vsx # POWER7 and up %endif (or make a cpuid-testing patch). -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org