[ANN] first 64 bits windows VM Running

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

[ANN] first 64 bits windows VM Running

Nicolas Cellier
 
Hi,
I've finally compiled a 64bits VM for windows via cygwin64 / x86_64-w64-mingw32-gcc

It's a squeak.stack.spur (squeak.cog.spur fails somewhere in the longjmp to interpreter).

There's a bunch of unpublished changes required, and a bunch of -Wint-to-pointer-cast / pointer-to-int-cast (conversion from/to pointer to/from integer of different size) that must be handled in plugins (D3D, sound, mpeg, ...)

But that's already a good starting point.
Images intégrées 1
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] first 64 bits windows VM Running

Karl Ramberg
 
Very cool :-D

Best,
Karl

On Sun, Jul 17, 2016 at 6:27 PM, Nicolas Cellier <[hidden email]> wrote:
 
Hi,
I've finally compiled a 64bits VM for windows via cygwin64 / x86_64-w64-mingw32-gcc

It's a squeak.stack.spur (squeak.cog.spur fails somewhere in the longjmp to interpreter).

There's a bunch of unpublished changes required, and a bunch of -Wint-to-pointer-cast / pointer-to-int-cast (conversion from/to pointer to/from integer of different size) that must be handled in plugins (D3D, sound, mpeg, ...)

But that's already a good starting point.
Images intégrées 1


Reply | Threaded
Open this post in threaded view
|

Re: [ANN] first 64 bits windows VM Running

Clément Béra
 
Congratulations.

I've never had the courage to compile on windows. I'm glad you had :-)

On Sun, Jul 17, 2016 at 6:41 PM, karl ramberg <[hidden email]> wrote:
 
Very cool :-D

Best,
Karl

On Sun, Jul 17, 2016 at 6:27 PM, Nicolas Cellier <[hidden email]> wrote:
 
Hi,
I've finally compiled a 64bits VM for windows via cygwin64 / x86_64-w64-mingw32-gcc

It's a squeak.stack.spur (squeak.cog.spur fails somewhere in the longjmp to interpreter).

There's a bunch of unpublished changes required, and a bunch of -Wint-to-pointer-cast / pointer-to-int-cast (conversion from/to pointer to/from integer of different size) that must be handled in plugins (D3D, sound, mpeg, ...)

But that's already a good starting point.
Images intégrées 1




Reply | Threaded
Open this post in threaded view
|

Re: [ANN] first 64 bits windows VM Running

timrowledge


> On 17-07-2016, at 10:17 AM, Clément Bera <[hidden email]> wrote:
>
> Congratulations.
>
> I've never had the courage to compile on windows. I'm glad you had :-)

Hah! Likewise. I think the last time I compiled anything on Windows must have been ’94.


tim
--
tim Rowledge; [hidden email]; http://www.rowledge.org/tim
Oxymorons: Software documentation


Reply | Threaded
Open this post in threaded view
|

Re: [ANN] first 64 bits windows VM Running

David T. Lewis
 
On Sun, Jul 17, 2016 at 12:31:26PM -0700, tim Rowledge wrote:

>
>
> > On 17-07-2016, at 10:17 AM, Cl??ment Bera <[hidden email]> wrote:
> >
> > Congratulations.
> >
> > I've never had the courage to compile on windows. I'm glad you had :-)
>
> Hah! Likewise. I think the last time I compiled anything on Windows must have been ???94.
>

Congratulations Nicolas! This is great!

For some reason the original announcement did not show up in my mailbox, but
I see that it is in the mail archive so in case anyone else missed it, the
announcement with a screen shot is here:

  http://lists.squeakfoundation.org/pipermail/vm-dev/2016-July/022741.html


Dave
 
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] first 64 bits windows VM Running

Eliot Miranda-2
In reply to this post by Nicolas Cellier
 
WOOT!!

_,,,^..^,,,_ (phone)

