<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">2014-04-16 19:13 GMT+02:00 Eliot Miranda <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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <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 dir="ltr">&lt;<a href="mailto:nicolas.cellier.aka.nice@gmail.com" target="_blank">nicolas.cellier.aka.nice@gmail.com</a>&gt;</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"> <br><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">

2014-04-16 18:48 GMT+02:00 Esteban Lorenzano <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"> <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 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>
 &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>
  &gt;&gt;Nothing prevents you to copy the pharo flavour and adapt it as<br>
squeak flavour.<br>
  &gt;&gt;Nothing prevents you to do the same for newspeak.<br>
<br>
  &gt;&gt;cheers,<br>
  &gt;&gt;Esteban<br>
<br>
  &gt;&gt;ps: Thanks Dave for noticing :)<br>
<br></div>
I did not know that project existed;  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> <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), </div><br></div>


</div></blockquote><div><br>For me, the ssnippet from Stephan Eggermont <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>

        | string |<br>
        Transcript show: &#39;Iteration &#39;; show: i; cr.<br>
        1 timesRepeat: [ <br>
            (string := String new: 1000 withAll: $a)<br>
                reversed.<br>
        ].<br>
    ].<br> <br></div>When Transcript is opened, I never reached iteration 1000 on my mac with official VM.<br>There&#39;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>        | string |<br>

        Transcript show: &#39;Iteration &#39;; show: i; cr.<br>        1 timesRepeat: [ <br>            (string := String new: 1000 withAll: $a)<br>                reversed.<br>        ].<br>    ].<br></div><div><br></div>

<div>and when you start-up the image it should crash with no user intervention.  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> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc 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>-- <br>best,<div>Eliot</div>
</div></div>
<br></blockquote></div><br></div></div>