[plt-scheme] OpenBSD build problems
Matthew,
this modification to
static int generations_available = 0;
works so I did not make the :
# define USE_SIGACTON_SIGNAL_KIND SIGBUS
to
# define USE_SIGACTON_SIGNAL_KIND SIGSEGV
but I will and report
Thanks
On Jun 27, 2007, at 7:34 PM, Matthew Flatt wrote:
> At Wed, 27 Jun 2007 12:33:57 -0700, Tony Sterrett wrote:
>> I'm trying to build 379 OpenBSD 3.9 i386
>> [...]
>>
>> mail# /usr/local/plt-370/src/mzscheme/mzscheme3m -qr "./gen-deps.ss"
>> Segmentation fault (core dumped)
>
> If you just try running `mzscheme3m', does it crash immediately?
>
> 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.
>
> In "plt/src/mzscheme/gc2/newgc.c", try changing
>
> static int generations_available = 1;
>
> (line 1938 or so) to
>
> static int generations_available = 0;
>
> Let me know whether that lets you make progress or not, and we can
> take
> it from there...
>
> Thanks,
> Matthew
>