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 <rep...@bugs.python.org>
<http://bugs.python.org/issue22521>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to