[plt-scheme] Re: OpenBSD build problems

From: Andreas Vögele (andreas at kurzegasse.de)
Date: Thu Jun 28 12:11:44 EDT 2007

Matthew Flatt writes:

> At Thu, 28 Jun 2007 10:34:52 +0800, Matthew Flatt wrote:
>> My guess is that the 3m GC isn't working right on OpenBSD. More
>> specifically, I'll bet it has to do with the write barrier for
>> generational collection.
>
> Actually, if my guess is on the right track, and given that the crash
> is a segfault, you might try just changing line 36 of
> "plt/src/mzscheme/gc2/sighand.c" from
>
>   #  define USE_SIGACTON_SIGNAL_KIND SIGBUS
>
> to
>
>   #  define USE_SIGACTON_SIGNAL_KIND SIGSEGV

This change works for me on OpenBSD-current/i386.

It's also possible to build DrScheme on OpenBSD by specifying the
configure option --enable-cgcdefault.

In addition, I had to specify the option --disable-gl on
OpenBSD-current.



Posted on the users mailing list.