Apologies to all, I though I had trimmed the header on this..
-KenD
=============
Message: 6
Date: Thu, 31 Dec 2020 04:18:58 -0800
From: Christoph Thiede <notifications(a)github.com>
To: OpenSmalltalk/opensmalltalk-vm
<opensmalltalk-vm(a)noreply.github.com>
Cc: Comment <comment(a)noreply.github.com>, OpenSmalltalk-Bot
<vm-dev(a)lists.squeakfoundation.org>
Subject: Re: [Vm-dev] [OpenSmalltalk/opensmalltalk-vm] Trouble running
OSVM in an Ubuntu 20/aarch64 docker (raspi) (#544)
Message-ID:
<OpenSmalltalk/opensmalltalk-vm/issues/544/752942612(a)github.com>
Content-Type: text/plain; charset="utf-8"
I have tried that and built the VM again, but I keep getting the same
mprotect error message :( Any other ideas?
From: oscogvm/build.linux64ARMv8/HowToBuild:
vvv======vvv
If running the resultant squeak vm gives an error something like
mprotect(x,y,PROT_READ|PROT_EXEC)
or
memory_alias_map: shm_open: Permission denied
you need to enable shared memory for the COG JIT.
As root:
chmod 777 /dev/shm
echo 'none /dev/shm tmpfs rw,nosuid,nodev 0 0' >> /etc/fstab
mount /dev/shm
The squeak vm should now work.
^^^======^^^