[issue23042] ctypes module doesn't build on FreeBSD x86

2015-03-20 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: I would prefer to have someone with good libffi knowledge to chime in here. It's easy to just revert the patch, but it may be even better to upgrade the included libffi lib. But probably not to 3.2.1, since this still has the same bug it seems:

[issue23042] ctypes module doesn't build on FreeBSD x86

2015-03-20 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: Modules/_ctypes/libffi in branches 2.7, 3.4, default is currently a copy of libffi 3.1. Is problem reproducible with libffi 3.2.1? If not, then it might be better to update Modules/_ctypes/libffi to libffi 3.2.1. --

[issue23042] ctypes module doesn't build on FreeBSD x86

2015-03-19 Thread Davin Potts
Davin Potts added the comment: Inheriting the priority from issue22634 which has been marked closed-duplicate (duplicate of this issue). Previously issue22634 was given a priority of release blocker by @pitrou. Issue22634 described how this issue also afflicts 32-bit builds on multiple RHEL

[issue23042] ctypes module doesn't build on FreeBSD x86

2015-03-19 Thread Davin Potts
Davin Potts added the comment: Attaching a patch which enabled successful compilation of ctypes on FreeBSD 10.1 i386-RELEASE in each of default/3.5, 3.4, and 2.7 branches. This patch attempts to fix the incomplete logic regarding Windows target platforms in the ifdef's inside

[issue23042] ctypes module doesn't build on FreeBSD x86

2015-03-19 Thread Davin Potts
Changes by Davin Potts pyt...@discontinuity.net: -- stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23042 ___ ___

[issue23042] ctypes module doesn't build on FreeBSD x86

2015-03-19 Thread Davin Potts
Davin Potts added the comment: Reading issue22634 suggests that perhaps this issue is not limited to FreeBSD -- issue22634 appears to suffer the same behavior on RHEL 6.4 and 5.5 when compiling to 32-bit (the -m32 compiler flag is being used there). --

[issue23042] ctypes module doesn't build on FreeBSD x86

2015-03-18 Thread STINNER Victor
STINNER Victor added the comment: Python 3.4 and 3.5 are also affected: I marked issue #22521 as a duplicate of this issue. -- nosy: +haypo title: Python 2.7.9 ctypes module doesn't build on FreeBSD x86 - ctypes module doesn't build on FreeBSD x86 versions: +Python 3.4, Python 3.5

[issue23042] ctypes module doesn't build on FreeBSD x86

2015-03-18 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- nosy: -haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23042 ___ ___ Python-bugs-list

[issue23042] ctypes module doesn't build on FreeBSD x86

2015-03-18 Thread Davin Potts
Davin Potts added the comment: To provide supporting information, using the i386 release of FreeBSD 10.1: * ctypes fails to build with the latest from Python 2.7 branch with the message: