New submission from Sven-Hendrik Haase <[email protected]>:

Upon trying to translate pypy 2.3 with gcc 4.9 I get this:

[translation:ERROR]     Traceback (most recent call last):
[translation:ERROR]       File "app_main.py", line 72, in run_toplevel
[translation:ERROR]       File 
"/home/svenstaro/src/pypy/rpython/translator/c/gcc/trackgcroot.py", line 2074, 
in 
<module>
[translation:ERROR]         tracker.process(f, g, filename=fn)
[translation:ERROR]       File 
"/home/svenstaro/src/pypy/rpython/translator/c/gcc/trackgcroot.py", line 1967, 
in 
process
[translation:ERROR]         tracker = parser.process_function(lines, filename)
[translation:ERROR]       File 
"/home/svenstaro/src/pypy/rpython/translator/c/gcc/trackgcroot.py", line 1482, 
in 
process_function
[translation:ERROR]         table = tracker.computegcmaptable(self.verbose)
[translation:ERROR]       File 
"/home/svenstaro/src/pypy/rpython/translator/c/gcc/trackgcroot.py", line 59, in 
computegcmaptable
[translation:ERROR]         self.findframesize()
[translation:ERROR]       File 
"/home/svenstaro/src/pypy/rpython/translator/c/gcc/trackgcroot.py", line 295, 
in 
findframesize
[translation:ERROR]         insn1.framesize = size_at_insn1
[translation:ERROR]       File 
"/home/svenstaro/src/pypy/rpython/translator/c/gcc/../../../../rpython/translato
r
/c/gcc/instruction.py", line 259, in __setattr__
[translation:ERROR]         "unrecognized function prologue - "
[translation:ERROR]     AssertionError: unrecognized function prologue - only 
supports push %ebp; movl %esp, %ebp
[translation:ERROR]     make: *** [getargs.gcmap] Error 1
[translation:ERROR]     make: *** Waiting for unfinished jobs....
[translation:ERROR]     """)
[translation] start debugger...
> 
/home/svenstaro/src/pypy/rpython/translator/platform/__init__.py(151)_handle_err
o
r()
-> raise CompilationError(stdout, stderr)

It works on i686, though I didn't test its function on i686, only that is 
translates.

----------
messages: 6879
nosy: pypy-issue, svenstaro
priority: critical
release: 2.3
status: unread
title: pypy 2.3 doesn't translate with gcc 4.9 on x86_64

________________________________________
PyPy bug tracker <[email protected]>
<https://bugs.pypy.org/issue1764>
________________________________________
_______________________________________________
pypy-issue mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to