On three different systems, the cpuinfo.sh is passing the wrong FLAGS
to the make file.
For this CPU -
cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 23
model name      : Intel(R) Core(TM)2 Duo CPU     E8400  @ 3.00GHz
stepping        : 6
cpu MHz         : 2999.718
cache size      : 6144 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
apicid          : 0
initial apicid  : 0
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm
constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx smx est tm2
ssse3 cx16 xtpr sse4_1 lahf_lm
bogomips        : 6002.46
clflush size    : 64

---------- other core muted ---------------

With gcc 4.3.3 and 4.2.3 passing --build/host=i686 these flags are written -
-march=i686 -mcpu=i686. -mcpu is no longer used.

Same cpu with gcc and no --build/host being passed
-march=nocona -mtune=nocona <--------- These are for 64bit systems
only. I'm using 32bit. Should be prescott or core2 for gcc 4.3+

For this CPU -
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 15
model           : 44
model name      : AMD Sempron(tm) Processor 3000+
stepping        : 2
cpu MHz         : 1808.082
cache size      : 128 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt lm
3dnowext 3dnow up pni
bogomips        : 3616.16
clflush size    : 64

Same gcc's with  no --build/host
-march=k8 -mtune=k8 <----- might be ok. -march=athlon-xp -msse3 is
what I've found to give the best results.


With --build/host=i686
-march=i686 -mcpu=i686 <--------- wrong.

I've been using sed to edit the make for for some time now (pre .rc2)
It is still happening in 1.9.0.

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to