[Numpy-tickets] [NumPy] #438: extension modules on x86_64 fail, march is set to i686

NumPy numpy-tickets@scipy....
Sat Feb 17 03:04:00 CST 2007


#438: extension modules on x86_64 fail, march is set to i686
------------------------+---------------------------------------------------
 Reporter:  tovrstra    |        Owner:  somebody
     Type:  defect      |       Status:  new     
 Priority:  normal      |    Milestone:          
Component:  numpy.f2py  |      Version:  1.0.1   
 Severity:  minor       |   Resolution:          
 Keywords:              |  
------------------------+---------------------------------------------------
Comment (by jitter):

 eeek... WikiFormatting. Sorry about that.

 Patch:

 {{{
 Index: numpy/distutils/cpuinfo.py
 ===================================================================
 --- numpy/distutils/cpuinfo.py  (revision 3546)
 +++ numpy/distutils/cpuinfo.py  (working copy)
 @@ -185,7 +185,7 @@
          return self.is_PentiumIV() and self.has_sse3()

      def _is_Nocona(self):
 -        return self.is_64bit() and self.is_i686()
 +        return self.is_64bit() and (self.is_i686() or
 self.is_PentiumIV())

      def _is_Core2(self):
          return self.is_64bit() and self.is_Intel() and \
 }}}

 /proc/cpuinfo:

 {{{
 processor       : 0
 vendor_id       : GenuineIntel
 cpu family      : 15
 model           : 4
 model name      :               Intel(R) Pentium(R) 4 CPU 3.00GHz
 stepping        : 3
 cpu MHz         : 2990.595
 cache size      : 2048 KB
 fpu             : yes
 fpu_exception   : yes
 cpuid level     : 5
 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 syscall nx lm
 constant_tsc pni monitor ds_cpl est cid cx16 xtpr
 bogomips        : 5989.97
 clflush size    : 64
 cache_alignment : 128
 address sizes   : 36 bits physical, 48 bits virtual
 power management:
 }}}

-- 
Ticket URL: <http://projects.scipy.org/scipy/numpy/ticket/438#comment:2>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.


More information about the Numpy-tickets mailing list