[pypy-dev] Link errors while translating with VS2010 and 64bit

Amaury Forgeot d'Arc amauryfa at gmail.com
Tue Feb 1 09:11:04 CET 2011


Hi,

2011/2/1 Tasos Vogiatzoglou <tvoglou at gmail.com>:
> Amaury,
>
> It seems that there is a general issue with the compiler/link .
>
> I did the translations without the _hashlib and ssl and after a while
> I got the following errors.
[...]
> [platform:ERROR] implement_52.obj : error LNK2019: unresolved external
> symbol _inflateEnd referenced in function _pypy_g_ccall_inflateEnd__z_streamPtr

We have never tried the win64 platform, and I don't have access to a
Windows 64bit machine.
But I suspect that even if you removed all external dependencies, the
result would not work;
pypy's compilation tools implicitly assume that sizeof(long)==sizeof(void*)

Before running a translation, could you run the tests in pypy/translator/c ?
in the pypy directory, run:
    python test_all.py translator/c
I'd like at least the files "test_genc" and "test_newgc" to pass without errors.

-- 
Amaury Forgeot d'Arc



More information about the Pypy-dev mailing list