[pypy-issue] [issue1198] AssertionError: must come from an argument to the function, got <-88; esp>

wbrana tracker at bugs.pypy.org
Thu Jul 12 15:36:17 CEST 2012


wbrana <wbrana at gmail.com> added the comment:

On Gentoo system flags are probably used, which now means -O3 -pipe 
-march=core2 on my PC.
Which assembler file do you need?
I have used GCC 4.5.4 instead of 4.4.7, but it failed with different error:
[translation:ERROR] Error:
[translation:ERROR]  Traceback (most recent call last):
[translation:ERROR]    File "./pypy/translator/goal/translate.py", line 308, in 
main
[translation:ERROR]     drv.proceed(goals)
[translation:ERROR]    File "/mnt/md3/cache/portage/dev-python/pypy-1.9-
r1/work/pypy-1.9/pypy/translator/driver.py", line 791, in proceed
[translation:ERROR]     return self._execute(goals, task_skip = 
self._maybe_skip())
[translation:ERROR]    File "/mnt/md3/cache/portage/dev-python/pypy-1.9-
r1/work/pypy-1.9/pypy/translator/tool/taskengine.py", line 116, in _execute
[translation:ERROR]     res = self._do(goal, taskcallable, *args, **kwds)
[translation:ERROR]    File "/mnt/md3/cache/portage/dev-python/pypy-1.9-
r1/work/pypy-1.9/pypy/translator/driver.py", line 285, in _do
[translation:ERROR]     res = func()
[translation:ERROR]    File "/mnt/md3/cache/portage/dev-python/pypy-1.9-
r1/work/pypy-1.9/pypy/translator/driver.py", line 575, in task_compile_c
[translation:ERROR]     cbuilder.compile(**kwds)
[translation:ERROR]    File "/mnt/md3/cache/portage/dev-python/pypy-1.9-
r1/work/pypy-1.9/pypy/translator/c/genc.py", line 509, in compile
[translation:ERROR]     extra_opts)
[translation:ERROR]    File "/mnt/md3/cache/portage/dev-python/pypy-1.9-
r1/work/pypy-1.9/pypy/translator/platform/posix.py", line 192, in 
execute_makefile
[translation:ERROR]     self._handle_error(returncode, stdout, stderr, 
path.join('make'))
[translation:ERROR]    File "/mnt/md3/cache/portage/dev-python/pypy-1.9-
r1/work/pypy-1.9/pypy/translator/platform/__init__.py", line 138, in 
_handle_error
[translation:ERROR]     raise CompilationError(stdout, stderr)
[translation:ERROR]  CompilationError: CompilationError(err="""
[translation:ERROR] 	Traceback (most recent call last):
[translation:ERROR] 	  File "/mnt/md3/cache/portage/dev-python/pypy-1.9-
r1/work/pypy-1.9/pypy/translator/c/gcc/trackgcroot.py", line 2023, in 
<module>
[translation:ERROR] 	    tracker.process(f, g, filename=fn)
[translation:ERROR] 	  File "/mnt/md3/cache/portage/dev-python/pypy-1.9-
r1/work/pypy-1.9/pypy/translator/c/gcc/trackgcroot.py", line 1916, in 
process
[translation:ERROR] 	    tracker = parser.process_function(lines, 
filename)
[translation:ERROR] 	  File "/mnt/md3/cache/portage/dev-python/pypy-1.9-
r1/work/pypy-1.9/pypy/translator/c/gcc/trackgcroot.py", line 1431, in 
process_function
[translation:ERROR] 	    table = tracker.computegcmaptable(self.verbose)
[translation:ERROR] 	  File "/mnt/md3/cache/portage/dev-python/pypy-1.9-
r1/work/pypy-1.9/pypy/translator/c/gcc/trackgcroot.py", line 60, in 
computegcmaptable
[translation:ERROR] 	    self.trackgcroots()
[translation:ERROR] 	  File "/mnt/md3/cache/portage/dev-python/pypy-1.9-
r1/work/pypy-1.9/pypy/translator/c/gcc/trackgcroot.py", line 335, in 
trackgcroots
[translation:ERROR] 	    self.walk_instructions_backwards(walker, insn, 
loc)
[translation:ERROR] 	  File "/mnt/md3/cache/portage/dev-python/pypy-1.9-
r1/work/pypy-1.9/pypy/translator/c/gcc/trackgcroot.py", line 354, in 
walk_instructions_backwards
[translation:ERROR] 	    for prevstate in walker(insn, state):
[translation:ERROR] 	  File "/mnt/md3/cache/portage/dev-python/pypy-1.9-
r1/work/pypy-1.9/pypy/translator/c/gcc/trackgcroot.py", line 327, in walker
[translation:ERROR] 	    source = insn.source_of(loc, tag)
[translation:ERROR] 	  File "/mnt/md3/cache/portage/dev-python/pypy-1.9-
r1/work/pypy-1.9/pypy/translator/c/gcc/instruction.py", line 134, in 
source_of
[translation:ERROR] 	    (localvar,))
[translation:ERROR] 	AssertionError: must come from an argument to 
the function, got <-112;esp>
[translation:ERROR] 	make: *** [jit_backend_llsupport_rewrite.gcmap] 
Error 1
[translation:ERROR] 	""")

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


More information about the pypy-issue mailing list