This is the mail archive of the libffi-discuss@sourceware.org mailing list for the libffi project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]