Issue 5718: Problem compiling ffi part of build on AIX 5.3. (original) (raw)

Created on 2009-04-07 15:15 by dbyrne, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (6)
msg85714 - (view) Author: David Byrne (dbyrne) Date: 2009-04-07 15:15
I am using AIX 5.3 xlc 9.0. I am unable to get the libffi section to build. It also happens with the separate libffi code, so I will try to report there as well. I get the following: cc_r -qlanglvl=extc89 -DNDEBUG -O -I. -I/appl/bwc/src/Python-2.6.1/./Include -Ibuild/temp.aix-5.3-2.6/libffi/include -Ibuild/temp.aix-5.3-2.6/libffi -I/appl/bwc/src/Python-2.6.1/Modules/_ctypes/libffi/src -I/appl/bwc/local2/include -I. -IInclude -I./Include -I/usr/local/include -I/appl/bwc/src/Python-2.6.1/Include -I/appl/bwc/src/Python-2.6.1 -c /appl/bwc/src/Python-2.6.1/Modules/_ctypes/libffi/src/powerpc/aix_closure.S -o build/temp.aix-5.3-2.6/appl/bwc/src/Python-2.6.1/Modules/_ctypes/libffi/src/powerpc/aix_closure.o Assembler: /tmp/xlcS00-Mgqd.s: line 111: undefined symbol ".ffi_closure_helper_DARWIN" /tmp/xlcS00-Mgqd.s: line 111: illegal expression type for branch address
msg85737 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2009-04-07 19:23
Can you provide a patch? If not, chances are high that no action is taken.
msg220423 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2014-06-13 07:36
As we're now on 3.5, AIX is up to 7.1 and there's no patch can we close this one as out of date?
msg223754 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2014-07-23 18:03
@David what is your opinion on this issue?
msg223830 - (view) Author: David Edelsohn (David.Edelsohn) * Date: 2014-07-24 13:00
ffi_closure_helper_DARWIN should have been declared "extern" in the assembly file. This has been fixed in more recent versions of libffi and imported into more recent versions of CPython, including 2.7. .extern .ffi_closure_helper_DARWIN Is it worth updating libffi.diff to insert the appropriate fix in 2.6 or not?
msg223832 - (view) Author: Stefan Krah (skrah) * (Python committer) Date: 2014-07-24 13:06
Thanks, David. If this is fixed in 2.7 we can close the issue.
History
Date User Action Args
2022-04-11 14:56:47 admin set github: 49968
2014-07-24 13:06:47 skrah set status: open -> closednosy: + skrahmessages: + resolution: out of datestage: needs patch -> resolved
2014-07-24 13:00:29 David.Edelsohn set messages: +
2014-07-23 18:03:48 BreamoreBoy set nosy: + David.Edelsohnmessages: +
2014-06-13 07:36:53 BreamoreBoy set nosy: + BreamoreBoymessages: +
2011-09-02 03:00:50 meador.inge set priority: normal -> lowassignee: theller -> stage: needs patchnosy: - theller
2010-09-14 13:08:25 sable set nosy: + sable
2009-04-07 19:23:57 loewis set nosy: + loewismessages: +
2009-04-07 15:15:42 dbyrne create