libffi crashes under kfreebsd-amd64 in trampoline. As the GNU/kFreeBSD uses the same kernel as plain FreeBSD, it suffices --- src/libffi/configure.ac +++ src/libffi/configure.ac @@ -313,7 +313,7 @@ fi case "$target" in - *-apple-darwin10* | *-*-freebsd* | *-*-openbsd* | *-pc-solaris*) + *-apple-darwin10* | *-*-freebsd* | *-*-kfreebsd* | *-*-openbsd* | *-pc-solaris*) AC_DEFINE(FFI_MMAP_EXEC_WRIT, 1, [Cannot use malloc on this target, so, we revert to alternative means]) See also original Debian bug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=642928 Many thanks Petr
Fixed in r0-121058 which was a merge from upstream.