[issue4305] ctypes fails to build on mipsel-linux-gnu (detects mips instead of mipsel)

2009-01-05 Thread Mark Miller
Mark Miller added the comment: It's actually due to the merge of the libffi3 branch back in March, which removed the logic for configure to deal with MIPS in fficonfig.py.in. I've attached a patch which allows the build to work correctly on the QEMU instance of the MIPSEL mach

[issue4305] ctypes fails to build on mipsel-linux-gnu (detects mips instead of mipsel)

2009-01-05 Thread Mark Miller
Mark Miller added the comment: Adding this as affecting the 2.6 branch as well, since I initially tested on a 2.6.1 tarball with this problem. -- versions: +Python 2.6 ___ Python tracker <http://bugs.python.org/issue4

[issue1762561] unable to serialize Infinity or NaN on ARM using marshal

2009-02-13 Thread Mark Miller
Mark Miller added the comment: This still occurs in the latest SVN checkout, and is preventing Python from building on ARMV4L and ARMV5L OABI, dying during the test_float.py compilation. The patch appears to solve this problem, however I have not run a full suite of tests to ensure it doesn&#

[issue1762561] unable to serialize Infinity or NaN on ARM using marshal

2009-02-13 Thread Mark Miller
Mark Miller added the comment: The following is where it fails un-patched: Compiling /usr/local/lib/python2.6/test/test_float.py ... Traceback (most recent call last): File "/usr/local/lib/python2.6/compileall.py", line 156, in exit_status = int(not main()) File "

[issue1762561] unable to serialize Infinity or NaN on ARM using marshal

2009-02-13 Thread Mark Miller
Mark Miller added the comment: I am in a position to test as much as needed. I am attempting to get Gentoo's ARM/MIPS/Embedded distribution up to date on Python, and noticed this build break. (Typically most embedded architectures are several releases behind.) I'll try this new patch

[issue4305] ctypes fails to build on mipsel-linux-gnu (detects mips instead of mipsel)

2009-02-13 Thread Mark Miller
Mark Miller added the comment: Would it be possible to get some feedback as to whether this is a candidate for Python 2.6 on this patch? ___ Python tracker <http://bugs.python.org/issue4

[issue1762561] unable to serialize Infinity or NaN on ARM using marshal

2009-02-13 Thread Mark Miller
Mark Miller added the comment: The new patch works correctly, by the way, on ARMv4L and ARMv5L OABI boards. ___ Python tracker <http://bugs.python.org/issue1762

[issue4305] ctypes fails to build on mipsel-linux-gnu (detects mips instead of mipsel)

2009-02-14 Thread Mark Miller
Mark Miller added the comment: Not entirely. I applied what you had for the autoconf section to my configure, since I do not have autoconf installed in my environment. Specifically, this part of configure is what's messing with the build: if test x$TARGET = xMIPS; then MIPS

[issue6802] build fails on Snow Leopard

2009-09-01 Thread Mark Miller
Mark Miller added the comment: This patch allows compiling, and forces everything to be x86_64. However, Python 2.6.2 still dies when attempting to install: cd Mac && make installmacsubtree DESTDIR="" DYLD_FRAMEWORK_PATH=/tmp/Python-2.6.2: ../python.exe ./scripts/cachers