This is the mail archive of the
libffi-discuss@sourceware.org
mailing list for the libffi project.
Closure test failures
- From: Timothy Wall <twalljava at dev dot java dot net>
- To: Anthony Green <green at redhat dot com>
- Cc: libffi-discuss at sources dot redhat dot com
- Date: Tue, 06 Oct 2009 11:06:22 -0400
- Subject: Closure test failures
- References: <4ACB261D.2030803@redhat.com>
One reason closure tests may be failing is that FFI_MMAP_EXEC_WRIT,
which enables mmap-ing of the closure trampoline in closure.c, is only
auto-enabled for gnu_linux and win32.
FFI_MMAP_EXEC_WRIT should probably be set based on HAVE_MMAP (or
whatever the tests used to use) instead of checking the system type.