New issue 2215: GCC Translation Error (-march=ivybridge)
https://bitbucket.org/pypy/pypy/issues/2215/gcc-translation-error-march-ivybridge

Jason Schulz:

There is a translation error with -march=ivybridge and GCC (4.9.3).

 [translation:ERROR]    Traceback (most recent call last):
[translation:ERROR]       File 
"/var/tmp/portage/dev-python/pypy-4.0.1/work/pypy-4.0.1-src/rpython/translator/c/gcc/trackgcroot.py",
 line 2084, in <module>
[translation:ERROR]         tracker.process(f, g, filename=fn)
[translation:ERROR]       File 
"/var/tmp/portage/dev-python/pypy-4.0.1/work/pypy-4.0.1-src/rpython/translator/c/gcc/trackgcroot.py",
 line 1977, in process
[translation:ERROR]         tracker = parser.process_function(lines, filename)
[translation:ERROR]       File 
"/var/tmp/portage/dev-python/pypy-4.0.1/work/pypy-4.0.1-src/rpython/translator/c/gcc/trackgcroot.py",
 line 1489, in process_function
[translation:ERROR]         table = tracker.computegcmaptable(self.verbose)
[translation:ERROR]       File 
"/var/tmp/portage/dev-python/pypy-4.0.1/work/pypy-4.0.1-src/rpython/translator/c/gcc/trackgcroot.py",
 line 59, in computegcmaptable
[translation:ERROR]         self.findframesize()
[translation:ERROR]       File 
"/var/tmp/portage/dev-python/pypy-4.0.1/work/pypy-4.0.1-src/rpython/translator/c/gcc/trackgcroot.py",
 line 295, in findframesize
[translation:ERROR]         insn1.framesize = size_at_insn1
[translation:ERROR]       File 
"/var/tmp/portage/dev-python/pypy-4.0.1/work/pypy-4.0.1-src/rpython/translator/c/gcc/../../../../rpython/translator/c/gcc/instruction.py",
 line 262, in __setattr__
[translation:ERROR]         "unrecognized function prologue - "
[translation:ERROR]     AssertionError: unrecognized function prologue - only 
supports push %ebp; movl %esp, %ebp
[translation:ERROR]     make: *** [implement_11.gcmap] Error 1
[translation:ERROR]     """)

Everything builds correctly with -march=x86-64.


_______________________________________________
pypy-issue mailing list
pypy-issue@python.org
https://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to