[Vm-dev] [Pharo-dev] OSSubprocess 0.2.5 fails in Pharo 6.1 64 bits (macOS)
eliot.miranda at gmail.com
Wed Feb 21 17:56:59 UTC 2018
On Wed, Feb 21, 2018 at 9:31 AM, Alistair Grant <akgrant0710 at gmail.com>
> Yep, OSSubprocess doesn't work on 64 bit VMs at the moment.
> Eliot, Mariano has indicated he's waiting on
> Do you know of a reason why it shouldn't be merged?
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:
+ "Return the size of a stdio FILE* handle"
+ <option: #PharoVM>
+ <static: false>
+ ^self sizeof: #'FILE*'
I would simple use (self sizeof: #'void *') or (self sizeof: #'FILE *').
Other than that I can't see any problems.
> On 21 February 2018 at 18:22, phideaux <jcasler at cdix.org> wrote:
> > When trying the simple example (ls -la /Users) in Pharo 6.1 64bit you
> get a
> > talkback because
> > ExternalAddress integerAt:put:size:signed: fails using
> > 'primitiveFFIIntegerAtPut' in module 'SqueakFFIPrims'
> > Something to do with OSSubprocess not accommodating 64 bit pointers
> > Same code works fine on 32bit version.
> > VM is CoInterpreter VMMaker.oscog-eem.2254 Jul 20 2017 for macOS
> > from pharo.org/downloaded page
> > Regards,
> > Jay+
> > --
> > Sent from: http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Vm-dev