This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Problem compiling ffi part of build on AIX 5.3.
Type: compile error Stage: resolved
Components: ctypes Versions: Python 2.6
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: BreamoreBoy, David.Edelsohn, dbyrne, loewis, sable, skrah
Priority: low Keywords:

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:47adminsetgithub: 49968
2014-07-24 13:06:47skrahsetstatus: open -> closed

nosy: + skrah
messages: + msg223832

resolution: out of date
stage: needs patch -> resolved
2014-07-24 13:00:29David.Edelsohnsetmessages: + msg223830
2014-07-23 18:03:48BreamoreBoysetnosy: + David.Edelsohn
messages: + msg223754
2014-06-13 07:36:53BreamoreBoysetnosy: + BreamoreBoy
messages: + msg220423
2011-09-02 03:00:50meador.ingesetpriority: normal -> low
assignee: theller ->
stage: needs patch
nosy: - theller
2010-09-14 13:08:25sablesetnosy: + sable
2009-04-07 19:23:57loewissetnosy: + loewis
messages: + msg85737
2009-04-07 15:15:42dbyrnecreate