public inbox for libffi-discuss@sourceware.org
 help / color / mirror / Atom feed
* PATCH: libffi build problem on kfreebsd-amd64
@ 2011-09-27 11:38 Petr Salinger
  0 siblings, 0 replies; only message in thread
From: Petr Salinger @ 2011-09-27 11:38 UTC (permalink / raw)
  To: libffi-discuss

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-09-27 11:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-27 11:38 PATCH: libffi build problem on kfreebsd-amd64 Petr Salinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).