[unix][vm] UNIX VM for use with 3.7alpha image?
Mark A. Schwenk
mas at wellthot.com
Fri Nov 21 05:58:20 UTC 2003
So I rebuilt the UNIX VM on Fedora Core 1, with all plugins internal,
using the following hints and had problems linking until I added
$(X_LIBS) into the squeak link line.
On Thu, 2003-11-20 at 02:23, Michael Roberts wrote:
> I think this was brought up on IRC and there might have been a post on this list.
> Someone on SqueakPeople posted in their diary the steps to take. You essentially need to
>
> get Ian's 3.6g-2 sources
> get Ned's VM patches off the list and apply them
> get a pre-built vm
> get the latest 3.6 image
> load VMMaker.
> sort the paths out
> build the vm
>
> Cheers
>
> Mike
$ diff ../Makefile.orig Makefile
189c189
< $(LINK) $(squeak) $(SQLIBS) version.o $(LIBS) vm/vm.a
---
> $(LINK) $(squeak) $(SQLIBS) version.o $(X_LIBS) $(LIBS) vm/vm.a
At Michael's suggestion, I looked on http://people.squeakfoundation.org
but couldn't find any related diary entries or articles.
Upon running my new squeak binary, I immediately get
Segmentation Fault
Abort
Running with the debugger, I find
Program received signal SIGSEGV, Segmentation fault.
0x0806caed in readImageFromFileHeapSizeStartingAt (f=0x9b0e0d0,
desiredHeapSize=61366608, imageOffset=0) at gnu-interp.c:20311
/usr/local/src/Squeak-3.6g-2/bld/vm/gnu-interp.c:20311:591655:beg:0x806caed
while executing the following statement
/* begin loadInitialContext */
sched = longAt(((((char *) (longAt(((((char *)
foo->specialObjectsOop)) + BaseHeaderSize) + (SchedulerAssociation <<
2))))) + BaseHeaderSize) + (ValueIndex << 2));
The excitement continues to build...
-Mark
More information about the Squeak-dev
mailing list
|