> On Jul 17, 2016, at 9:27 AM, Nicolas Cellier <[hidden email]> wrote:
>
> Hi,
> I've finally compiled a 64bits VM for windows via cygwin64 / x86_64-w64-mingw32-gcc
>
> It's a squeak.stack.spur (squeak.cog.spur fails somewhere in the longjmp to interpreter).
>
> There's a bunch of unpublished changes required, and a bunch of -Wint-to-pointer-cast / pointer-to-int-cast (conversion from/to pointer to/from integer of different size) that must be handled in plugins (D3D, sound, mpeg, ...)
>
> But that's already a good starting point.

>

Capture d_e_cran 2016-07-17 a_ 18.20.03.png (360K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] first 64 bits windows VM Running

Tudor Girba-2

Great news!

Doru


> On Jul 18, 2016, at 4:54 AM, Eliot Miranda <[hidden email]> wrote:
>
> WOOT!!
>
> _,,,^..^,,,_ (phone)
>
>> On Jul 17, 2016, at 9:27 AM, Nicolas Cellier <[hidden email]> wrote:
>>
>> Hi,
>> I've finally compiled a 64bits VM for windows via cygwin64 / x86_64-w64-mingw32-gcc
>>
>> It's a squeak.stack.spur (squeak.cog.spur fails somewhere in the longjmp to interpreter).
>>
>> There's a bunch of unpublished changes required, and a bunch of -Wint-to-pointer-cast / pointer-to-int-cast (conversion from/to pointer to/from integer of different size) that must be handled in plugins (D3D, sound, mpeg, ...)
>>
>> But that's already a good starting point.
> <Capture d’écran 2016-07-17 à 18.20.03.png>
>>

--
www.tudorgirba.com
www.feenk.com

"Every now and then stop and ask yourself if the war you're fighting is the right one."




Reply | Threaded
Open this post in threaded view
|

Re: [ANN] first 64 bits windows VM Running

Nicolas Cellier
 
The recipe for compiling on windows: install cygwin and pretend it's unix...
With Eliot's mvm scripts and gnu make, it's essentially same job on linux and macosx...

Note that gcc 4.9.3 -O2 does not perform a good job...
For example 2.0*3.0 answers 4.0 for the fast version (mvm -f).
All is correct for the debug version (mvm -d).

clang seems to be performing better, this means that we'll have to play with compiler options again...
Or better: eliminate Undefined Behavior which is most probably the cause of problems
(There is some in SmallFloat handling, shifting left negative int, pointer aliasing, etc...)

2016-07-18 6:26 GMT+02:00 Tudor Girba <[hidden email]>:

Great news!

Doru


> On Jul 18, 2016, at 4:54 AM, Eliot Miranda <[hidden email]> wrote:
>
> WOOT!!
>
> _,,,^..^,,,_ (phone)
>
>> On Jul 17, 2016, at 9:27 AM, Nicolas Cellier <[hidden email]> wrote:
>>
>> Hi,
>> I've finally compiled a 64bits VM for windows via cygwin64 / x86_64-w64-mingw32-gcc
>>
>> It's a squeak.stack.spur (squeak.cog.spur fails somewhere in the longjmp to interpreter).
>>
>> There's a bunch of unpublished changes required, and a bunch of -Wint-to-pointer-cast / pointer-to-int-cast (conversion from/to pointer to/from integer of different size) that must be handled in plugins (D3D, sound, mpeg, ...)
>>
>> But that's already a good starting point.
> <Capture d’écran 2016-07-17 à 18.20.03.png>
>>

--
www.tudorgirba.com
www.feenk.com

"Every now and then stop and ask yourself if the war you're fighting is the right one."





Reply | Threaded
Open this post in threaded view
|

Re: [ANN] first 64 bits windows VM Running

timfelgentreff
 

Cool, thanks for putting in that work Nicolas.

Does that mean you are building essentially a Linux VM? That would mean it uses cygwin.dll and that it cannot easily call out to Windows libraries, no?

Best,
Tim


Am 18.07.2016 19:03 schrieb "Nicolas Cellier" <[hidden email]>:
 
The recipe for compiling on windows: install cygwin and pretend it's unix...
With Eliot's mvm scripts and gnu make, it's essentially same job on linux and macosx...

