[Vm-dev] image install of ubuntu 64-bit has an issue

Robert Withers robert.w.withers at gmail.com
Sat Oct 24 20:05:08 UTC 2015


Hi David,

On 10/22/2015 09:51 PM, David T. Lewis wrote:
>   
>
>
> On Wed, Oct 21, 2015 at 10:55:24PM -0400, Robert Withers wrote:
>>
>> On 10/21/2015 10:45 PM, David T. Lewis wrote:
>>>   
>>> To be clear, this refers to the traditional interpreter VM, which can be
>>> used for Squeak images through Squeak 4.6, but cannot be used for the new
>>> Spur image format that we are using for Squeak 5.0 and for new development
>>> in Squeak trunk.
>>>
>>> That said, the instructions for building a VM are here:
>>>
>>>    http://lists.squeakfoundation.org/pipermail/vm-dev/2015-April/018259.html
>>>
>>> This will give you at matched set of VMs that can run 32 or 64 bit images
>>> on your 32 bit host platform.
>>>
>>> A reasonably recent Squeak image traced to a 64-bit object format is here:
>>>
>>>    http://build.squeak.org/job/Squeak%2064-bit%20image/lastSuccessfulBuild/artifact/
>>>
>>> I confess that I have not actually tried this on a 32-bit platform in the
>>> last several years, but hopefully it still works. Let me know if it does
>>> not.
>> Thanks for the information, Dave.  Do I understand that this image is a
>> 64-bit, Squeak 4.6 image?
> Basically yes. It is a 4.5 image updated to #15102, which is similar to
> the 4.6 release image. See attached SystemReporter for the details. You
> can also trace your own 4.6 image to 64 bits if you want an exact copy.

I tried to build these vms and the 32-bit vm blew up on me with this:

Here's my attempt to build and run the 4.6 32-bit interpreter on a 
64-bit image, which I had build as above.

rabbit at rabbithole:~/warren/interpreter-4.6/build$ build/squeakvm 
TrunkImage-64.image
could not find display driver vm-display-X11; either:
   - check that /usr/local/lib/squeak/4.14.2-3479/vm-display-X11.so 
exists, or
   - use the '-plugins <path>' option to tell me where it is, or
   - remove DISPLAY from your environment.
Aborted (core dumped)

I cleared DISPLAY and ran again:

rabbit at rabbithole:~/warren/interpreter-4.6/build$ build/squeakvm 
TrunkImage-64.image
squeak: could not find any display driver
Aborted (core dumped)

Not sure what's happening.

>
>
>> I was thinking spurstack64src was a way to build a 32-bit binary, 64-bit
>> host VM. I generated from the SpurVMMaker image and built another target
>> under build.linux32x86. It blew up compiling gcc3x-interp.c:
>>
>> /home/rabbit/warren/oscogvm/spurstack64src/vm/gcc3x-interp.c:9661:1:
>> internal compiler error: in assign_by_spills, at lra-assigns.c:1281
>>   }
>>
>> So from what you've said here, I'm not doing the right thing trying to
>> compile this am I?
> If you want a high performance 64 bit image and VM, then you need the
> upcoming version of Spur for 64 bit image/host. It is not ready yet, but
> will be soon, and it will provide significant improvements over any of the
> previous 32-bit or 64-bit image formats.
I would like to build and run a 64-bit Spur image on a 32-bit non-Cog 
VM. Is building spurstack64src the way to go forward with that?
> If you just want to try running a 64 bit image on a 32 bit platform, follow
> my suggestions above.
Yes, I am starting to get it clear. These instructions are for the 4.6 
vm/image context interpreter vm. Please see above.

---
robert

>
> Dave
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20151024/d184e478/attachment-0001.htm


More information about the Vm-dev mailing list