[Vm-dev] errors while building a cog development image

Eliot Miranda eliot.miranda at gmail.com
Wed May 3 15:43:10 UTC 2017


Hi Sophie,


> On May 3, 2017, at 6:18 AM, Sophie Kaleba <sophie.kaleba at gmail.com> wrote:
> 
> 
> 
> 2017-04-27 22:04 GMT+02:00 Eliot Miranda <eliot.miranda at gmail.com>:
>>  
>> Hi Sophie, Hi Ben,
>> 
>>    thanks!  This issue is because until recently Squeak used ContextPart and MethodContext as the class names for contexts, while Pharo had changed to just using Context.  Now Squeak trunk is using Context too the compatibility package isn't needed.  I've updated the load script to eliminate CogCompatibility.st as you two both did.  That's pushed to github.  I'm also committing versions of VMMaker and Cog that no longer use the deprecated includedSubString:, so the builds should work less noisily now.
>> 
>> Sophie, welcome!  I for one would love to know what your plans with VMMaker are.
> 
> 
> Thanks Eliot!
> I (may) work on the VMProfiler as a gsoc and I was trying to make it work on my computer, but it crashed every time, whatever Squeak VM I was using. So I wanted to make an attempt with a development image, just in case.
> It eventually worked with the latest Squeak VM :-)

I assure you that it does work in the vm and in a Squeak image :-). I depend on this tool when analyzing vm performance.  I hope to fix the vm download script and hence the image build scripts today (but am busy this morning) so it should be easier to test.  IIRC it is loaded into the script-built VMMaker image so you could try it there.  Don't hesitate to contact me for operating instructions.  I'm on Skype.  Clément has my contact info.

> 
> 
>  
>>> On Wed, Apr 26, 2017 at 3:13 PM, Sophie Kaleba <sophie.kaleba at gmail.com> wrote:
>>>  
>>> Hi,
>>> 
>>> I have tried to build a cog dvlpt image using the following instructions :
>>> $ git clone http://www.github.com/OpenSmalltalk/opensmalltalk-vm
>>> $ cd opensmalltalk-vm/image
>>> $ ./buildspurtrunkvmmakerimage.sh
>>> 
>>> while running the script, i get 2 errors (see attached file):
>>> - "Context cannot be changed" 
>>> - and then "stackp store failure" 
>>> which prevent me from actually building the image (the last error goes in an infinite loop)
>>> 
>>> Has anyone ever experienced this problem?
>>> 
>>> I am using Ubuntu 15.10, 64 bits.
>>> 
>>> Thanks
>>> Sophie
>>> 
>>> 
>> 
>> 
>> 
>> -- 
>> _,,,^..^,,,_
>> best, Eliot
>> 
> 
> Sophie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20170503/005d36b9/attachment.html>


More information about the Vm-dev mailing list