Issue 9175: ctypes doesn't build on hp-ux (original) (raw)

Created on 2010-07-06 09:15 by ronaldoussoren, last changed 2022-04-11 14:57 by admin.

Messages (7)
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).
msg192368 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2013-07-05 22:34
Is this issue still relevant?
msg192390 - (view) Author: Ronald Oussoren (ronaldoussoren) * (Python committer) Date: 2013-07-06 08:49
Good question, the libffi copy included with cpython has recently changed. There are HP-UX buildbots, but they have build problems. I'll try to test on an HP-UX system I've access to.
msg192391 - (view) Author: Ronald Oussoren (ronaldoussoren) * (Python committer) Date: 2013-07-06 09:07
So much for testing, the machine I'm trying to test on is fairly old and doesn't have an up to date compiler. That compiler crashes when trying to build the 2.7.5 release :-(
msg221251 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2014-06-22 13:12
Was this ever a Python issue if the compiler isn't supported by ctypes? If it is a Python issue what is the likelihood of a fix being put in place for the 2.7 series?
History
Date User Action Args
2022-04-11 14:57:03 admin set github: 53421
2014-06-22 13:12:12 BreamoreBoy set nosy: + BreamoreBoymessages: +
2013-07-06 09:07:42 ronaldoussoren set messages: +
2013-07-06 08:49:33 ronaldoussoren set messages: +
2013-07-05 22:34:06 christian.heimes set status: open -> languishingnosy: + christian.heimesmessages: +
2012-04-12 01:45:34 adiroiban set nosy: + adiroiban
2011-09-02 02:51:09 meador.inge set priority: normal -> lowassignee: theller -> nosy: - theller
2010-07-07 06:11:59 ronaldoussoren set messages: +
2010-07-06 20:17:27 loewis set nosy: + loewismessages: +
2010-07-06 09:15:35 ronaldoussoren create