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.

Author T.Rex
Recipients Ayappan, BTaskaya, David.Edelsohn, Michael.Felt, T.Rex
Date 2020-07-27.13:03:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1595854995.71.0.189771791573.issue38628@roundup.psfhosted.org>
In-reply-to
Content
After adding traces and after rebuilding Python and libffi with -O0 -g -gdwarf, it appears that, still in 64bit, the bug is still there, but that ffi_call_AIX is called now instead of ffi_call_DARWIN from ffi_call() routine of ../src/powerpc/ffi_darwin.c (lines 915...).
???

# ./Pb.py
TONY: libffi: src/powerpc/ffi_darwin.c : FFI_AIX
TONY: libffi: cif->abi: 1  -(long)cif->bytes : -144  cif->flags : 8  ecif.rvalue : fffffffffffd1f0  fn: 9001000a0082640  FFI_FN(ffi_prep_args) : 9001000a0483be8
b'def'
TONY: libffi: src/powerpc/ffi_darwin.c : FFI_AIX
TONY: libffi: cif->abi: 1  -(long)cif->bytes : -144  cif->flags : 8  ecif.rvalue : fffffffffffd220  fn: 9001000a0082640  FFI_FN(ffi_prep_args) : 9001000a0483be8
b'def'
TONY: libffi: src/powerpc/ffi_darwin.c : FFI_AIX
TONY: libffi: cif->abi: 1  -(long)cif->bytes : -144  cif->flags : 8  ecif.rvalue : fffffffffffd220  fn: 9001000a0082640  FFI_FN(ffi_prep_args) : 9001000a0483be8
None

In 32bit with same build environment, a different code is run since the traces are not printed.

Thus, 32bit and 64bit are managed very differently.
History
Date User Action Args
2020-07-27 13:03:15T.Rexsetrecipients: + T.Rex, David.Edelsohn, Michael.Felt, Ayappan, BTaskaya
2020-07-27 13:03:15T.Rexsetmessageid: <1595854995.71.0.189771791573.issue38628@roundup.psfhosted.org>
2020-07-27 13:03:15T.Rexlinkissue38628 messages
2020-07-27 13:03:15T.Rexcreate