[Mono-dev] Define GC_OPENBSD_THREADS instead of GC_FREEBSD_THREADS in configure.in

Zoltan Varga vargaz at gmail.com
Sat Apr 3 03:48:53 EDT 2010


Applied to SVN HEAD/2.6 branch.

         Zoltan

On Sat, Apr 3, 2010 at 8:55 AM, Robert Nagy <robert at openbsd.org> wrote:

> Can someone commit this please?
>
> On (2010-04-01 20:11), Robert Nagy wrote:
> > 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
> > _______________________________________________
> > Mono-devel-list mailing list
> > Mono-devel-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-devel-list
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20100403/27c9722f/attachment.html 


More information about the Mono-devel-list mailing list