[squeak-dev] [Vm-dev] Condensing sources for a new release

Eliot Miranda eliot.miranda at gmail.com
Tue Feb 11 15:13:46 UTC 2020


Hi David,

> On Feb 11, 2020, at 6:09 AM, David T. Lewis <lewis at mail.msen.com> wrote:
> 
> I need some help on this, can someone please test the converted 32-bit
> image on Linux and/or Windows? I'm have problems with my 32-bit libraries
> (I think) and I don't have any time to follow up on it today. Thanks!

You don’t need to test on multiple platforms.  It is in the nature of the beast that if the 32-bit result of a conversion starts up at all then it is correct and will function on all platforms.

The image conversion does not do anything special which could possibly affect cross-platform behaviour.  Its effects are entirely below that level, simply changing the width of all pointers and mapping out-of-range immediate into their boxed equivalents (SmallFloat64 => BoxedFloat64, SmallInteger=>LargePositiveInteger & LargeNegaitiveInteger). Just as the 64-bit product goes the other way.  Nothing else is changed.

> 
> The actual image conversion seems to work fine, and it's fast. But I
> don't have a 32-bit VM at the moment, probably due to Linux runtime
> library issues that I don't have time to sort out this morning.
> 
> Thanks!
> Dave
> 
>> On Mon, Feb 10, 2020 at 08:47:34PM -0500, David T. Lewis wrote:
>>> On Mon, Feb 10, 2020 at 08:48:49AM -0800, Eliot Miranda wrote:
>>> 
>>> Hi David, Hi Release Manager, Hi All,
>>> 
>>> On Thu, Feb 6, 2020 at 6:03 PM David T. Lewis <lewis at mail.msen.com> wrote:
>>>> 
>>>> A 64-bit to 32-bit image converter would be a very good thing to have
>>>> in our toolkit :-)
>>> 
>>> I got this working this morning.  See Cog-eem.398.  So to use,
>>> - clone or update an opensmalltalk-vm repository
>>> - cd to the image directory and create a VMMaker image via either
>>> buildspurtrunkvmmaker64image.sh or buildspurtrunkvmmakerimage.sh
>>> - run a converter, e.g.
>>>    Spur32to64BitImageConverter new bootstrapImage: 'trunk6'.
>>> (produces trunk6-64.image & trunk6-64.changes)
>>>    Spur64to32BitImageConverter new bootstrapImage: 'trunk6-64'.
>>> (produces trunk6-64-32.image & trunk6-64-32.changes)
>>> 
>>> Converting a 28Mb 64-bit image into a 22Mb 32-bit image takes 9 seconds on
>>> my 2.9GHz Core i9 MacBook Pro
>>> 
>>> 
>>> So let's try releasing by converting the 64-bit image into a 32-bit one.
>>> 
>> 
>> Bravo! I am away now but will try doing an image conversion as soon as
>> I can tomorrow.
>> 
>> Thanks Eliot,
>> 
> 
> 
> 
> 
> 
> 
> 


More information about the Squeak-dev mailing list