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 bivab
Recipients bivab
Date 2013-03-30.13:47:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1364651250.44.0.538707073215.issue17580@psf.upfronthosting.co.za>
In-reply-to
Content
This issue affects C functions with many float/double arguments called through ctypes on ARM using the hardfloat ABI (i.e. the standard distribution for the raspberry pi uses hard-float).

Calling a C function using ctypes on ARM hard-float that takes a large number of float arguments (more than 16 floats or more than 8 doubles) corrupts the first float/double arguments passed on the stack to the called function. 

To check the issue run the following commands on an ARM hard-float system:
make
python bug.py

A patch for this issue has been accepted into libffi.
History
Date User Action Args
2013-03-30 13:47:30bivabsetrecipients: + bivab
2013-03-30 13:47:30bivabsetmessageid: <1364651250.44.0.538707073215.issue17580@psf.upfronthosting.co.za>
2013-03-30 13:47:30bivablinkissue17580 messages
2013-03-30 13:47:29bivabcreate