[plt-scheme] OpenBSD build problems

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Wed Jun 27 22:34:52 EDT 2007

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...


Posted on the users mailing list.