help-smalltalk
[Top][All Lists]
Advanced

[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: Greg A. Woods
Subject: Re: [Help-smalltalk] problems with gst-2.0.8 on NetBSD/i386 (1.5W)
Date: Fri, 15 Nov 2002 18:11:07 -0500 (EST)

[ On Friday, November 15, 2002 at 22:45:43 (+0100), Bonzini wrote: ]
> Subject: Re: [Help-smalltalk] problems with gst-2.0.8 on NetBSD/i386 (1.5W)
>
> 
> > 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).

Yes, I realized that NULL would be wrong shortly after I posted.... :-)


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

Yes, I'll give it a try right now....  Yes it works!

>  If it succeeds, try searching for MAP_NORESERVE
> in libgst/heap.c, and add "#undef MAP_NORESERVE" before the first match.

OK, I'll give that a try and report back later....

-- 
                                                                Greg A. Woods

+1 416 218-0098;            <address@hidden>;           <address@hidden>
Planix, Inc. <address@hidden>; VE3TCP; Secrets of the Weird <address@hidden>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]