[squeak-dev] Fwd: [OpenSmalltalk/opensmalltalk-vm] Trouble running OSVM in an Ubuntu 20/aarch64 docker (raspi) (#544)

Bruce O'Neel bruce.oneel at pckswarms.ch
Wed Dec 30 18:17:31 UTC 2020


Hi,  
  
You are trying to run a Linux x86-64 VM.  But that is not the CPU you have.   What you have is an ARMv8 CPU in either 32 or 64 bit mode.  Since it's in 64bit mode then....  
  
You need a 64 bit ARMv8 VM.  
  
A recent checkout of the git repostiory  
  
git clone [https://github.com/OpenSmalltalk/opensmalltalk-vm.git](https://github.com/OpenSmalltalk/opensmalltalk-vm.git)  


  
Should work.  The last I tried was at the beginning of December and that VM works fine on my ArmV8 systems.  
  
Check it out with  
  
git clone [https://github.com/OpenSmalltalk/opensmalltalk-vm.git](https://github.com/OpenSmalltalk/opensmalltalk-vm.git)  


  
Then run  
  
./scripts/updateSCCSVersions  


  
cd build.linux64ARMv8/[squeak.cog.spur/build](http://squeak.cog.spur/build)  
./mvm  
  
and when it gets done in a few minutes you have a squeak binary and all the libraries.  
  
When it is done  
  
$ file local/squeak/squeak  


local/squeak/squeak: ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, for GNU/Linux 3.7.0, BuildID[sha1]=23893b13c1f61cd426946572ca6f5e374f3d647d, with debug_info, not stripped  


  
Should show you something similar.  The first bit before the dynamically linked, is the important bit.  
  
cheers  
  
bruce  
  
  
  
  
  
  



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20201230/4bf9212f/attachment.html>


More information about the Squeak-dev mailing list