[issue22521] ctypes compilation fails on FreeBSD: Undefined symbol "ffi_call_win32"
Dmitry Sivachenko
report at bugs.python.org
Sat Nov 1 15:25:27 CET 2014
Dmitry Sivachenko added the comment:
On modern FreeBSD version (10/stable) on i386 arch it fails with the following error:
build/temp.freebsd-10.0-RELEASE-p10-i386-3.4/usr/ports/lang/python34/work/Python-3.4.2/Modules/_ctypes/libffi/src/x86/ffi.o: In function `.LBB4_4':
/usr/ports/lang/python34/work/Python-3.4.2/Modules/_ctypes/libffi/src/x86/ffi.c:(.text+0x661): undefined reference to `ffi_closure_THISCALL'
build/temp.freebsd-10.0-RELEASE-p10-i386-3.4/usr/ports/lang/python34/work/Python-3.4.2/Modules/_ctypes/libffi/src/x86/ffi.o: In function `.LBB4_3':
/usr/ports/lang/python34/work/Python-3.4.2/Modules/_ctypes/libffi/src/x86/ffi.c:(.text+0x673): undefined reference to `ffi_closure_FASTCALL'
build/temp.freebsd-10.0-RELEASE-p10-i386-3.4/usr/ports/lang/python34/work/Python-3.4.2/Modules/_ctypes/libffi/src/x86/ffi.o: In function `.LBB4_5':
/usr/ports/lang/python34/work/Python-3.4.2/Modules/_ctypes/libffi/src/x86/ffi.c:(.text+0x685): undefined reference to `ffi_closure_STDCALL'
/usr/bin/ld: build/lib.freebsd-10.0-RELEASE-p10-i386-3.4/_ctypes.so: hidden symbol `ffi_closure_FASTCALL' isn't defined
There is no such a problem on amd64.
--with-system-ffi it works fine (system libffi is the same version: 3.0.13)
----------
nosy: +Dmitry.Sivachenko
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22521>
_______________________________________
More information about the Python-bugs-list
mailing list