64bit squeak VM to run 32bit images? Catalina

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

64bit squeak VM to run 32bit images? Catalina

johnmci
 
Does anyone have a build for making a 64bit squeak VM that runs 32bit images?
I have one from July 8th 2010. 
Was there any created over the years since? Say pre-cog etc? 
People are migrating to Catalina and discovering they can't access their old images.

....
John M. McIntosh. Corporate Smalltalk Consulting Ltd https://www.linkedin.com/in/smalltalk


Reply | Threaded
Open this post in threaded view
|

Re: 64bit squeak VM to run 32bit images? Catalina

Bert Freudenberg
 
On Thu, Oct 17, 2019 at 2:56 PM John M McIntosh <[hidden email]> wrote:
 
Does anyone have a build for making a 64bit squeak VM that runs 32bit images?
I have one from July 8th 2010. 

That is pretty much the latest, but with the advent of Cog the idea of cross-supporting 64<->32 images was abandoned.

Was there any created over the years since? Say pre-cog etc? 

I don't think so.

People are migrating to Catalina and discovering they can't access their old images.

Michael just brought it up on squeak-dev, we should move the discussion here.

- Bert -
Reply | Threaded
Open this post in threaded view
|

Re: 64bit squeak VM to run 32bit images? Catalina

David T. Lewis
In reply to this post by johnmci
 
Hi John,

On Thu, Oct 17, 2019 at 09:56:16PM +0000, John M McIntosh wrote:
>  
> Does anyone have a build for making a 64bit squeak VM that runs 32bit images?
> I have one from July 8th 2010.
> Was there any created over the years since? Say pre-cog etc?
> People are migrating to Catalina and discovering they can't access their old images.
>

See attached screen image.

So yes, a 64-bit VM that runs 32-bit images is still available, and
I use it on a daily basis.

But two caveats:

1) You have to compile it yourself from squeakvm.org sources.

2) I use Linux, and nobody has been maintaining OS X or Windows
for the interpreter VM.

The traditional interpreter VM has problems on OS X nowadays. The
Quartz VM display module does not build (the X11 display module is
fine). And the VM "works" but crashes quickly as soon as you do
something real with it. It looks to me like issues related to
the llvm compiler (versus gcc). The updates by Nicolas and others
in the oscog branch would probably address these issues, but I am
not in a position to confirm.

At the present time, older images are supported by either the
SqueakJS VM, or by the traditional interpreter VM on Linux.

Dave
 

world.png (167K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: 64bit squeak VM to run 32bit images? Catalina

Clément Béra
 
Is there a tool to convert 32 bits images into 64 bits images?
I know it's possible through the Spur64bootstrap in the VMMaker packager.
But is it possible to do it with the ImageWriter? Is there an easy way to load the packages and do it?
Sorry I'm not on squeak-dev, maybe I should be.

On Fri, Oct 18, 2019 at 3:49 AM David T. Lewis <[hidden email]> wrote:
 Hi John,

On Thu, Oct 17, 2019 at 09:56:16PM +0000, John M McIntosh wrote:

> Does anyone have a build for making a 64bit squeak VM that runs 32bit images?
> I have one from July 8th 2010.
> Was there any created over the years since? Say pre-cog etc?
> People are migrating to Catalina and discovering they can't access their old images.
>

See attached screen image.

So yes, a 64-bit VM that runs 32-bit images is still available, and
I use it on a daily basis.

But two caveats:

1) You have to compile it yourself from squeakvm.org sources.

2) I use Linux, and nobody has been maintaining OS X or Windows
for the interpreter VM.

The traditional interpreter VM has problems on OS X nowadays. The
Quartz VM display module does not build (the X11 display module is
fine). And the VM "works" but crashes quickly as soon as you do
something real with it. It looks to me like issues related to
the llvm compiler (versus gcc). The updates by Nicolas and others
in the oscog branch would probably address these issues, but I am
not in a position to confirm.

At the present time, older images are supported by either the
SqueakJS VM, or by the traditional interpreter VM on Linux.

Dave



--
Reply | Threaded
Open this post in threaded view
|

Re: 64bit squeak VM to run 32bit images? Catalina

David T. Lewis
 
Hi Cl??ment,

As far as I know, the only way to convert a 32-bit Spur image to
64-bit Spur is with the VMMaker similator based conversion. No
reverse conversion (64 bit to 32 bit) is currently available.

SystemTracer has not been adapted to trace Spur images, so no
in-image tool is available. But using the simulator tools in
VMMaker to do conversions makes a lot of sense, because they
are easier to debug and support. The only negative is that they
require a separate helper image to perform the image tracing.

As an aside, even though we may no longer have a need for tracing
images on tiny machines with extremely small memories, the
SystemTracer approach is really very cool and I cannot resist
quoting this snippet from the comment of class SystemTracer:

   NOTE:  The SystemTracer was invented by Ted Kaehler.  It has gone
   through many variations.  I have simplified it and adapted it to
   work with Squeak's limited Object hashing.  It has written runnable
   Mac images on a Mac.  Some changes may be needed for it to produce
   runnable images on a bigEndian machine.  -- Dan I. 9/29/97

Dave

On Mon, Oct 21, 2019 at 04:57:04PM +0300, Cl??ment B??ra wrote:

>  
> Is there a tool to convert 32 bits images into 64 bits images?
> I know it's possible through the Spur64bootstrap in the VMMaker packager.
> But is it possible to do it with the ImageWriter? Is there an easy way to
> load the packages and do it?
> Sorry I'm not on squeak-dev, maybe I should be.
>
> On Fri, Oct 18, 2019 at 3:49 AM David T. Lewis <[hidden email]> wrote:
>
> >  Hi John,
> >
> > On Thu, Oct 17, 2019 at 09:56:16PM +0000, John M McIntosh wrote:
> > >
> > > Does anyone have a build for making a 64bit squeak VM that runs 32bit
> > images?
> > > I have one from July 8th 2010.
> > > Was there any created over the years since? Say pre-cog etc?
> > > People are migrating to Catalina and discovering they can't access their
> > old images.
> > >
> >
> > See attached screen image.
> >
> > So yes, a 64-bit VM that runs 32-bit images is still available, and
> > I use it on a daily basis.
> >
> > But two caveats:
> >
> > 1) You have to compile it yourself from squeakvm.org sources.
> >
> > 2) I use Linux, and nobody has been maintaining OS X or Windows
> > for the interpreter VM.
> >
> > The traditional interpreter VM has problems on OS X nowadays. The
> > Quartz VM display module does not build (the X11 display module is
> > fine). And the VM "works" but crashes quickly as soon as you do
> > something real with it. It looks to me like issues related to
> > the llvm compiler (versus gcc). The updates by Nicolas and others
> > in the oscog branch would probably address these issues, but I am
> > not in a position to confirm.
> >
> > At the present time, older images are supported by either the
> > SqueakJS VM, or by the traditional interpreter VM on Linux.
> >
> > Dave
> >
> >
>
> --
> Cl??ment B??ra
> https://clementbera.github.io/
> https://clementbera.wordpress.com/

Reply | Threaded
Open this post in threaded view
|

Re: 64bit squeak VM to run 32bit images? Catalina

Clément Béra
 
Ok,

I thought Bert had implemented support for Spur images in SystemTracer.

Simulator then. Thanks for the answer.

On Tue, Oct 22, 2019 at 4:17 AM David T. Lewis <[hidden email]> wrote:
 
Hi Cl??ment,

As far as I know, the only way to convert a 32-bit Spur image to
64-bit Spur is with the VMMaker similator based conversion. No
reverse conversion (64 bit to 32 bit) is currently available.

SystemTracer has not been adapted to trace Spur images, so no
in-image tool is available. But using the simulator tools in
VMMaker to do conversions makes a lot of sense, because they
are easier to debug and support. The only negative is that they
require a separate helper image to perform the image tracing.

As an aside, even though we may no longer have a need for tracing
images on tiny machines with extremely small memories, the
SystemTracer approach is really very cool and I cannot resist
quoting this snippet from the comment of class SystemTracer:

   NOTE:  The SystemTracer was invented by Ted Kaehler.  It has gone
   through many variations.  I have simplified it and adapted it to
   work with Squeak's limited Object hashing.  It has written runnable
   Mac images on a Mac.  Some changes may be needed for it to produce
   runnable images on a bigEndian machine.  -- Dan I. 9/29/97

Dave

On Mon, Oct 21, 2019 at 04:57:04PM +0300, Cl??ment B??ra wrote:

> Is there a tool to convert 32 bits images into 64 bits images?
> I know it's possible through the Spur64bootstrap in the VMMaker packager.
> But is it possible to do it with the ImageWriter? Is there an easy way to
> load the packages and do it?
> Sorry I'm not on squeak-dev, maybe I should be.
>
> On Fri, Oct 18, 2019 at 3:49 AM David T. Lewis <[hidden email]> wrote:
>
> >  Hi John,
> >
> > On Thu, Oct 17, 2019 at 09:56:16PM +0000, John M McIntosh wrote:
> > >
> > > Does anyone have a build for making a 64bit squeak VM that runs 32bit
> > images?
> > > I have one from July 8th 2010.
> > > Was there any created over the years since? Say pre-cog etc?
> > > People are migrating to Catalina and discovering they can't access their
> > old images.
> > >
> >
> > See attached screen image.
> >
> > So yes, a 64-bit VM that runs 32-bit images is still available, and
> > I use it on a daily basis.
> >
> > But two caveats:
> >
> > 1) You have to compile it yourself from squeakvm.org sources.
> >
> > 2) I use Linux, and nobody has been maintaining OS X or Windows
> > for the interpreter VM.
> >
> > The traditional interpreter VM has problems on OS X nowadays. The
> > Quartz VM display module does not build (the X11 display module is
> > fine). And the VM "works" but crashes quickly as soon as you do
> > something real with it. It looks to me like issues related to
> > the llvm compiler (versus gcc). The updates by Nicolas and others
> > in the oscog branch would probably address these issues, but I am
> > not in a position to confirm.
> >
> > At the present time, older images are supported by either the
> > SqueakJS VM, or by the traditional interpreter VM on Linux.
> >
> > Dave
> >
> >
>
> --
> Cl??ment B??ra
> https://clementbera.github.io/
> https://clementbera.wordpress.com/



--
Reply | Threaded
Open this post in threaded view
|

Re: 64bit squeak VM to run 32bit images? Catalina

timrowledge
 
Would it be practical to set up a web interface to a machine configured to do the conversion? Drop your image on the page to upload, wait a couple of minutes and download the fixed 64bit image?

tim
--
tim Rowledge; [hidden email]; http://www.rowledge.org/tim
Strange OpCodes: SEOB: Set Every Other Bit


Reply | Threaded
Open this post in threaded view
|

Re: 64bit squeak VM to run 32bit images? Catalina

Bert Freudenberg
In reply to this post by Clément Béra
 
On Thu, Oct 24, 2019 at 11:22 AM Clément Béra <[hidden email]> wrote:
 
Ok,

I thought Bert had implemented support for Spur images in SystemTracer.

You're probably remembering me adding support for Spur images in SqueakJS. That is native support, not based on SystemTracer.

- Bert -