[pypy-issue] Issue #2297: translation failure when building from source under cygwin (pypy/pypy)

Eliot Moss issues-reply at bitbucket.org
Wed May 11 11:41:37 EDT 2016


New issue 2297: translation failure when building from source under cygwin
https://bitbucket.org/pypy/pypy/issues/2297/translation-failure-when-building-from

Eliot Moss:

With the patch previously posted in another issue, I am able to get pretty far through the build on a system running the current Cygwin.  It gets through annotate and rtype_lltype and almost immediately after that (before any other output, with --verbose turned on), it gets this:

[translation:ERROR] ValueError: <FunctionDesc for <function cpyext_tp_setattro_object at 0xefc93994>> is not in list

I've played some with pypy/module/__builtin__/inter_classobj.py, thinking that the issue might be mismatch between a name like W_InstanceObject and the string given in the TypeDef ("instance").  I've done a number of attempted builds, and I've seen several different missing FunctionDesc errors, all about cpyext_tp_setattro_XXX where XXX is some class.

I'd be grateful for hints as to how to fix this, or direction to some previous revision where things work better.  (The nightly builds showed no revisions for linux 32 trunk (which seemed most relevant for a cygwin build) that had NO failures.  I picked the one with only one failure, a failure that did not seem relevant to what I am trying to do, namely e61e2f4a32fa.)

As a side note, I wonder about whether you would be willing to arrange for regular testing of cygwin builds.

Regards -- Eliot Moss

PS -- What I am trying to do is to get organized for having some summer students work on retargeting pypy to a new target, the Mu Micro Virtual Machine (a project you can find on GitHub).




More information about the pypy-issue mailing list