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

Ben Coman btc at openinworld.com
Thu Apr 27 16:45:20 UTC 2017


On Fri, Apr 28, 2017 at 12:40 AM, Ben Coman <btc at openinworld.com> wrote:

>
>
> On Thu, Apr 27, 2017 at 6:13 AM, 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
>>
>>
>>
> I tried this myself and noticed it fail when loading "CogCompatability".
> If you look down the stack to "MCClassDefintion>>createClass",
> the instance variable "name" holds #Context.
> Context has only recently been introduced to Squeak.
> Previously it needed to be loaded by "CogCompatability".
> Now its an error for "CogCompatability" to try redefining this core system
> class.
>
> I got it to work by removing "CogCompatability"
> from the manifest in BuildSqueakSpurTrunkVMMakerImage.st  ...
>
>     manifest := #(
>         ('http://source.squeak.org/FFI' 1 ('FFI-Pools' 'FFI-Kernel'))
>   ('http://source.squeak.org/VMMaker'  6
>              ('Balloon-Engine-Pools' 'BytecodeSets.spur'  'VMMaker.oscog'
> 'CogCompatibility'  .....
>
> And then running ./buildspurtrunkvmmakerimage.sh,
>
> cheers -ben
>

btw you might find this interesting...
http://forum.world.st/Exploring-the-simulator-was-Re-REPL-image-for-simulation-td4896870.html

cheers -ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20170428/1e3555d1/attachment.html>


More information about the Vm-dev mailing list