FS#14090 - [python-numpy] bug in distutils/fcompiler/gnu.py smartass march dispatch code

Attached to Project: Arch Linux
Opened by Maik Beckmann (Salamander1978) - Saturday, 04 April 2009, 12:15 GMT
Last edited by Andrea Scarpino (BaSh) - Tuesday, 14 April 2009, 21:58 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
My notebook is powered by a pentium dual core (!= core 2 duo), which isn't known by the dispatch code in fcompiler/gnu.py.
As result python-scipy tries to compile with -march=i686.

Additional info:
* package version(s)
1.2.1-4

Steps to reproduce:
Only possible when running a processor which isn't known by fcompiler/gnu.py you're running x86_64. If so, just
try to compile python-scipy
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Tuesday, 14 April 2009, 21:58 GMT
Reason for closing:  Fixed
Comment by Maik Beckmann (Salamander1978) - Saturday, 04 April 2009, 12:20 GMT
I've looked at the trunk version of fcompiler/gnu.py in the numpy repository. They removed the march dispatch stuff, phew!
So the next major version will be fixed.

Until then replacing
{{{
if cpu.is_i686():
march_opt = '-march=i686'
}}}
with
{{{
if cpu.is_i686():
march_opt = ''
}}}
does the job.

-- Maik

Loading...