<div dir="ltr">Hi Alistair,<div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 21, 2018 at 9:31 AM, Alistair Grant <span dir="ltr"><<a href="mailto:akgrant0710@gmail.com" target="_blank">akgrant0710@gmail.com</a>></span> 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">Yep, OSSubprocess doesn't work on 64 bit VMs at the moment.<br>
<br>
Eliot, Mariano has indicated he's waiting on<br>
<a href="https://github.com/pharo-project/pharo-vm/pull/142" rel="noreferrer" target="_blank">https://github.com/pharo-<wbr>project/pharo-vm/pull/142</a><br>
Do you know of a reason why it shouldn't be merged?<br></blockquote><div><br></div><div>Well, the changes to FilePlugin.class belong in VMMaker.oscog.  And cfileRecordSize doesn't make sense , since all pointers are of the same size in C:</div><div></div><br>cfileRecordSize<br>+ "Return the size of a stdio FILE* handle"<br>+ <option: #PharoVM><br>+ <static: false><br>+ ^self sizeof: #'FILE*'<div><br></div><div>I would simple use (self sizeof: #'void *') or (self sizeof: #'FILE *').</div><div><br></div><div>Other than that I can't see any problems.</div><div> </div><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">Thanks,<br>
Alistair<br>
<div class="gmail-HOEnZb"><div class="gmail-h5"><br>
<br>
<br>
On 21 February 2018 at 18:22, phideaux <<a href="mailto:jcasler@cdix.org">jcasler@cdix.org</a>> wrote:<br>
> When trying the simple example (ls -la /Users) in Pharo 6.1 64bit you get a<br>
> talkback because<br>
> ExternalAddress integerAt:put:size:signed: fails using<br>
> 'primitiveFFIIntegerAtPut' in module 'SqueakFFIPrims'<br>
><br>
> Something to do with OSSubprocess not accommodating 64 bit pointers perhaps?<br>
><br>
> Same code works fine on 32bit version.<br>
><br>
> VM is CoInterpreter VMMaker.oscog-eem.2254 Jul 20 2017 for macOS downloaded<br>
> from <a href="http://pharo.org/downloaded" rel="noreferrer" target="_blank">pharo.org/downloaded</a> page<br>
><br>
> Regards,<br>
> Jay+<br>
><br>
><br>
><br>
> --<br>
> Sent from: <a href="http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html" rel="noreferrer" target="_blank">http://forum.world.st/Pharo-<wbr>Smalltalk-Developers-f1294837.<wbr>html</a><br>
><br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><span style="font-size:small;border-collapse:separate"><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></span></div></div></div>
</div></div>