[Vm-dev] FFI failing on 64bits (macOS) ?
Esteban Lorenzano
estebanlm at gmail.com
Fri Nov 4 13:22:37 UTC 2016
Hello,
I’m testing image and vm on 64bits, to make sure FFI works (most of it works out of the box)
But I have this test:
| ref int |
int := 2147483648.
ref := ByteArray new: 8.
ref signedLongLongAt: 1 put: int.
self assert: (ref signedLongLongAt: 1) = int
and I have a PrimitiveFailed error on
ByteArray>>unsignedLongAt: byteOffset put: value
"Store a 32bit signed integer starting at the given byte offset"
^self integerAt: byteOffset put: value size: 4 signed: false
So… is that an error or is like that and my test is bad?
Esteban
More information about the Vm-dev
mailing list