Note that gcc 4.9.3 -O2 does not perform a good job...
For example 2.0*3.0 answers 4.0 for the fast version (mvm -f).
All is correct for the debug version (mvm -d).

clang seems to be performing better, this means that we'll have to play with compiler options again...
Or better: eliminate Undefined Behavior which is most probably the cause of problems
(There is some in SmallFloat handling, shifting left negative int, pointer aliasing, etc...)

2016-07-18 6:26 GMT+02:00 Tudor Girba <[hidden email]>:

Great news!

Doru


> On Jul 18, 2016, at 4:54 AM, Eliot Miranda <[hidden email]> wrote:
>
> WOOT!!
>
> _,,,^..^,,,_ (phone)
>
>> On Jul 17, 2016, at 9:27 AM, Nicolas Cellier <[hidden email]> wrote:
>>
>> Hi,
>> I've finally compiled a 64bits VM for windows via cygwin64 / x86_64-w64-mingw32-gcc
>>
>> It's a squeak.stack.spur (squeak.cog.spur fails somewhere in the longjmp to interpreter).
>>
>> There's a bunch of unpublished changes required, and a bunch of -Wint-to-pointer-cast / pointer-to-int-cast (conversion from/to pointer to/from integer of different size) that must be handled in plugins (D3D, sound, mpeg, ...)
>>
>> But that's already a good starting point.
> <Capture d’écran 2016-07-17 à 18.20.03.png>
>>

--
www.tudorgirba.com
www.feenk.com

"Every now and then stop and ask yourself if the war you're fighting is the right one."






Reply | Threaded
Open this post in threaded view
|

Re: [ANN] first 64 bits windows VM Running

Nicolas Cellier
 


2016-07-18 22:07 GMT+02:00 Tim Felgentreff <[hidden email]>:
 

Cool, thanks for putting in that work Nicolas.

Does that mean you are building essentially a Linux VM? That would mean it uses cygwin.dll and that it cannot easily call out to Windows libraries, no?

Best,
Tim



Hi Tim,
no it's a windows VM, that's why I commit all these tiny changes essentially to platforms/win32.
The VMMaker part is at http://smalltalkhub.com/mc/nice/NiceVMExperiments/main in VMMaker.oscogLLP64 branch.

 
Am 18.07.2016 19:03 schrieb "Nicolas Cellier" <[hidden email]>:
 
The recipe for compiling on windows: install cygwin and pretend it's unix...
With Eliot's mvm scripts and gnu make, it's essentially same job on linux and macosx...

Note that gcc 4.9.3 -O2 does not perform a good job...
For example 2.0*3.0 answers 4.0 for the fast version (mvm -f).
All is correct for the debug version (mvm -d).

clang seems to be performing better, this means that we'll have to play with compiler options again...
Or better: eliminate Undefined Behavior which is most probably the cause of problems
(There is some in SmallFloat handling, shifting left negative int, pointer aliasing, etc...)

2016-07-18 6:26 GMT+02:00 Tudor Girba <[hidden email]>:

Great news!

Doru


> On Jul 18, 2016, at 4:54 AM, Eliot Miranda <[hidden email]> wrote:
>
> WOOT!!
>
> _,,,^..^,,,_ (phone)
>
>> On Jul 17, 2016, at 9:27 AM, Nicolas Cellier <[hidden email]> wrote:
>>
>> Hi,
>> I've finally compiled a 64bits VM for windows via cygwin64 / x86_64-w64-mingw32-gcc
>>
>> It's a squeak.stack.spur (squeak.cog.spur fails somewhere in the longjmp to interpreter).
>>
>> There's a bunch of unpublished changes required, and a bunch of -Wint-to-pointer-cast / pointer-to-int-cast (conversion from/to pointer to/from integer of different size) that must be handled in plugins (D3D, sound, mpeg, ...)
>>
>> But that's already a good starting point.
> <Capture d’écran 2016-07-17 à 18.20.03.png>
>>

--
www.tudorgirba.com
www.feenk.com

"Every now and then stop and ask yourself if the war you're fighting is the right one."