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 lemburg
Recipients lemburg
Date 2014-12-12.20:40:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
With Python 2.7.8, ctypes builds fine on FreeBSD x86, but with Python 2.7.9, the build fails with:

*** WARNING: renaming "_ctypes" since importing it failed: build/lib.freebsd-8.3-RELEASE-p3-i386-2.7/ Undefined symbol "ffi_call_win32"

Since this is FreeBSD, there shouldn't really be any calls to ffi_call_win32() in the _ctypes module or libffi.

Looking at the code changes in libffi/src/x86/ffi.c, it looks as if some of the #ifdefs for X86_WIN64 and X86_WIN32 were mixed up, causing calls to the Windows function to be compiled on FreeBSD x86, without also compiling the function definition in the same file.
Date User Action Args
2014-12-12 20:40:59lemburgsetrecipients: + lemburg
2014-12-12 20:40:59lemburgsetmessageid: <>
2014-12-12 20:40:59lemburglinkissue23042 messages
2014-12-12 20:40:59lemburgcreate