[Mplayer-users] Processor detection in configure on SMP systems

Martin Aumueller lists at reserv.at
Thu Jul 12 22:59:04 CEST 2001


Hi!

Processor detection on Linux SMP systems does not work: all the entries
in /proc/cpuinfo are duplicated for each cpu. So all the values end up
two times in the variables like $pvendor, ... in the configure script.
And because of this it doesn't work. But as Linus says that all CPUs
have to be the same it should be enough to discard the entries for all 
cpus but the first.

As an example of such a /proc/cpuinfo I have mine attached.

I'd be glad if this could be fixed, but in any case thanks for the cool
player.

Martin
-------------- next part --------------
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 5
model name	: Pentium II (Deschutes)
stepping	: 2
cpu MHz		: 348.210
cache size	: 512 KB
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 2
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr
bogomips	: 694.68

processor	: 1
vendor_id	: GenuineIntel
cpu family	: 6
model		: 5
model name	: Pentium II (Deschutes)
stepping	: 2
cpu MHz		: 348.210
cache size	: 512 KB
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 2
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr
bogomips	: 696.32



More information about the MPlayer-users mailing list