bootstrap fix

Brian T. Rice water at tunes.org
Fri Sep 10 09:31:04 PDT 2004


Pavel Holejsovsky wrote:
> Hi,
> 
> Pavel Holejsovsky wrote:
> 
>> OK, the final problem for me is that I'm not able to bootstrap... 
>> Bootstrapped vm always crashes, when compiled with debug information, 
>> I can see:
>>
>> assertion "PSObjectHeap_includes_(oh, (unsigned long int) 
>> ObjectPointer_pointer(*root))" failed: file "test01.c", line 714
> 
> 
> No wonder that it was only me.  I was generating VMs with different 
> names than vm.{ch}, but src/mobius/platform/boot.c always included vm.h. 
>  Unfortunately, there was always some old vm.h lying around, and it's 
> layout of ObjectHeap structure was not compatible with the real one in 
> freshly generated test01.h --> bizarre crashes.  Attached patch should 
> avoid this situation and build boot.c which always includes correct vm.h 
> depending on your VM= variable setting.

It wasn't only you, actually. I started doing this last night and trying 
to figure out the same issue. Thanks for noticing this! I was really 
going a bit nuts. :) I'll apply it now.

> have a nice weekend, guys
> Pavel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: water.vcf
Type: text/x-vcard
Size: 208 bytes
Desc: not available
Url : /archives/slate/attachments/20040910/4b4081e1/water.vcf


More information about the Slate mailing list