[squeak-dev] Trying to compile a VM on an x86_64 machine (make/make install, not VMMaker)

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

[squeak-dev] Trying to compile a VM on an x86_64 machine (make/make install, not VMMaker)

John Thornborrow
Hello all,

I'm trying to build a VM on my Gentoo x86_64 desktop, without much success.

The furthest I have got is using the package available on portage
(Gentoo's source/package manager) but whenever I try to do anything the
VM crashes with a segmentation fault. If I use the self-compiled squeak,
squeak does not start - it errors with the "cannot locate
vm-display-X11.so"

Can anyone advise on just how I can get a VM built and running?

Much obliged.

Regards,
John


******************************************************************************************************************************************
This email is from Pinesoft Limited. Its contents are confidential to the intended recipient(s) at the email address(es) to which it has been addressed. It may not be disclosed to or used by anyone other than the addressee(s), nor may it be copied in anyway. If received in error, please contact the sender, then delete it from your system. Although this email and attachments are believed to be free of virus, or any other defect which might affect any computer or IT system into which they are received and opened, it is the responsibility of the recipient to ensure that they are virus free and no responsibility is accepted by Pinesoft for any loss or damage arising in any way from receipt or use thereof. *******************************************************************************************************************************************


Pinesoft Limited are registered in England, Registered number: 2914825. Registered office: 266-268 High Street, Waltham Cross, Herts, EN8 7EA

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Trying to compile a VM on an x86_64 machine (make/make install, not VMMaker)

Philippe Marschall
2008/7/1 John Thornborrow <[hidden email]>:

> Hello all,
>
> I'm trying to build a VM on my Gentoo x86_64 desktop, without much success.
>
> The furthest I have got is using the package available on portage (Gentoo's
> source/package manager) but whenever I try to do anything the VM crashes
> with a segmentation fault. If I use the self-compiled squeak, squeak does
> not start - it errors with the "cannot locate vm-display-X11.so"
>
> Can anyone advise on just how I can get a VM built and running?

http://goran.krampe.se/blog/Squeak/vmmaker.rdoc

Be sure to _not_ check the 64bit box.

Cheers
Philippe

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Trying to compile a VM on an x86_64 machine (make/make install, not VMMaker)

Bert Freudenberg

Am 01.07.2008 um 16:30 schrieb Philippe Marschall:

> 2008/7/1 John Thornborrow <[hidden email]>:
>> Hello all,
>>
>> I'm trying to build a VM on my Gentoo x86_64 desktop, without much  
>> success.
>>
>> The furthest I have got is using the package available on portage  
>> (Gentoo's
>> source/package manager) but whenever I try to do anything the VM  
>> crashes
>> with a segmentation fault. If I use the self-compiled squeak,  
>> squeak does
>> not start - it errors with the "cannot locate vm-display-X11.so"
>>
>> Can anyone advise on just how I can get a VM built and running?
>
> http://goran.krampe.se/blog/Squeak/vmmaker.rdoc
>
> Be sure to _not_ check the 64bit box.


Also see

http://squeakvm.org/squeak64/faq.html

- Bert -



Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Trying to compile a VM on an x86_64 machine (make/make install, not VMMaker)

John Thornborrow
Thanks for the links, but I am getting segmentation faults when I try to
load anything (including VMMaker) within an image, and example stackdump:

I'll hunt around some more to see what I can find.

Thanks,
John.

Segmentation fault

20512560 [] in >addressForName:timeout:
20512652 [] in Semaphore>critical:
20512284 BlockContext>ensure:
20512192 Semaphore>critical:
20511424 >addressForName:timeout:
20508560 >httpGetDocument:args:accept:request:
20436660 HttpUrl>retrieveContentsArgs:accept:
20436568 HttpUrl>retrieveContentsArgs:
20436476 HttpUrl>retrieveContents
20434996 [] in SMFileCache>getStream:
20434536 BlockContext>on:do:
20434444 SMFileCache>getStream:
20434812 [] in SMFileCache>download:
20434352 BlockContext>ensure:
20433948 [] in SMFileCache>download:
20433856 BlockContext>on:do:
20433764 SMFileCache>download:
20433672 SMFileCache>add:
20433556 SMPackageRelease>ensureInCache
20433464 SMSimpleInstaller>cache
20433372 SMMcInstaller>install
20433120 [] in SMLoader>installPackageRelease:
20432844 BlockContext>ensure:
20432752 Cursor>showWhile:
20432936 [] in SMLoader>installPackageRelease:
20432660 BlockContext>on:do:
20431164 SMLoader>installPackageRelease:
20425760 SMLoader>installPackageRelease
20425668 SMLoader>perform:orSendTo:
20425576 [] in MenuItemMorph>invokeWithEvent:
20425484 BlockContext>ensure:
20425392 Cursor>showWhile:
20425300 MenuItemMorph>invokeWithEvent:
20425208 MenuItemMorph>mouseUp:
20425116 MenuItemMorph>handleMouseUp:
20425024 MouseButtonEvent>sentTo:
20424932 Morph>handleEvent:
20424800 MorphicEventDispatcher>dispatchDefault:with:
20424708 MorphicEventDispatcher>dispatchEvent:with:
20424616 Morph>processEvent:using:
20424524 MorphicEventDispatcher>dispatchDefault:with:
20424416 MorphicEventDispatcher>dispatchEvent:with:
20424284 Morph>processEvent:using:
20424192 Morph>processEvent:
20424100 MenuMorph>handleFocusEvent:
20423824 [] in HandMorph>sendFocusEvent:to:clear:
20423916 [] in PasteUpMorph>becomeActiveDuring:
20423732 BlockContext>on:do:
20423640 PasteUpMorph>becomeActiveDuring:
20423456 HandMorph>sendFocusEvent:to:clear:
20423364 HandMorph>sendEvent:focus:clear:
20423272 HandMorph>sendMouseEvent:
20423128 HandMorph>handleEvent:
20422872 HandMorph>processEvents
20422964 [] in WorldState>doOneCycleNowFor:
20422780 SequenceableCollection>do:
20422688 WorldState>handsDo:
20422596 WorldState>doOneCycleNowFor:
20422504 WorldState>doOneCycleFor:
20422412 PasteUpMorph>doOneCycle
14141004 [] in >spawnNewProcess
14141188 [] in BlockContext>newProcess
Aborted


Bert Freudenberg wrote:

>
> Am 01.07.2008 um 16:30 schrieb Philippe Marschall:
>
>> 2008/7/1 John Thornborrow <[hidden email]>:
>>> Hello all,
>>>
>>> I'm trying to build a VM on my Gentoo x86_64 desktop, without much
>>> success.
>>>
>>> The furthest I have got is using the package available on portage
>>> (Gentoo's
>>> source/package manager) but whenever I try to do anything the VM
>>> crashes
>>> with a segmentation fault. If I use the self-compiled squeak, squeak
>>> does
>>> not start - it errors with the "cannot locate vm-display-X11.so"
>>>
>>> Can anyone advise on just how I can get a VM built and running?
>>
>> http://goran.krampe.se/blog/Squeak/vmmaker.rdoc
>>
>> Be sure to _not_ check the 64bit box.
>
>
> Also see
>
> http://squeakvm.org/squeak64/faq.html
>
> - Bert -
>
>
>
>


******************************************************************************************************************************************
This email is from Pinesoft Limited. Its contents are confidential to the intended recipient(s) at the email address(es) to which it has been addressed. It may not be disclosed to or used by anyone other than the addressee(s), nor may it be copied in anyway. If received in error, please contact the sender, then delete it from your system. Although this email and attachments are believed to be free of virus, or any other defect which might affect any computer or IT system into which they are received and opened, it is the responsibility of the recipient to ensure that they are virus free and no responsibility is accepted by Pinesoft for any loss or damage arising in any way from receipt or use thereof. *******************************************************************************************************************************************


Pinesoft Limited are registered in England, Registered number: 2914825. Registered office: 266-268 High Street, Waltham Cross, Herts, EN8 7EA

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Trying to compile a VM on an x86_64 machine (make/make install, not VMMaker)

Philippe Marschall
You had to patch a generated source file by hand (search the
archives). I don't know whether this is fixed in trunk.

Cheers
Philippe

2008/7/1 John Thornborrow <[hidden email]>:

> Thanks for the links, but I am getting segmentation faults when I try to
> load anything (including VMMaker) within an image, and example stackdump:
>
> I'll hunt around some more to see what I can find.
>
> Thanks,
> John.
>
> Segmentation fault
>
> 20512560 [] in >addressForName:timeout:
> 20512652 [] in Semaphore>critical:
> 20512284 BlockContext>ensure:
> 20512192 Semaphore>critical:
> 20511424 >addressForName:timeout:
> 20508560 >httpGetDocument:args:accept:request:
> 20436660 HttpUrl>retrieveContentsArgs:accept:
> 20436568 HttpUrl>retrieveContentsArgs:
> 20436476 HttpUrl>retrieveContents
> 20434996 [] in SMFileCache>getStream:
> 20434536 BlockContext>on:do:
> 20434444 SMFileCache>getStream:
> 20434812 [] in SMFileCache>download:
> 20434352 BlockContext>ensure:
> 20433948 [] in SMFileCache>download:
> 20433856 BlockContext>on:do:
> 20433764 SMFileCache>download:
> 20433672 SMFileCache>add:
> 20433556 SMPackageRelease>ensureInCache
> 20433464 SMSimpleInstaller>cache
> 20433372 SMMcInstaller>install
> 20433120 [] in SMLoader>installPackageRelease:
> 20432844 BlockContext>ensure:
> 20432752 Cursor>showWhile:
> 20432936 [] in SMLoader>installPackageRelease:
> 20432660 BlockContext>on:do:
> 20431164 SMLoader>installPackageRelease:
> 20425760 SMLoader>installPackageRelease
> 20425668 SMLoader>perform:orSendTo:
> 20425576 [] in MenuItemMorph>invokeWithEvent:
> 20425484 BlockContext>ensure:
> 20425392 Cursor>showWhile:
> 20425300 MenuItemMorph>invokeWithEvent:
> 20425208 MenuItemMorph>mouseUp:
> 20425116 MenuItemMorph>handleMouseUp:
> 20425024 MouseButtonEvent>sentTo:
> 20424932 Morph>handleEvent:
> 20424800 MorphicEventDispatcher>dispatchDefault:with:
> 20424708 MorphicEventDispatcher>dispatchEvent:with:
> 20424616 Morph>processEvent:using:
> 20424524 MorphicEventDispatcher>dispatchDefault:with:
> 20424416 MorphicEventDispatcher>dispatchEvent:with:
> 20424284 Morph>processEvent:using:
> 20424192 Morph>processEvent:
> 20424100 MenuMorph>handleFocusEvent:
> 20423824 [] in HandMorph>sendFocusEvent:to:clear:
> 20423916 [] in PasteUpMorph>becomeActiveDuring:
> 20423732 BlockContext>on:do:
> 20423640 PasteUpMorph>becomeActiveDuring:
> 20423456 HandMorph>sendFocusEvent:to:clear:
> 20423364 HandMorph>sendEvent:focus:clear:
> 20423272 HandMorph>sendMouseEvent:
> 20423128 HandMorph>handleEvent:
> 20422872 HandMorph>processEvents
> 20422964 [] in WorldState>doOneCycleNowFor:
> 20422780 SequenceableCollection>do:
> 20422688 WorldState>handsDo:
> 20422596 WorldState>doOneCycleNowFor:
> 20422504 WorldState>doOneCycleFor:
> 20422412 PasteUpMorph>doOneCycle
> 14141004 [] in >spawnNewProcess
> 14141188 [] in BlockContext>newProcess
> Aborted
>
>
> Bert Freudenberg wrote:
>>
>> Am 01.07.2008 um 16:30 schrieb Philippe Marschall:
>>
>>> 2008/7/1 John Thornborrow <[hidden email]>:
>>>>
>>>> Hello all,
>>>>
>>>> I'm trying to build a VM on my Gentoo x86_64 desktop, without much
>>>> success.
>>>>
>>>> The furthest I have got is using the package available on portage
>>>> (Gentoo's
>>>> source/package manager) but whenever I try to do anything the VM crashes
>>>> with a segmentation fault. If I use the self-compiled squeak, squeak
>>>> does
>>>> not start - it errors with the "cannot locate vm-display-X11.so"
>>>>
>>>> Can anyone advise on just how I can get a VM built and running?
>>>
>>> http://goran.krampe.se/blog/Squeak/vmmaker.rdoc
>>>
>>> Be sure to _not_ check the 64bit box.
>>
>>
>> Also see
>>
>> http://squeakvm.org/squeak64/faq.html
>>
>> - Bert -
>>
>>
>>
>>
>
>
> ******************************************************************************************************************************************
> This email is from Pinesoft Limited. Its contents are confidential to the
> intended recipient(s) at the email address(es) to which it has been
> addressed. It may not be disclosed to or used by anyone other than the
> addressee(s), nor may it be copied in anyway. If received in error, please
> contact the sender, then delete it from your system. Although this email and
> attachments are believed to be free of virus, or any other defect which
> might affect any computer or IT system into which they are received and
> opened, it is the responsibility of the recipient to ensure that they are
> virus free and no responsibility is accepted by Pinesoft for any loss or
> damage arising in any way from receipt or use thereof.
> *******************************************************************************************************************************************
>
>
> Pinesoft Limited are registered in England, Registered number: 2914825.
> Registered office: 266-268 High Street, Waltham Cross, Herts, EN8 7EA
>
>

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Trying to compile a VM on an x86_64 machine (make/make install, not VMMaker)

John Thornborrow
I finally got it working, I had to configure with --without-gl (no opengl) and had to recompile some classes within the image itself.

Regards,
John.

Philippe Marschall wrote:
You had to patch a generated source file by hand (search the
archives). I don't know whether this is fixed in trunk.

Cheers
Philippe

2008/7/1 John Thornborrow [hidden email]:
  
Thanks for the links, but I am getting segmentation faults when I try to
load anything (including VMMaker) within an image, and example stackdump:

I'll hunt around some more to see what I can find.

Thanks,
John.

Segmentation fault

20512560 [] in >addressForName:timeout:
20512652 [] in Semaphore>critical:
20512284 BlockContext>ensure:
20512192 Semaphore>critical:
20511424 >addressForName:timeout:
20508560 >httpGetDocument:args:accept:request:
20436660 HttpUrl>retrieveContentsArgs:accept:
20436568 HttpUrl>retrieveContentsArgs:
20436476 HttpUrl>retrieveContents
20434996 [] in SMFileCache>getStream:
20434536 BlockContext>on:do:
20434444 SMFileCache>getStream:
20434812 [] in SMFileCache>download:
20434352 BlockContext>ensure:
20433948 [] in SMFileCache>download:
20433856 BlockContext>on:do:
20433764 SMFileCache>download:
20433672 SMFileCache>add:
20433556 SMPackageRelease>ensureInCache
20433464 SMSimpleInstaller>cache
20433372 SMMcInstaller>install
20433120 [] in SMLoader>installPackageRelease:
20432844 BlockContext>ensure:
20432752 Cursor>showWhile:
20432936 [] in SMLoader>installPackageRelease:
20432660 BlockContext>on:do:
20431164 SMLoader>installPackageRelease:
20425760 SMLoader>installPackageRelease
20425668 SMLoader>perform:orSendTo:
20425576 [] in MenuItemMorph>invokeWithEvent:
20425484 BlockContext>ensure:
20425392 Cursor>showWhile:
20425300 MenuItemMorph>invokeWithEvent:
20425208 MenuItemMorph>mouseUp:
20425116 MenuItemMorph>handleMouseUp:
20425024 MouseButtonEvent>sentTo:
20424932 Morph>handleEvent:
20424800 MorphicEventDispatcher>dispatchDefault:with:
20424708 MorphicEventDispatcher>dispatchEvent:with:
20424616 Morph>processEvent:using:
20424524 MorphicEventDispatcher>dispatchDefault:with:
20424416 MorphicEventDispatcher>dispatchEvent:with:
20424284 Morph>processEvent:using:
20424192 Morph>processEvent:
20424100 MenuMorph>handleFocusEvent:
20423824 [] in HandMorph>sendFocusEvent:to:clear:
20423916 [] in PasteUpMorph>becomeActiveDuring:
20423732 BlockContext>on:do:
20423640 PasteUpMorph>becomeActiveDuring:
20423456 HandMorph>sendFocusEvent:to:clear:
20423364 HandMorph>sendEvent:focus:clear:
20423272 HandMorph>sendMouseEvent:
20423128 HandMorph>handleEvent:
20422872 HandMorph>processEvents
20422964 [] in WorldState>doOneCycleNowFor:
20422780 SequenceableCollection>do:
20422688 WorldState>handsDo:
20422596 WorldState>doOneCycleNowFor:
20422504 WorldState>doOneCycleFor:
20422412 PasteUpMorph>doOneCycle
14141004 [] in >spawnNewProcess
14141188 [] in BlockContext>newProcess
Aborted


Bert Freudenberg wrote:
    
Am 01.07.2008 um 16:30 schrieb Philippe Marschall:

      
2008/7/1 John Thornborrow [hidden email]:
        
Hello all,

I'm trying to build a VM on my Gentoo x86_64 desktop, without much
success.

The furthest I have got is using the package available on portage
(Gentoo's
source/package manager) but whenever I try to do anything the VM crashes
with a segmentation fault. If I use the self-compiled squeak, squeak
does
not start - it errors with the "cannot locate vm-display-X11.so"

Can anyone advise on just how I can get a VM built and running?
          
http://goran.krampe.se/blog/Squeak/vmmaker.rdoc

Be sure to _not_ check the 64bit box.
        
Also see

http://squeakvm.org/squeak64/faq.html

- Bert -




      
******************************************************************************************************************************************
This email is from Pinesoft Limited. Its contents are confidential to the
intended recipient(s) at the email address(es) to which it has been
addressed. It may not be disclosed to or used by anyone other than the
addressee(s), nor may it be copied in anyway. If received in error, please
contact the sender, then delete it from your system. Although this email and
attachments are believed to be free of virus, or any other defect which
might affect any computer or IT system into which they are received and
opened, it is the responsibility of the recipient to ensure that they are
virus free and no responsibility is accepted by Pinesoft for any loss or
damage arising in any way from receipt or use thereof.
*******************************************************************************************************************************************


Pinesoft Limited are registered in England, Registered number: 2914825.
Registered office: 266-268 High Street, Waltham Cross, Herts, EN8 7EA


    



 

  


*******************************************************************************************************************************************

This email is from Pinesoft Limited. Its contents are confidential to the intended recipient(s) at the email address(es) to which it has been addressed. It may not be disclosed to or used by anyone other than the addressee(s), nor may it be copied in anyway. If received in error, please contact the sender, then delete it from your system. Although this email and attachments are believed to be free of virus, or any other defect which might affect any computer or IT system into which they are received and opened, it is the responsibility of the recipient to ensure that they are virus free and no responsibility is accepted by Pinesoft for any loss or damage arising in any way from receipt or use thereof.

*******************************************************************************************************************************************

 

Pinesoft Limited are registered in England, Registered number: 2914825. Registered office: 266-268 High Street, Waltham Cross, Herts, EN8 7EA