classification
Title: ctypes doesn't build on hp-ux
Type: compile error Stage:
Components: Build, ctypes Versions: Python 2.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: loewis, ronaldoussoren
Priority: low Keywords:

Created on 2010-07-06 09:15 by ronaldoussoren, last changed 2011-09-02 02:51 by meador.inge.

Messages (3)
msg109374 - (view) Author: Ronald Oussoren (ronaldoussoren) * (Python committer) Date: 2010-07-06 09:15
During the build of python2.7 on a HP-UX machine I get this compile error when building the ctypes extension:

cc -Ae +z -Olimit 1500 -g -DNDEBUG -O -Ibuild/temp.hp-ux-B.11.23-9000-800-2.7/libffi/include -Ibuild/temp.hp-ux-B.11.23-9000-800-2.7/libffi -I/home/xsupport/bld/Python-2.7/Modules/_ctypes/libffi/src -I/opt/python2.7/include -I. -IInclude -I./Include -I/home/xsupport/bld/Python-2.7/Include -I/home/xsupport/bld/Python-2.7 -c /home/xsupport/bld/Python-2.7/Modules/_ctypes/_ctypes.c -o build/temp.hp-ux-B.11.23-9000-800-2.7/home/xsupport/bld/Python-2.7/Modules/_ctypes/_ctypes.o
cpp: "build/temp.hp-ux-B.11.23-9000-800-2.7/libffi/include/ffi.h", line 133: error 4044: Constant literal too large.
cpp: "build/temp.hp-ux-B.11.23-9000-800-2.7/libffi/include/ffi.h", line 134: error 4062: "no 64-bit data type supported"

Compiler version:

  B9007AA               C.11.23.12     HP C/aC++ Developer's Bundle 

System info:


HP-UX ah006b02 B.11.23 U 9000/800 2284397887 unlimited-user license
msg109418 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2010-07-06 20:17
I don't think ctypes supports acc; try gcc instead.
msg109455 - (view) Author: Ronald Oussoren (ronaldoussoren) * (Python committer) Date: 2010-07-07 06:11
I don't think installing GCC will be possible on the machine I did the build on (for non-technical reasons).
History
Date User Action Args
2011-09-02 02:51:09meador.ingesetpriority: normal -> low
assignee: theller ->

nosy: - theller
2010-07-07 06:11:59ronaldoussorensetmessages: + msg109455
2010-07-06 20:17:27loewissetnosy: + loewis
messages: + msg109418
2010-07-06 09:15:35ronaldoussorencreate