[issue16050] ctypes: callback from C++ to Python fails with Illegal Instruction call

2015-04-13 Thread R. David Murray
R. David Murray added the comment: Arnon also checked that our local copy of libffi contains the upstream fix. In the absence of a way to test this, we'll just have to assume it is fixed. -- nosy: +r.david.murray resolution: - out of date stage: - resolved status: open - closed

[issue16050] ctypes: callback from C++ to Python fails with Illegal Instruction call

2015-04-13 Thread Arnon Yaari
Arnon Yaari added the comment: libffi seem to have fixed this issue in their commit 4acf005 - Build fix for soft-float power targets. The fix is different than what Pavel suggested, but sounds like it should do the same. -- nosy: +wiggin15 ___

[issue16050] ctypes: callback from C++ to Python fails with Illegal Instruction call

2012-10-07 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16050 ___ ___

[issue16050] ctypes: callback from C++ to Python fails with Illegal Instruction call

2012-09-28 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Pavel, I think the FFI we use is a direct copy of libffi. Could you contact upstream?. -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16050

[issue16050] ctypes: callback from C++ to Python fails with Illegal Instruction call

2012-09-25 Thread Pavel Maltsev
New submission from Pavel Maltsev: ppc_405, Linux 2.4, GCC 3.3.1 Python crashes on attempt to pass python callback function to custom C++ library under PowerPC 405. This happens because some versions of GCC (I guess below 4.1) doesn't raise __NO_FPRS__ flag if hard-floats is not supported,