Opened 12 years ago

Closed 16 months ago

#7166 closed defect (invalid)

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

Reported by: drkirkby Owned by: tbd
Priority: minor Milestone: sage-duplicate/invalid/wontfix
Component: porting: AIX or HP-UX Keywords: HP-UX
Cc: mkoeppe 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 12 years ago by drkirkby

  • Report Upstream set to Reported upstream. Little or no feedback.

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

comment:2 Changed 11 years ago by kcrisman

  • Component changed from porting to AIX or HP-UX ports

comment:3 Changed 9 years ago by roed

  • Report Upstream changed from Reported upstream. Little or no feedback. to Reported upstream. No feedback yet.

comment:4 Changed 16 months ago by chapoton

  • Cc mkoeppe added
  • Milestone changed from sage-wishlist to sage-duplicate/invalid/wontfix
  • Status changed from new to needs_review

close as obsolete ?

comment:5 Changed 16 months ago by mkoeppe

  • Status changed from needs_review to positive_review

comment:6 Changed 16 months ago by chapoton

  • Resolution set to invalid
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.