[pypy-issue] [issue1163] __main__.UnrecognizedOperation: roundsd on amd64

Mike Auty tracker at bugs.pypy.org
Mon Jun 11 00:55:29 CEST 2012


New submission from Mike Auty <mike.auty at gmail.com>:

Hi there,

Just a quick note to say there's a build error on amd64 systems with an
UnrecognizedOperation: roundsd...

[translation:ERROR] 
/var/tmp/portage/dev-python/pypy-1.9/work/pypy-1.9/pypy/translator/c/src/dtoa.c:132:0:
warning: "PyMem_Malloc" redefined [enabled by default]
[translation:ERROR] 
/var/tmp/portage/dev-python/pypy-1.9/work/pypy-1.9/pypy/module/cpyext/include/pymem.h:8:0:
note: this is the location of the previous definition
[translation:ERROR] 
/var/tmp/portage/dev-python/pypy-1.9/work/pypy-1.9/pypy/translator/c/src/dtoa.c:133:0:
warning: "PyMem_Free" redefined [enabled by default]
[translation:ERROR] 
/var/tmp/portage/dev-python/pypy-1.9/work/pypy-1.9/pypy/module/cpyext/include/pymem.h:9:0:
note: this is the location of the previous definition
[translation:ERROR] 	Traceback (most recent call last):
[translation:ERROR] 	  File
"/var/tmp/portage/dev-python/pypy-1.9/work/pypy-1.9/pypy/translator/c/gcc/trackgcroot.py",
line 2021, in <module>
[translation:ERROR] 	    tracker.process(f, g, filename=fn)
[translation:ERROR] 	  File
"/var/tmp/portage/dev-python/pypy-1.9/work/pypy-1.9/pypy/translator/c/gcc/trackgcroot.py",
line 1914, in process
[translation:ERROR] 	    tracker = parser.process_function(lines, filename)
[translation:ERROR] 	  File
"/var/tmp/portage/dev-python/pypy-1.9/work/pypy-1.9/pypy/translator/c/gcc/trackgcroot.py",
line 1429, in process_function
[translation:ERROR] 	    table = tracker.computegcmaptable(self.verbose)
[translation:ERROR] 	  File
"/var/tmp/portage/dev-python/pypy-1.9/work/pypy-1.9/pypy/translator/c/gcc/trackgcroot.py",
line 52, in computegcmaptable
[translation:ERROR] 	    self.parse_instructions()
[translation:ERROR] 	  File
"/var/tmp/portage/dev-python/pypy-1.9/work/pypy-1.9/pypy/translator/c/gcc/trackgcroot.py",
line 204, in parse_instructions
[translation:ERROR] 	    self.find_missing_visit_method(opname)
[translation:ERROR] 	  File
"/var/tmp/portage/dev-python/pypy-1.9/work/pypy-1.9/pypy/translator/c/gcc/trackgcroot.py",
line 234, in find_missing_visit_method
[translation:ERROR] 	    raise UnrecognizedOperation(opname)
[translation:ERROR] 	__main__.UnrecognizedOperation: roundsd
[translation:ERROR] 	make: *** [module_micronumpy_types.gcmap] Error 1
[translation:ERROR] 	make: *** Waiting for unfinished jobs....
[translation:ERROR] 	""")

I had a similar problem with 1.8 and the vector v* functions.  I duplicated the
fix (adding roundsd to the ignored operators) and have attached the patch below.
 After the patch is applied 1.9 builds fine...

----------
files: 1.9-unknown-opcodes.patch
messages: 4400
nosy: ikelos, pypy-issue
priority: bug
release: 1.9
status: unread
title: __main__.UnrecognizedOperation: roundsd on amd64

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


More information about the pypy-issue mailing list