[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-smalltalk] problems with gst-2.0.8 on NetBSD/i386 (1.5W)
From: |
Bonzini |
Subject: |
Re: [Help-smalltalk] problems with gst-2.0.8 on NetBSD/i386 (1.5W) |
Date: |
Fri, 15 Nov 2002 22:45:43 +0100 |
> I just tried building GST on NetBSD/i386 (1.5W, 2001/06/24 sources).
>
> First I ran into a small problem with i18n/i18n.c and ALT_DIGITS at
> line#173 (which is not defined on NetBSD). I hacked it as follows:
>
> #ifdef ALT_DIGITS
> lcTime->altDigitsOOP = vmProxy->stringToOOP (nl_langinfo (ALT_DIGITS));
> #else
> lcTime->altDigitsOOP = 0;
> #endif
Ok (but use lcTime->altDigits = vmProxy->stringToOOP ("0123456789");
or something like that, a NULL will crash on the first garbage collection).
> Next I ran into a much bigger problem:
>
> SMALLTALK_KERNEL="`cd ./kernel; pwd`" \
> SMALLTALK_IMAGE="`pwd`" \
> ./gst -iQ dummy_file
> gst: Bus error
> gst: Error occurred while not in byte code interpreter!!
> Bus error
> gmake[2]: *** [gst.im] Error 138
>
>
> I rebuilt with '-g' and here's what gdb says:
Can you try gst 2.0.7? If it succeeds, try searching for MAP_NORESERVE
in libgst/heap.c, and add "#undef MAP_NORESERVE" before the first match.
Paolo