[pypy-dev] pypy-1.7 and CLI

Antonio Cuni anto.cuni at gmail.com
Wed Dec 14 08:54:54 CET 2011


On 12/13/2011 11:42 PM, Amaury Forgeot d'Arc wrote:

> This particular error occurs on 64bit architecture (where long == longlong)
> It seems that the CLI backend is not yet ready for 64bit.
> This is probably not too difficult to fix, patches are welcome!

actually, it is not so easy.  The problem is "native" CLI integer is 32 bit,
so we want to translate lltype.Signed to int32, even on 64 bit.  But when
translating on 64 bit, the translation toolchain thinks that lltype.Signed is
rffi.LONG, and things are confused.

Hopefully, the work that Christian is doing for win64 will help the CLI and
JVM backends too.


ciao,
Anto


More information about the pypy-dev mailing list