This is the mail archive of the
libffi-discuss@sourceware.org
mailing list for the libffi project.
PATCH: libffi build problem on kfreebsd-amd64
- From: Petr Salinger <Petr dot Salinger at seznam dot cz>
- To: libffi-discuss at sourceware dot org
- Date: Tue, 27 Sep 2011 13:49:17 +0200 (CEST)
- Subject: PATCH: libffi build problem on kfreebsd-amd64
The GNU/kFreeBSD uses the same kernel as plain FreeBSD.
Please, could you apply
--- configure.ac
+++ configure.ac
@@ -345,7 +345,7 @@
[Cannot use PROT_EXEC on this target, so, we revert to
alternative means])
;;
- *-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])
After that testsuite of 3.0.11~rc1-2:
=== libffi Summary ===
# of expected passes 1649
# of unsupported tests 15
See also original Debian bug
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=642928
Many thanks
Petr