[SciPy-user] g77 sse2 problem back(?) with fedora 5

Mark Heslep mark at mitre.org
Tue Mar 21 21:00:15 CST 2006


Scipy 4.6 & 4.8 build fails with Fedora 5  _only_ on a Pentium M;  same 
box and  scipy release  built okay in FC4.  It fails in some g77 work 
with the same assembler errors reported back in this thread  
http://scipy.net/pipermail/scipy-user/2003-March/001361.html.  Scipy 
builds correctly on an SMP _Xeon_ CPU box w/ the same Fedora 5 distro.  
I note that the Numpy disutils recognizes the Pentium M vice others.

Fix:  Removing the 'sse2' flag in ..numpy/distutils/fcompiler/gnu.py  
clears the problem.  No doubt there's a way to override compile flags in 
setup.py (?) but my distutils skills are thin.

FYI Fedora 5 is using:
gcc:
> Target: i386-redhat-linux
> Configured with: ../configure --prefix=/usr --mandir=/usr/share/man 
> --infodir=/usr/share/info --enable-shared --enable-threads=posix 
> --enable-checking=release --with-system-zlib --enable-__cxa_atexit 
> --disable-libunwind-exceptions --enable-libgcj-multifile 
> --enable-languages=c,c++,objc,obj-c++,java,fortran,ada 
> --enable-java-awt=gtk --disable-dssi 
> --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre 
> --with-cpu=generic --host=i386-redhat-linux
> Thread model: posix
> gcc version 4.1.0 20060304 (Red Hat 4.1.0-3)
and g77:
> Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/specs
> Configured with: ../configure --prefix=/usr --mandir=/usr/share/man 
> --infodir=/usr/share/info --enable-shared --enable-threads=posix 
> --disable-checking --with-system-zlib --enable-__cxa_atexit 
> --enable-languages=c,c++,f77 --disable-libgcj --host=i386-redhat-linux
> Thread model: posix
> gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-55.fc5)

For quick reference the cpuinfo:

/proc/cpuinfo from the Xeon
> processor       : 0
> vendor_id       : GenuineIntel
> cpu family      : 15
> model           : 3
> model name      : Intel(R) Xeon(TM) CPU 3.20GHz
> stepping        : 4
> cpu MHz         : 3192.161
> cache size      : 1024 KB
> physical id     : 0
> siblings        : 2
> core id         : 0
> cpu cores       : 1
> fdiv_bug        : no
> hlt_bug         : no
> f00f_bug        : no
> coma_bug        : no
> fpu             : yes
> fpu_exception   : yes
> cpuid level     : 3
> wp              : yes
> flags           : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca 
> cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm 
> constant_tsc pni monitor ds_cpl cid xtpr
> bogomips        : 6390.11
and the Pentium M
> processor       : 0
> vendor_id       : GenuineIntel
> cpu family      : 6
> model           : 13
> model name      : Intel(R) Pentium(R) M processor 2.00GHz
> stepping        : 6
> cpu MHz         : 800.000
> cache size      : 2048 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 mce cx8 mtrr pge mca cmov pat 
> clflush dts acpi mmx fxsr sse sse2 ss tm pbe est tm2
> bogomips        : 1601.14 

Mark



More information about the SciPy-user mailing list