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))
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.
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.
History
Date
User
Action
Args
2022-04-11 14:57:36
admin
set
github: 60254
2015-04-13 17:38:00
r.david.murray
set
status: open -> closednosy: + r.david.murraymessages: + resolution: out of datestage: resolved