<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,&nbsp;<div class=""><br class=""></div><div class="">I think this does not solves my problem :(</div><div class=""><br class=""></div><div class="">but… do you think this leaks where present before? I’m using different way to build pharovm (using cmake to generate it, not an xcode project) so I can add the definitions there… but I tried to integrate your changes to my sources and I found that you are using newer objc instructions, so the build with sdk 10.6 (needed to still support leopard) failed (then I reverted, waiting for a better moment to perform this task)</div><div class="">… yet, I didn’t tried too much so I don’t know if the error is not fixable in 10.6 or I just missed a configuration.</div><div class=""><br class=""></div><div class="">Any hint?</div><div class=""><br class=""></div><div class="">cheers,&nbsp;</div><div class="">Esteban</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 20 Oct 2015, at 03:03, John McIntosh &lt;<a href="mailto:johnmci@smalltalkconsulting.com" class="">johnmci@smalltalkconsulting.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Ok &nbsp;I pushed fixes to deal with a code compile error, plus update the code base so that it does not leak memory when running under the os-x legacy 32bit objective-c runtime. &nbsp;<div class="">Brave folks could&nbsp;<span style="font-size:13px" class="">look at Cog/build.macos32x86/squeak.</span>cog.spur and the miosvm script or the SqueakCogSpur32x86.xcworkspace xCode project.&nbsp;</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Mon, Oct 19, 2015 at 11:09 AM, John McIntosh <span dir="ltr" class="">&lt;<a href="mailto:johnmci@smalltalkconsulting.com" target="_blank" class="">johnmci@smalltalkconsulting.com</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="">Look at Cog/build.macos32x86/squeak.cog.spur &nbsp;and the miosvm script or the SqueakCogSpur32x86.xcworkspace <br class="">You should be able to build a 32bit cog.spur VM using the current Xcode under the current OSX </div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Mon, Oct 19, 2015 at 11:01 AM, Nicolas Cellier <span dir="ltr" class="">&lt;<a href="mailto:nicolas.cellier.aka.nice@gmail.com" target="_blank" class="">nicolas.cellier.aka.nice@gmail.com</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">&nbsp;<br class=""><div dir="ltr" class=""><div class=""><div class=""><div class="">I regularly sync (merge) with Eliot branch, but I'm a few months behind, not much time recently.<br class=""></div>Also, I upgraded Xcode to latest version but did not yet tried to compile the VM, so no premature promises...<br class=""></div>I'll try and have a look and will keep you informed...<br class=""><br class=""></div>cheers<br class=""></div><div class="gmail_extra"><br class=""><div class="gmail_quote">2015-10-19 19:56 GMT+02:00 Esteban Lorenzano <span dir="ltr" class="">&lt;<a href="mailto:estebanlm@gmail.com" target="_blank" class="">estebanlm@gmail.com</a>&gt;</span>:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">&nbsp;<br class=""><div style="word-wrap:break-word" class="">I don’t know about Eliot, but I cannot wait.&nbsp;<div class="">Without Alien, I have no FFI with callbacks.</div><div class="">Without FFI with callbacks I have no replacement for NativeBoost.&nbsp;</div><div class="">Without NativeBoost I have not Athens (and OSWindow)</div><div class="">And without those, Pharo cannot migrate to Spur.&nbsp;</div><div class=""><br class=""></div><div class="">So if you have a working version (or partially working), please, share it.&nbsp;</div><div class=""><br class=""></div><div class="">Esteban</div><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On 19 Oct 2015, at 19:48, Nicolas Cellier &lt;<a href="mailto:nicolas.cellier.aka.nice@gmail.com" target="_blank" class="">nicolas.cellier.aka.nice@gmail.com</a>&gt; wrote:</div><br class=""><div class=""><div dir="ltr" class=""><div class="">I've changed many of these in my experimental branch when trying to remove lot of UB - but it's not up to date with latest Eliot .oscog versions...<br class=""><br class=""></div>I'd like we review some of these changes, but only if Eliot is ready, he has many things cooking already.<br class=""><div class=""><br class=""><a href="http://smalltalkhub.com/mc/nice/NiceVMExperiments/main" target="_blank" class="">http://smalltalkhub.com/mc/nice/NiceVMExperiments/main</a><br class=""></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">2015-10-19 18:31 GMT+02:00 Esteban Lorenzano <span dir="ltr" class="">&lt;<a href="mailto:estebanlm@gmail.com" target="_blank" class="">estebanlm@gmail.com</a>&gt;</span>:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">&nbsp;<br class=""><div style="word-wrap:break-word" class=""><div class="">Hi,&nbsp;</div><div class=""><br class=""></div><div class="">Does anyone tested Alien on Spur and "El capitan"? specifically callbacks?</div><div class="">For me, a completely broken :(</div><div class=""><br class=""></div><div class="">1) this structure (in maybeInlinePositive32BitIntegerFor: and others):&nbsp;</div><div class=""><br class=""></div><div class=""><div class=""><span style="white-space:pre-wrap" class="">        </span>(integerValue &gt;= 0</div><div class=""><span style="white-space:pre-wrap" class="">        </span> and: [objectMemory isIntegerValue: integerValue]) ifTrue:</div><div class=""><span style="white-space:pre-wrap" class="">                </span>[^objectMemory integerObjectOf: integerValue].</div></div><div class=""><br class=""></div><div class="">Does not works if “integer value” is an unsigned long, because compiler assumes it will always be true, then remove the if, then answers a wrong value.&nbsp;</div><div class=""><br class=""></div><div class="">2)&nbsp;<span style="color:rgb(120,73,42);font-family:Menlo;font-size:11px" class="">assertCStackWellAligned&nbsp;</span>always fail. No idea why because if does not says anything, just jmp back to the regular flow.&nbsp;</div><div class=""><br class=""></div><div class="">3) finally,&nbsp;<span style="color:rgb(79,129,135);font-family:Menlo;font-size:11px" class="">ceCaptureCStackPointers&nbsp;</span>also fails… this can be because (2) or because other reasons (it also jmps back so no clue) (method generateCaptureCStackPointers: clarifies is a hack, so I suppose it stopped to work).&nbsp;</div><div class=""><br class=""></div><div class="">I guess solution of (1) is easy: argument number just has to be a sqLong instead an unsigned long.&nbsp;</div><div class=""><br class=""></div><div class="">But for 2 and 3 I have no idea where to start.</div><div class=""><br class=""></div><div class="">Does anyone has an idea?</div><div class=""><br class=""></div><div class="">Esteban</div><div class=""><br class=""></div></div><br class=""></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></div></div><br class=""></blockquote></div><br class=""></div>
<br class=""></blockquote></div><span class="HOEnZb"><font color="#888888" class=""><br class=""><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class="">===========================================================================<br class="">John M. McIntosh. Corporate Smalltalk Consulting Ltd&nbsp;<a href="https://www.linkedin.com/in/smalltalk" target="_blank" class="">https://www.linkedin.com/in/smalltalk</a><br class="">===========================================================================<br class=""></div></div></div></div>
</font></span></div>
</blockquote></div><br class=""><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div class="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class="">===========================================================================<br class="">John M. McIntosh. Corporate Smalltalk Consulting Ltd&nbsp;<a href="https://www.linkedin.com/in/smalltalk" target="_blank" class="">https://www.linkedin.com/in/smalltalk</a><br class="">===========================================================================<br class=""></div></div></div></div>
</div>
</div></blockquote></div><br class=""></div></body></html>