OSSubprocess 0.2.5 fails in Pharo 6.1 64 bits (macOS)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

OSSubprocess 0.2.5 fails in Pharo 6.1 64 bits (macOS)

phideaux
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 perhaps?

Same code works fine on 32bit version.

VM is CoInterpreter VMMaker.oscog-eem.2254 Jul 20 2017 for macOS downloaded
from pharo.org/downloaded page

Regards,
Jay+



--
Sent from: http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html

Reply | Threaded
Open this post in threaded view
|

Re: OSSubprocess 0.2.5 fails in Pharo 6.1 64 bits (macOS)

alistairgrant
Yep, OSSubprocess doesn't work on 64 bit VMs at the moment.

Eliot, Mariano has indicated he's waiting on
https://github.com/pharo-project/pharo-vm/pull/142
Do you know of a reason why it shouldn't be merged?

Thanks,
Alistair



On 21 February 2018 at 18:22, phideaux <[hidden email]> 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 perhaps?
>
> Same code works fine on 32bit version.
>
> VM is CoInterpreter VMMaker.oscog-eem.2254 Jul 20 2017 for macOS downloaded
> from pharo.org/downloaded page
>
> Regards,
> Jay+
>
>
>
> --
> Sent from: http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html
>