in reply to system command - OK on 32 bit, fails on 64 bit Linux - why?

I suggest that you print the rest of $?:
$? & 127 # signal number $? & 128 # dumped core
See system.