[Numpy-discussion] numpy build fails on powerpc ydl

Charles R Harris charlesr.harris at gmail.com
Fri Aug 31 16:35:57 EDT 2007


On 8/30/07, Vincent Broman <broman at spawar.navy.mil> wrote:
>
> My build of numpy fails under Yellow Dog Linux 2.1,
> running on a powerpc multiprocessor board from Curtiss-Wright.
>
> Its kernel is 2.4.19-Asmp tailored by the vendor.


Which vendor?

The gcc compiler is configured as ppc-yellowdog-linux with
> version number 2.95.3 20010111.


That compiler is really, I mean really, ancient. And the API changed in
newer gcc (> 3.x.x), so code compiled with later versions isn't binary
compatible. Hmmm. Curtiss-Wright now supports Linux and kernel 2.6.16 on
some of their newer hardware, you might want to check with them or install a
more current distro from Fedora or someone else who supports the PPC.

The python I'm using is Python 2.5.1 (r251:54863) installed as python2.
> Plain /usr/bin/python is 1.5.x .
> The numpy version I'm trying to build is r4003 for v1.0.4 .
>
> The setup fails compiling build/src.linux-ppc-2.5
> /numpy/core/src/umathmodule.c
> with a long list of error messages of the following two kinds.
>
> warning: conflicting types for built-in function `sinl'
> repeated for `cosl', `fabsl', and `sqrtl', triggered by line 442.


Any more detail on these? What causes the conflict. I've got to wonder about
the the libc/libm versions also. Does the include file math.h say anything
about the prototypes for these functions? I expect cosl et.al. to be
potential problems on the PPC anyway due to the way long doubles were
implemented.

inconsistent operand constraints in an `asm',
> triggered by lines 1100, 1124, 1150, 1755, 1785, and 1834.
>
> I cannot see on those source lines what causes such a
> message; I suspect there is some long complicated
> cpp macro or asm statement in some include file which
> I don't find.


What is the PPC model number?

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20070831/69407a03/attachment.html>


More information about the NumPy-Discussion mailing list