[Mono-dev] Define GC_OPENBSD_THREADS instead of GC_FREEBSD_THREADS in configure.in
Robert Nagy
robert at openbsd.org
Thu Apr 1 14:11:51 EDT 2010
This is an updated version that uses boehm as the default gc and
disables sigaltstack because it seems a wee bit buggy on openbsd.
Index: configure.in
===================================================================
--- configure.in (revision 154650)
+++ configure.in (working copy)
@@ -151,7 +151,7 @@
;;
*-*-*openbsd*)
host_win32=no
- CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE -DGC_FREEBSD_THREADS -DPLATFORM_BSD -D_GNU_SOURCE -D_REENTRANT -DUSE_MMAP"
+ CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE -DGC_OPENBSD_THREADS -DPLATFORM_BSD -D_GNU_SOURCE -D_REENTRANT -DUSE_MMAP"
if test "x$disable_munmap" != "xyes"; then
CPPFLAGS="$CPPFLAGS -DUSE_MUNMAP"
fi
@@ -161,7 +161,9 @@
need_link_unlink=yes
AC_DEFINE(PTHREAD_POINTER_ID)
libdl=
+ gc_default=boehm
libgc_threads=pthreads
+ with_sigaltstack=no
use_sigposix=yes
;;
On (2010-04-01 18:37), Robert Nagy wrote:
> Index: configure.in
> ===================================================================
> --- configure.in (revision 154650)
> +++ configure.in (working copy)
> @@ -151,7 +151,7 @@
> ;;
> *-*-*openbsd*)
> host_win32=no
> - CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE -DGC_FREEBSD_THREADS -DPLATFORM_BSD -D_GNU_SOURCE -D_REENTRANT -DUSE_MMAP"
> + CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE -DGC_OPENBSD_THREADS -DPLATFORM_BSD -D_GNU_SOURCE -D_REENTRANT -DUSE_MMAP"
> if test "x$disable_munmap" != "xyes"; then
> CPPFLAGS="$CPPFLAGS -DUSE_MUNMAP"
> fi
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
More information about the Mono-devel-list
mailing list