#7166: HP-UX issue. numpy does not understand PA-RISC CPU
------------------------+---------------------------------------------------
Reporter: drkirkby | Owner: tbd
Type: defect | Status: new
Priority: minor | Milestone: sage-wishlist
Component: porting | Keywords: HP-UX
Work_issues: | Author:
Reviewer: | Merged:
------------------------+---------------------------------------------------
I tried to build numpy on a HP C3600 (PA-RISC chip, big endian) running
HP-UX 11i. It fails with since the code does not know what CPU I have.
'''If one of the numpy maintainers wants access to the machine, they can
have it.'''
{{{
customize UnixCCompiler
customize UnixCCompiler using build_ext
building 'numpy.core._sort' extension
compiling C sources
C compiler: gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -fPIC
compile options: '-Inumpy/core/include -Ibuild/src.hp-
ux-B.11.11-9000-785-2.6/numpy/core/include/numpy -Inumpy/core/src
-Inumpy/core/include
-I/home/drkirkby/sage-4.1.2.rc0/local/include/python2.6 -c'
gcc: build/src.hp-ux-B.11.11-9000-785-2.6/numpy/core/src/_sortmodule.c
In file included from numpy/core/include/numpy/npy_endian.h:22,
from numpy/core/include/numpy/ndarrayobject.h:26,
from numpy/core/include/numpy/noprefix.h:7,
from numpy/core/src/_sortmodule.c.src:29:
numpy/core/include/numpy/npy_cpu.h:49:6: error: #error Unknown CPU, please
report this to numpy maintainers with information about your platform (OS,
CPU and compiler)
In file included from numpy/core/include/numpy/ndarrayobject.h:26,
from numpy/core/include/numpy/noprefix.h:7,
from numpy/core/src/_sortmodule.c.src:29:
numpy/core/include/numpy/npy_endian.h:33:10: error: #error Unknown CPU:
can not set endianness
In file included from numpy/core/include/numpy/npy_endian.h:22,
from numpy/core/include/numpy/ndarrayobject.h:26,
from numpy/core/include/numpy/noprefix.h:7,
from numpy/core/src/_sortmodule.c.src:29:
numpy/core/include/numpy/npy_cpu.h:49:6: error: #error Unknown CPU, please
report this to numpy maintainers with information about your platform (OS,
CPU and compiler)
In file included from numpy/core/include/numpy/ndarrayobject.h:26,
from numpy/core/include/numpy/noprefix.h:7,
from numpy/core/src/_sortmodule.c.src:29:
numpy/core/include/numpy/npy_endian.h:33:10: error: #error Unknown CPU:
can not set endianness
error: Command "gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -fPIC -Inumpy/core/include -Ibuild/src.hp-
ux-B.11.11-9000-785-2.6/numpy/core/include/numpy -Inumpy/core/src
-Inumpy/core/include
-I/home/drkirkby/sage-4.1.2.rc0/local/include/python2.6 -c build/src.hp-
ux-B.11.11-9000-785-2.6/numpy/core/src/_sortmodule.c -o build/temp.hp-
ux-B.11.11-9000-785-2.6/build/src.hp-
ux-B.11.11-9000-785-2.6/numpy/core/src/_sortmodule.o" failed with exit
status 1
Error building numpy.
real 0m40.370s
user 0m29.010s
sys 0m8.280s
sage: An error occurred while installing numpy-1.3.0.p2
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7166>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---