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, instead they use _SOFT_FLOAT. So we need to change #ifndef __NO_FPRS__ to #if (!defined(__NO_FPRS__) && !defined(_SOFT_FLOAT)) ---------- components: ctypes files: soft_float.patch keywords: patch messages: 171325 nosy: Opilki_Inside priority: normal severity: normal status: open title: ctypes: callback from C++ to Python fails with Illegal Instruction call type: crash versions: Python 2.7 Added file: http://bugs.python.org/file27309/soft_float.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16050> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com