When the merging of the libffi3 branch took place in March, it broke the logic in configure and fficonfig.py.in to deal with MIPS architecture, specifically differentiating in which files to include for MIPS_IRIX versus MIPS_LINUX. I've re-added that logic based on the older code, and adjusted a few things to deal with the new format.

I just tested this on my QEMU instance of a MIPSEL Linux install, and works successfully. Before, it died with the error noted here: http://bugs.python.org/issue4305 , when attempting to reference a non-existent array member in fficonfig.py.in, for the MIPS target. (Rather than MIPS_LINUX or MIPS_IRIX, like the file wants)

I've attached the patch here and on the following bug. It's based off the following svn checkout:
Path: .
URL: http://svn.python.org/projects/python/trunk
Repository Root: http://svn.python.org/projects
Repository UUID: 6015fed2-1504-0410-9fe1-9d1591cc4771
Revision: 68358
Node Kind: directory
Schedule: normal
Last Changed Author: marc-andre.lemburg
Last Changed Rev: 68344
Last Changed Date: 2009-01-05 13:43:35 -0600 (Mon, 05 Jan 2009)

Thanks.

Attachment: mips-ffi.patch
Description: Binary data




--
Mark Miller
m...@mirell.org




_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to