<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Nov 26, 2017 at 5:14 PM, Nicolas Cellier <span dir="ltr"><<a href="mailto:nicolas.cellier.aka.nice@gmail.com" target="_blank">nicolas.cellier.aka.nice@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <br><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2017-11-26 16:40 GMT+01:00 Nicolas Cellier <span dir="ltr"><<a href="mailto:nicolas.cellier.aka.nice@gmail.com" target="_blank">nicolas.cellier.aka.nice@<wbr>gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="gmail-m_1598562482460850880gmail-">2017-11-26 16:20 GMT+01:00 Nicolas Cellier <span dir="ltr"><<a href="mailto:nicolas.cellier.aka.nice@gmail.com" target="_blank">nicolas.cellier.aka.nice@gmai<wbr>l.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div>Hmm, my bad, I fail to find a bug in genPrimitiveStringReplace</div><div>It appears that I messed up with git client... (bissecting on two different machines is not a good idea anyway)<br></div>What I find now is this:<br></div>- mac osx 64 squeak.cog.spur cog HEAD segv<br><div>- mac osx 64 squeak.cog.spur generated with VMMaker.oscog-cb.2274 and src/plugins/* from head is not OK (mangled)<br>- mac osx 64 squeak.cog.spur generated with VMMaker.oscog-cb.2274 and src/plugins/* taken from old commit is OK<br></div><div>  <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/3010e4465405f6ec7a289fc3a3d21eb324816a8f#diff-2ecd46f56f9702ad7a50219dd086a8c5" target="_blank">https://github.com/OpenSmallta<wbr>lk/opensmalltalk-vm/commit/301<wbr>0e4465405f6ec7a289fc3a3d21eb32<wbr>4816a8f#diff-2ecd46f56f9702ad7<wbr>a50219dd086a8c5</a><br><div><div><br></div><div>So that's at least two different problems, one in the plugins, one in <br></div></div></div></div></blockquote><div><br></div></span><div>The problem in generated plugins is in MiscPrimitivePlugin.c</div><div>There are not many changes, so I'll see if I can identify the problem and fix it in VMMaker.</div><div><br></div></div></div></div></blockquote><div><br></div><div>So I have fixed the code of primitiveDecompressFromByteArr<wbr>ay from MiscPrimitivePlugin</div><div>but IT'S NOT IN VMMaker... I fixed the Squeak trunk version (Graphics-nice.385), I presume there is a similar thing in Pharo.</div><div>We can't continue with this Misc thing, it's not manageable.</div></div></div></div></blockquote><div><br></div><div>I added that:</div><div> <a href="https://pharo.fogbugz.com/f/cases/20778/primitiveDecompressFromByteArray-incorrect-type-inference">https://pharo.fogbugz.com/f/cases/20778/primitiveDecompressFromByteArray-incorrect-type-inference</a></div><div><br></div><div>But the long term solution is what we discussed</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><br></div><div>I've also pushed the fix on github.</div><div><br></div><div>Now remains the 64bits cog spur VM problem<br></div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div></div><div>Then there will be the problem of the 64bit cog spur vm...</div><div><div class="gmail-m_1598562482460850880gmail-h5"><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div></div><div><div class="gmail-m_1598562482460850880gmail-m_-6807574288435573934h5"><div><div class="gmail_extra"><div class="gmail_quote">2017-11-25 22:20 GMT+01:00 Nicolas Cellier <span dir="ltr"><<a href="mailto:nicolas.cellier.aka.nice@gmail.com" target="_blank">nicolas.cellier.aka.nice@gmai<wbr>l.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Since I experienced mangled display when generating source with VMMaker.oscog-cb.2274,<br></div>I suspect that the problem is related to genPrimitiveStringReplace introduced in VMMaker.oscog-cb.2273<br></div><div class="gmail-m_1598562482460850880gmail-m_-6807574288435573934m_-4403413228936127193gmail-HOEnZb"><div class="gmail-m_1598562482460850880gmail-m_-6807574288435573934m_-4403413228936127193gmail-h5"><div class="gmail_extra"><br><div class="gmail_quote">2017-11-24 16:45 GMT+01:00 Nicolas Cellier <span dir="ltr"><<a href="mailto:nicolas.cellier.aka.nice@gmail.com" target="_blank">nicolas.cellier.aka.nice@gmai<wbr>l.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I can generate a working Win64 squeak cog spur VM at least up to VMMaker.oscog-cb.2272, no time to finish bissecting right now...<br></div><div class="gmail-m_1598562482460850880gmail-m_-6807574288435573934m_-4403413228936127193gmail-m_4299180767178694439HOEnZb"><div class="gmail-m_1598562482460850880gmail-m_-6807574288435573934m_-4403413228936127193gmail-m_4299180767178694439h5"><div class="gmail_extra"><br><div class="gmail_quote">2017-11-24 11:37 GMT+01:00 Nicolas Cellier <span dir="ltr"><<a href="mailto:nicolas.cellier.aka.nice@gmail.com" target="_blank">nicolas.cellier.aka.nice@gmai<wbr>l.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hmm, I tried to fix declaration of unskew, but it does not seem enough...<br></div><div class="gmail-m_1598562482460850880gmail-m_-6807574288435573934m_-4403413228936127193gmail-m_4299180767178694439m_8616894363702059983HOEnZb"><div class="gmail-m_1598562482460850880gmail-m_-6807574288435573934m_-4403413228936127193gmail-m_4299180767178694439m_8616894363702059983h5"><div class="gmail_extra"><br><div class="gmail_quote">2017-11-23 21:06 GMT+01:00 Nicolas Cellier <span dir="ltr"><<a href="mailto:nicolas.cellier.aka.nice@gmail.com" target="_blank">nicolas.cellier.aka.nice@gmai<wbr>l.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi Clement,<br></div>I let a comment on line 1972 of <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/1dd1a9c0d61ed1c367fb226e59ce0386af3bf5ed#diff-e013b6766a05037812d48960702c0910" class="gmail-m_1598562482460850880gmail-m_-6807574288435573934m_-4403413228936127193gmail-m_4299180767178694439m_8616894363702059983m_-448593885464355387m_5475729042194004511gmail-link-gray-dark" title="src/plugins/BitBltPlugin/BitBltPlugin.c" target="_blank">src/plugins/BitBltPlugin/BitBl<wbr>tPlugin.c</a> on commit <br><a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/1dd1a9c0d61ed1c367fb226e59ce0386af3bf5ed" target="_blank">https://github.com/OpenSmallta<wbr>lk/opensmalltalk-vm/commit/1dd<wbr>1a9c0d61ed1c367fb226e59ce0386a<wbr>f3bf5ed</a><br><br></div>and another one in <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/4ff34235c24ea2fd690287f96a73834e744ad6c9" target="_blank">https://github.com/OpenSmallta<wbr>lk/opensmalltalk-vm/commit/4ff<wbr>34235c24ea2fd690287f96a73834e7<wbr>44ad6c9</a><br><br></div>The problem is that a local variable unskew was generated as unsigned int instead of int in BitBlt, but we then test if unskew < 0 which is obviously going to be eliminated as dead code...<br><br></div>I did not try to compile the VM, but I'm pretty sure this is related.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2017-11-23 17:00 GMT+01:00 Clément Bera <span dir="ltr"><<a href="mailto:bera.clement@gmail.com" target="_blank">bera.clement@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <br><div dir="ltr">Hi,<div><div><br></div><div>The latest VM that I build from open-smalltalk VM 2278 or 2280 does not work (Stack overflow at start-up OR bugged UI with strange color making any text impossible to read). </div><div><br></div><div>I have the problem on 2 different computers, Mac OS X and Linux.</div><div><br></div><div>I am able to build successfully the VM from 2274 but I can do it only with a previous version of the platform files (else I got a linking error - scavengeLog: used but not implemented).</div><div><br></div><div>I am not sure the problem comes from the recent platform files or the recent changes in the VMMaker packages since they need each other to be able to be compiled.</div><div><br></div><div>What is the right way to work around this problem ?</div><div><br></div><div>I am about to commit on VMMaker package Sista update but I cannot merge with 2280 since I can't compile a working VM from there, so I'll commit without merging if I cannot solve this problem</div><div><div><br></div><div>Thanks,</div><span class="gmail-m_1598562482460850880gmail-m_-6807574288435573934m_-4403413228936127193gmail-m_4299180767178694439m_8616894363702059983m_-448593885464355387HOEnZb"><font color="#888888"><div><br></div>-- <br><div class="gmail-m_1598562482460850880gmail-m_-6807574288435573934m_-4403413228936127193gmail-m_4299180767178694439m_8616894363702059983m_-448593885464355387m_5475729042194004511m_-6891967614207553774gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Clément Béra<div><a href="https://clementbera.wordpress.com/" target="_blank">https://clementbera.wordpress.<wbr>com/</a><br></div></div></div></div></div></div>
</font></span></div></div></div><span class="gmail-m_1598562482460850880gmail-m_-6807574288435573934m_-4403413228936127193gmail-m_4299180767178694439m_8616894363702059983m_-448593885464355387HOEnZb"><font color="#888888">
<br></font></span></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div></div></div></div></div></div></div>
</blockquote></div></div></div><br></div></div>
</blockquote></div><br></div></div>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><span style="font-size:12.8px">Clément Béra</span><div style="font-size:12.8px">Pharo consortium engineer</div><div style="font-size:12.8px"><a href="https://clementbera.wordpress.com/" target="_blank">https://clementbera.wordpress.com/</a><br></div><div style="font-size:12.8px"><span style="line-height:16px">Bâtiment B 40, avenue Halley 59650 </span><span style="font-weight:bold;line-height:16px">Villeneuve d'Ascq</span></div></div></div>
</div></div>