Opened 13 years ago

Closed 2 years ago

#7166 closed defect (invalid)

HP-UX issue. numpy does not understand PA-RISC CPU

Reported by: David Kirkby Owned by: tbd
Priority: minor Milestone: sage-duplicate/invalid/wontfix
Component: porting: AIX or HP-UX Keywords: HP-UX
Cc: Matthias Köppe Merged in:
Authors: Reviewers:
Report Upstream: Reported upstream. No feedback yet. Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

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

Change History (6)

comment:1 Changed 13 years ago by David Kirkby

Report Upstream: Reported upstream. Little or no feedback.

numpy-discussion@… on 9 December 2009 @ 17:09 GMT

comment:2 Changed 12 years ago by Karl-Dieter Crisman

Component: portingAIX or HP-UX ports

comment:3 Changed 11 years ago by David Roe

Report Upstream: Reported upstream. Little or no feedback.Reported upstream. No feedback yet.

comment:4 Changed 2 years ago by Frédéric Chapoton

Cc: Matthias Köppe added
Milestone: sage-wishlistsage-duplicate/invalid/wontfix
Status: newneeds_review

close as obsolete ?

comment:5 Changed 2 years ago by Matthias Köppe

Status: needs_reviewpositive_review

comment:6 Changed 2 years ago by Frédéric Chapoton

Resolution: invalid
Status: positive_reviewclosed
Note: See TracTickets for help on using tickets.