Branch: refs/heads/Cog
Home: https://github.com/OpenSmalltalk/opensmalltalk-vm
Commit: 32c4b7972e05455d367f91ef7a6e67d79825217e
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/32c4b7972e05455d36…
Author: Eliot Miranda <eliot.miranda(a)gmail.com>
Date: 2018-12-06 (Thu, 06 Dec 2018)
Changed paths:
M build.linux64x64/pharo.cog.spur/build.assert.itimerheartbeat/mvm
M build.linux64x64/pharo.cog.spur/build.assert/mvm
M build.linux64x64/pharo.cog.spur/build.debug.itimerheartbeat/mvm
M build.linux64x64/pharo.cog.spur/build.debug/mvm
M build.linux64x64/pharo.cog.spur/build.itimerheartbeat/mvm
M build.linux64x64/pharo.cog.spur/build/mvm
M platforms/Cross/plugins/SerialPlugin/SerialPlugin.h
M platforms/Cross/plugins/SerialPlugin/sqNullSerialPort.c
A platforms/win32/plugins/SerialPlugin/Makefile.plugin
M src/plugins/SerialPlugin/SerialPlugin.c
Log Message:
-----------
CogVM source as per VMMaker.oscog-eem.2491
Tidy up the SerialPlugin. FIx a bug in primitiveSerialPortCloseByName:.
Fix the SerialPlugin build on Windows.
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
Ken,
Thank you for the update to cmake/config.guess to add support for
building the interpreter VM on aarch64. I committed your updates to
the SVN repository.
Dave
On Tue, Dec 04, 2018 at 10:34:31PM +0000, Ken.Dickey wrote:
> On Tue, 4 Dec 2018 09:16:08 -0500
> "David T. Lewis" <lewis(a)mail.msen.com> wrote:
>
> > Since you are able to compile this successfully, I would suggest one
> > additional step. The Debian squeaka-vm package got to a pretty bad
> > state (unfortunately), so you will have a much more up to date VM
> > if you compile from the real squeakvm.org sources. Follow instructions
> > at http://wiki.squeak.org/squeak/6354.
> >
> > This will give you a good VM for use up through Squeak 4.6, at which
> > point the image format changes to Spur, and the oscog VMs are needed.
>
> Thanks. Dave.
>
> This build compiled and works on aarch64 Linux with version 4.16.5-3765
>
> Modified config.guess attached.
>
> --
> -KenD
> On 2018-12-05, at 3:40 PM, ken.dickey(a)whidbey.com wrote:
>
> Greetings,
>
> In walking the slow path to aarch64 build, I have made some progress but am unsure as to the proper way through
> #ifdef hell
>
> It has been a couple of decades since I did this stuff.
>
> Can someone help me out? Thanks.
>
> /home/kend/OpenSmalltalk/oscogvm/platforms/unix/vm/include_ucontext.h:54:3: error: #error need to implement extracting pc from a ucontext_t on this system
>
> >>> uname -a
> Linux spud 4.14.70-meson64 #269 SMP PREEMPT Wed Sep 19 11:21:29 CEST 2018 aarch64 GNU/Linux
Wild guess - if you look in sqUnixMain.c (around line 900) you'll notice that the ARM related tests are ARM32 specific so the trick is probably to find the relevant defines. Another wild guess - __arm__ will stay, __arm32__ will be replaced by __arm64__ and ARM32 by ARM64.
tim
--
tim Rowledge; tim(a)rowledge.org; http://www.rowledge.org/tim
Klingon Code Warrior:- 5) "Specs are for the weak and timid!"