[SciPy-dev] scipy_distutuils build problem on Intel P4 running x86_64 Linux

Pearu Peterson pearu at scipy.org
Mon Oct 17 02:19:12 CDT 2005



On Mon, 17 Oct 2005, Brett Olivier wrote:

> I've been trying to build SciPy/newSciPy SVN versions on an Intel P4 (model
> 640) using Mandrake Linux x86_64 with GCC 3.4.4. And get the following error
> messages:

<snip>

> My workaround so far has been to modify gnufcompiler.py/gnu.py so that:
>
> line 164:
> elif cpu.is_PentiumIV():
>    opt.append('-march=nocona')
>    #opt.append('-march=pentium4')
>
> line 201:
> if cpu.is_Intel():
>    opt.extend(['-fomit-frame-pointer'])
>    #opt.extend(['-malign-double','-fomit-frame-pointer'])
>
> I've included /proc/cpuinfo is included at the end of this message and I'll be
> happy to provide more information/testing.

Thanks for the patch. I have modified newcore scipy.distutils accordingly.

Pearu




More information about the Scipy-dev mailing list