[pypy-issue] [issue691] pypy-head does not compile under Windows

Garen Parham tracker at bugs.pypy.org
Tue Nov 1 02:28:12 CET 2011


Garen Parham <garen.p at gmail.com> added the comment:

FWIW, after completely uninstalling VS 2010, it no longer selects the wrong 
linker at the end, and translations (with pypy 1.5 or cpython _only_) started to 
succeed.  However, this recent commit (according to a hg bisect run) causes a 
new translation error:

Changeset 48462:fc37961a668f: bad
The first bad revision is:
changeset:   48462:fc37961a668f
parent:      48459:89631bbf04fe
user:        Maciej Fijalkowski <fijall at gmail.com>
date:        Tue Oct 25 23:17:59 2011 +0200
summary:     look into mmap


The translation error text is as follows:

[translation:ERROR] Error:
[translation:ERROR]  Traceback (most recent call last):
[translation:ERROR]    File "translate.py", line 308, in main
[translation:ERROR]     drv.proceed(goals)
[translation:ERROR]    File 
"U:\vcs\hg\bitbucket_pypy\pypy\translator\driver.py", line 809, in proceed
[translation:ERROR]     return self._execute(goals, task_skip = 
self._maybe_skip())
[translation:ERROR]    File 
"U:\vcs\hg\bitbucket_pypy\pypy\translator\tool\taskengine.py", line 116, in 
_execute
[translation:ERROR]     res = self._do(goal, taskcallable, *args, **kwds)
[translation:ERROR]    File 
"U:\vcs\hg\bitbucket_pypy\pypy\translator\driver.py", line 286, in _do
[translation:ERROR]     res = func()
[translation:ERROR]    File 
"U:\vcs\hg\bitbucket_pypy\pypy\translator\driver.py", line 397, in 
task_pyjitpl_lltype
[translation:ERROR]     backend_name=self.config.translation.jit_backend, 
inline=True)
[translation:ERROR]    File 
"U:\vcs\hg\bitbucket_pypy\pypy\jit\metainterp\warmspot.py", line 43, in 
apply_jit
[translation:ERROR]     **kwds)
[translation:ERROR]    File 
"U:\vcs\hg\bitbucket_pypy\pypy\jit\metainterp\warmspot.py", line 210, in 
__init__
[translation:ERROR]     self.codewriter.make_jitcodes(verbose=verbose)
[translation:ERROR]    File 
"U:\vcs\hg\bitbucket_pypy\pypy\jit\codewriter\codewriter.py", line 72, in 
make_jitcodes
[translation:ERROR]     self.transform_graph_to_jitcode(graph, jitcode, verbose)
[translation:ERROR]    File 
"U:\vcs\hg\bitbucket_pypy\pypy\jit\codewriter\codewriter.py", line 41, in 
transform_graph_to_jitcode
[translation:ERROR]     transform_graph(graph, self.cpu, self.callcontrol, 
portal_jd)
[translation:ERROR]    File 
"U:\vcs\hg\bitbucket_pypy\pypy\jit\codewriter\jtransform.py", line 24, in 
transform_graph
[translation:ERROR]     t.transform(graph)
[translation:ERROR]    File 
"U:\vcs\hg\bitbucket_pypy\pypy\jit\codewriter\jtransform.py", line 43, in 
transform
[translation:ERROR]     self.optimize_block(block)
[translation:ERROR]    File 
"U:\vcs\hg\bitbucket_pypy\pypy\jit\codewriter\jtransform.py", line 67, in 
optimize_block
[translation:ERROR]     oplist = self.rewrite_operation(op)
[translation:ERROR]    File 
"U:\vcs\hg\bitbucket_pypy\pypy\jit\codewriter\jtransform.py", line 202, in 
rewrite_operation
[translation:ERROR]     return rewrite(self, op)
[translation:ERROR]    File 
"U:\vcs\hg\bitbucket_pypy\pypy\jit\codewriter\jtransform.py", line 279, in 
rewrite_op_direct_call
[translation:ERROR]     return getattr(self, 'handle_%s_call' % kind)(op)
[translation:ERROR]    File 
"U:\vcs\hg\bitbucket_pypy\pypy\jit\codewriter\jtransform.py", line 327, in 
handle_residual_call
[translation:ERROR]     calldescr = self.callcontrol.getcalldescr(op)
[translation:ERROR]    File 
"U:\vcs\hg\bitbucket_pypy\pypy\jit\codewriter\call.py", line 208, in 
getcalldescr
[translation:ERROR]     assert NON_VOID_ARGS == [T for T in ARGS if T is not 
lltype.Void]
[translation:ERROR]  AssertionError

----------
release: 1.6 -> 1.7

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue691>
________________________________________


More information about the pypy-issue mailing list