error building source pypy2-v5.7.0 cygwin 32/windows 64

Hi, as my windows pypy would always crash on my project but the same project on linux works fine and my main developing environment is windows I decided to try cygwin pypy so I got pypy2-v5.7.0-src.tar.bz2 and run on latest Cygwin-32 on windows 10/64 python ../../rpython/bin/rpython -Ojit targetpypystandalone aside of few warnings like /tmp/usession-release-pypy2.7-v5.7.0-0/platcheck_50.c:92:1: warning: implicit declaration of function ‘mremap’ [-Wimplicit-function-declaration] /tmp/usession-release-pypy2.7-v5.7.0-0/module_cache/module_0.c:82:68: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration] which seems indicate - that some flags are not correctly set I almost immediately get following error: === [platform:execute] gcc -shared /tmp/usession-release-pypy2.7-v5.7.0-0/module_cache/module_0.o /tmp/usession-release-pypy2.7-v5.7.0-0/module_cache/module_1.o /tmp/usession-release-pypy2.7-v5.7.0-0/module_cache/module_2.o -Wl,--export-all-symbols -lrt -o /tmp/usession-release-pypy2.7-v5.7.0-0/shared_cache/externmod.dll Traceback (most recent call last): File "../../rpython/bin/rpython", line 20, in <module> main() File "/home/Sergey/pypy2/rpython/translator/goal/translate.py", line 217, in main targetspec_dic, translateconfig, config, args = parse_options_and_load_target() File "/home/Sergey/pypy2/rpython/translator/goal/translate.py", line 155, in parse_options_and_load_target targetspec_dic = load_target(targetspec) File "/home/Sergey/pypy2/rpython/translator/goal/translate.py", line 97, in load_target mod = __import__(specname) File "targetpypystandalone.py", line 11, in <module> from pypy.tool.option import make_objspace File "/home/Sergey/pypy2/pypy/tool/option.py", line 3, in <module> from pypy.config.pypyoption import get_pypy_config File "/home/Sergey/pypy2/pypy/config/pypyoption.py", line 44, in <module> if detect_cpu.autodetect().startswith('x86'): File "/home/Sergey/pypy2/rpython/jit/backend/detect_cpu.py", line 106, in autodetect return detect_model_from_host_platform() File "/home/Sergey/pypy2/rpython/jit/backend/detect_cpu.py", line 85, in detect_model_from_host_platform if feature.detect_sse2(): File "/home/Sergey/pypy2/rpython/jit/backend/x86/detect_feature.py", line 20, in detect_sse2 code = cpu_id(eax=1) File "/home/Sergey/pypy2/rpython/jit/backend/x86/detect_feature.py", line 34, in cpu_id return cpu_info(''.join(asm)) File "/home/Sergey/pypy2/rpython/jit/backend/x86/detect_feature.py", line 16, in cpu_info free(data, 4096) File "/home/Sergey/pypy2/rpython/rtyper/lltypesystem/rffi.py", line 260, in wrapper assert len(args) == nb_args AssertionError ==== any guide for building latest pypy on Cygwin? or at least to fix those mentioned errors? Regards Sergey

Hi Sergey, On 27 March 2017 at 07:38, Sergey Kurdakov <sergey.forum@gmail.com> wrote:
any guide for building latest pypy on Cygwin? or at least to fix those mentioned errors?
Cygwin is not officially supported. At some point in the past it used to work, thanks to contributions. If it no longer does, then a few fixes are needed again. It looks unlikely to come from the core PyPy team, but if you or someone else wants to contribute the relevant fixes, you are welcome to :-) A bientôt, Armin.

Hi Sergey, On 27 March 2017 at 07:38, Sergey Kurdakov <sergey.forum@gmail.com> wrote:
any guide for building latest pypy on Cygwin? or at least to fix those mentioned errors?
Cygwin is not officially supported. At some point in the past it used to work, thanks to contributions. If it no longer does, then a few fixes are needed again. It looks unlikely to come from the core PyPy team, but if you or someone else wants to contribute the relevant fixes, you are welcome to :-) A bientôt, Armin.
participants (2)
-
Armin Rigo
-
Sergey Kurdakov