[Vm-dev] build64 in squeakvm classic

stes stes at telenet.be
Sun Mar 29 15:59:41 UTC 2020


I've build a squeakvm64 but I don't know how to test it

The latest Squeak 4.6 on files.squeak.org has

bash-4.4$ ./lib/squeak/4.16.7-3775/ckformat Squeak4.6-14191.image
6505


so the format is 6505 and the bin/squeak shell script seems to launch 64 bit
only for 

    case "${format}" in
        6502)   vms="${squeakvm}";;
        6504)   vms="${cogvm} ${squeakvm}";;
        6505)   vms="${cogvm} ${squeakvm}";;
        68000)  vms="${squeakvm64}"; plgdir="${plgd64}";;
        68002)  vms="${squeakvm64}"; plgdir="${plgd64}";;
        68003)  vms="${squeakvm64}"; plgdir="${plgd64}";;

so those are the 68000 range formats that are for 64 bit but they are not on
files.squeak.org it seems.

on squeakvm.org there is a 64 bit which seems to work:

./lib/squeak/4.16.7-3775/ckformat
bash-4.4$ ./lib/squeak/4.16.7-3775/ckformat sq64-20101106-dtl.image 
68000

bash-4.4$ bin/squeak sq64-20101106-dtl.image 
failed loading module
./squeak/lib/squeak/4.16.7-3775_64bit/so.SqueakFFIPrims due to ld.so.1:
squeakvm64: fatal: relocation error: file
./squeak/lib/squeak/4.16.7-3775_64bit/so.SqueakFFIPrims: symbol
ffiLogFileNameOfLength: referenced symbol not found

there is a warning for one module 

but the bin/squeak launches in that case

squeak/lib/squeak/4.16.7-3775_64bit/squeakvm64 sq64-20101106-dtl.image


this seems to work (I can browse the objects)

but because there is no images on files.squeak.org for this version, it does
not make sense to pursue 64bit in the "classic vm" I guess




--
Sent from: http://forum.world.st/Squeak-VM-f104410.html


More information about the Vm-dev mailing list