Hi,

A naive guess would be the different sizes between 64bit windows, and
64 bit linux?  (long int is 32bit on windows and 64bit on linux)

From http://en.wikipedia.org/wiki/64-bit

64-bit data models
Data model      short (integer) int     long (integer)  long
long    pointers/size_t Sample operating systems
LLP64/
IL32P64 16      32      32      64      64      Microsoft Windows (X64/IA-64)
LP64/
I32LP64 16      32      64      64      64      Most Unix and Unix-like 
systems, e.g. Solaris,
Linux, and Mac OS X
ILP64   16      64      64      64      64      HAL Computer Systems port of 
Solaris to SPARC64
SILP64  64      64      64      64      64      Unicos

On Tue, Feb 1, 2011 at 5:10 PM, Tasos Vogiatzoglou <[email protected]> wrote:
> Amaury,
>
> You were right, there are some issues with type sizes. test_genc and
> test_newgc are failing.
>
> I'll try to see what I can do to fix them. Are there any directions I
> should move towards ?
>
> Thanks,
> Tasos
>
>
>
> On Tue, Feb 1, 2011 at 10:20 AM, Tasos Vogiatzoglou <[email protected]> wrote:
>> Amaury,
>>
>> I'll try and I'll let you know.
>>
>> Thanks,
>> Tasos
>>
>> On 1 Φεβ 2011, at 10:11, Amaury Forgeot d'Arc <[email protected]> wrote:
>>
>>> Hi,
>>>
>>> 2011/2/1 Tasos Vogiatzoglou <[email protected]>:
>>>> 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
>>
> _______________________________________________
> [email protected]
> http://codespeak.net/mailman/listinfo/pypy-dev
_______________________________________________
[email protected]
http://codespeak.net/mailman/listinfo/pypy-dev

Reply via email to