<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><div>On 17 Apr 2014, at 02:09, Igor Stasenko &lt;<a href="mailto:siguctua@gmail.com">siguctua@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><br class="Apple-interchange-newline"><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div class="gmail_quote" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">On 17 April 2014 00:59, Esteban Lorenzano<span class="Apple-converted-space">&nbsp;</span><span dir="ltr">&lt;<a href="mailto:estebanlm@gmail.com" target="_blank">estebanlm@gmail.com</a>&gt;</span><span class="Apple-converted-space">&nbsp;</span>wrote:<br><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex;">&nbsp;<br><div style="word-wrap: break-word;">yeah, that script does not fails for me :(<div><br></div></div></blockquote><div>you should have transcript window opened.<br></div><div>it doesn't fails if it closed..<br></div></div></blockquote><div><br></div><div>ha! there you go… hello my not-so-missed bug-friend! :)</div><div>now I see it :P</div><br><blockquote type="cite"><div class="gmail_quote" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div><br></div><div>which, btw a good sign where the problem might be hiding - in process switching code.<br><br></div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex;"><div style="word-wrap: break-word;"><div><div>On 16 Apr 2014, at 20:33, Nicolas Cellier &lt;<a href="mailto:nicolas.cellier.aka.nice@gmail.com" target="_blank">nicolas.cellier.aka.nice@gmail.com</a>&gt; wrote:</div><br><blockquote type="cite"><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">2014-04-16 19:13 GMT+02:00 Eliot Miranda<span class="Apple-converted-space">&nbsp;</span><span dir="ltr">&lt;<a href="mailto:eliot.miranda@gmail.com" target="_blank">eliot.miranda@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex;">&nbsp;<br><div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 16, 2014 at 9:58 AM, Nicolas Cellier<span class="Apple-converted-space">&nbsp;</span><span dir="ltr">&lt;<a href="mailto:nicolas.cellier.aka.nice@gmail.com" target="_blank">nicolas.cellier.aka.nice@gmail.com</a>&gt;</span><span class="Apple-converted-space">&nbsp;</span>wrote:<br><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex;">&nbsp;<br><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">2014-04-16 18:48 GMT+02:00 Esteban Lorenzano<span class="Apple-converted-space">&nbsp;</span><span dir="ltr">&lt;<a href="mailto:estebanlm@gmail.com" target="_blank">estebanlm@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;">&nbsp;<br><div style="word-wrap: break-word;"><br><div><div>On 16 Apr 2014, at 18:33, Nicolas Cellier &lt;<a href="mailto:nicolas.cellier.aka.nice@gmail.com" target="_blank">nicolas.cellier.aka.nice@gmail.com</a>&gt; wrote:</div><br><blockquote type="cite"><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">2014-04-16 14:38 GMT+02:00 Göran Krampe<span class="Apple-converted-space">&nbsp;</span><span dir="ltr">&lt;<a href="mailto:goran@krampe.se" target="_blank">goran@krampe.se</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><br>Hey!<br><br>On 04/16/2014 01:22 PM, gettimothy wrote:<br><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;">Hi Estaban,<div><br><br>&nbsp;&gt;&gt;Is a bit frustrating so I will say it again: CMakeMaker already does<br>that. And it does it for *any* vm flavour (we are generating pharovm<br>because that’s what we are using, but the builders for cog, stack and<br>even interpreter are there, and working… bah the interpreter version<br>needs &gt;&gt;some work).<br>&nbsp;<span class="Apple-converted-space">&nbsp;</span>&gt;&gt;Nothing prevents you to copy the pharo flavour and adapt it as<br>squeak flavour.<br>&nbsp;<span class="Apple-converted-space">&nbsp;</span>&gt;&gt;Nothing prevents you to do the same for newspeak.<br><br>&nbsp;<span class="Apple-converted-space">&nbsp;</span>&gt;&gt;cheers,<br>&nbsp;<span class="Apple-converted-space">&nbsp;</span>&gt;&gt;Esteban<br><br>&nbsp;<span class="Apple-converted-space">&nbsp;</span>&gt;&gt;ps: Thanks Dave for noticing :)<br><br></div>I did not know that project existed; &nbsp;of course I will start with that<br>and with the existing Interpreter stuff Dave mentioned.<br><br>Its is refreshing to know my instincts on how to approach the project<br>where correct! Heck, we even came up with the same name for it!<br></blockquote><br>Just wanted to mention that at 3DICC we are in the process of moving over to the Pharo build system for our client side (OSX and Windows) VMs.<br><br>Just a reflection: It was quite easy to get started, finding a proper place to add 3DICC subclasses, adding in methods for our plugins etc. I got distracted by other things but now I am picking up our OSX build again so soon we should be using it for real.<br><br>And also, it builds fine with clang! Thanks Esteban :)<br><br>regards, Göran<br></blockquote><div><br></div><div>BEWARE: it builds fine, but the resulting VM behaves weirdly : see<br><a href="https://pharo.fogbugz.com/f/cases/11130/Special-byte-code-sequences-mess-up-the-stack-of-VM" target="_blank">https://pharo.fogbugz.com/f/cases/11130/Special-byte-code-sequences-mess-up-the-stack-of-VM</a><span class="Apple-converted-space">&nbsp;</span><br></div></div></div></div></blockquote><div><br></div><div>that’s a real strange case, that does not happens all the time (in fact, that’s one of the problems we have: it is hard to have a reproducible case),&nbsp;</div><br></div></div></blockquote><div><br>For me, the ssnippet from Stephan Eggermont<span class="Apple-converted-space">&nbsp;</span><span><span></span></span>works reliably well<br>(I mean allways fails in official 3.0 distribution for MacOSX )<br><br>1 to: 1000 do: [ :i |<br>&nbsp; &nbsp; &nbsp; &nbsp;<span class="Apple-converted-space">&nbsp;</span>| string |<br>&nbsp; &nbsp; &nbsp; &nbsp;<span class="Apple-converted-space">&nbsp;</span>Transcript show: 'Iteration '; show: i; cr.<br>&nbsp; &nbsp; &nbsp; &nbsp;<span class="Apple-converted-space">&nbsp;</span>1 timesRepeat: [<span class="Apple-converted-space">&nbsp;</span><br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class="Apple-converted-space">&nbsp;</span>(string := String new: 1000 withAll: $a)<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class="Apple-converted-space">&nbsp;</span>reversed.<br>&nbsp; &nbsp; &nbsp; &nbsp;<span class="Apple-converted-space">&nbsp;</span>].<br>&nbsp; &nbsp;<span class="Apple-converted-space">&nbsp;</span>].<br>&nbsp;<br></div>When Transcript is opened, I never reached iteration 1000 on my mac with official VM.<br>There's always an Integer that does not understand reversed in my way.<br></div></div></div></blockquote><div><br></div><div>Hence to get a rep[roducible case, that you could even look at in the Simulator, merely evaluate</div><div><br></div><div>Smalltalk snapshot: true andQuit: true.</div><div>1 to: 1000 do: [ :i |<br>&nbsp; &nbsp; &nbsp; &nbsp;<span class="Apple-converted-space">&nbsp;</span>| string |<br>&nbsp; &nbsp; &nbsp; &nbsp;<span class="Apple-converted-space">&nbsp;</span>Transcript show: 'Iteration '; show: i; cr.<br>&nbsp; &nbsp; &nbsp; &nbsp;<span class="Apple-converted-space">&nbsp;</span>1 timesRepeat: [&nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class="Apple-converted-space">&nbsp;</span>(string := String new: 1000 withAll: $a)<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class="Apple-converted-space">&nbsp;</span>reversed.<br>&nbsp; &nbsp; &nbsp; &nbsp;<span class="Apple-converted-space">&nbsp;</span>].<br>&nbsp; &nbsp;<span class="Apple-converted-space">&nbsp;</span>].<br></div><div><br></div><div>and when you start-up the image it should crash with no user intervention. &nbsp;Voila, a reproducible case...</div><div><br></div></div></div></div></blockquote><div><br></div><div>If the problem is the compiler, or a compielr flag, can the simulator find the problem?<br></div><div>My understanding is that the simulator is going to emulate slang, and eventually jitted code.<br></div><div>But the slang is AFAICT correct (with another compiler/flags the problem vanishes)...<br><br></div><div>Nicolas<br></div><div>&nbsp;<br></div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex;"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div></div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex;"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><br><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div style="word-wrap: break-word;"><div><blockquote type="cite"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><br></div><div>Either we are back to disecting correct set of gcc/clang flags<br></div><div>Or we shall revert to an older gcc (4.2.1 works for me OSX 10.6.8 Xcode 3.2.6)<br><br></div><div>Nicolas<br></div></div><br></div></div></blockquote></div><br></div><br></blockquote></div><br></div></div><br></blockquote></div><br><br clear="all"><div><br></div>--<span class="Apple-converted-space">&nbsp;</span><br>best,<div>Eliot</div></div></div><br></blockquote></div><br></div></div></blockquote></div><br></div><br></blockquote></div><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br clear="all" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;">--<span class="Apple-converted-space">&nbsp;</span></span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;">Best regards,</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;">Igor Stasenko.</span></blockquote></div><br></body></html>