[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] Insufficient Object Memory: Building on Alpine (#519)

IcedQuinn notifications at github.com
Thu Sep 3 01:55:39 UTC 2020


Building via mvm scripts results in a VM that segfaults when attempting to load a Pharo 8 image.
Building via cmake requires some tweaks to compile (for example, SDL had to be told not to build Wayland support due to symbol duplication bugs) as well as adding `-Wl,--whole-archive /usr/lib/libexecinfo.a -Wl,--no-whole-archive` to the linker flags.
The compiled virtual machine results in a primitive failed exception and the VM is unusably slow.

`pharo` script must be modified to point the platform library path to `/lib` where libmusl lives.
cap flag has to be set to get around scheduling error `setcap cap_sys_nice=eip lib/pharo/pharo`

The error: `PrimitiveFailed: primitive #'insufficient object memory' in File class failed`
VM brand: `phcogspurlinuxspurmhdlssdl264+sdl2`

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/519
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20200902/909ea72e/attachment.html>


More information about the Vm-dev mailing list