Hi,

I have got the following error (see below, with a lot of other
compiler warnings) when trying to compile pypy with the '--shared'
option during the last stop (compile_c).

I've seen similar issues without --shared before and it was solved by
setting the CFLAGS to -O1 but that doesn't seem to help this time.

Is it possible to fix this?

Yichao Yu

Compiler version: gcc 4.9.0 (gcc-multilibs from ArchLinux official repo).

[translation:ERROR]     Traceback (most recent call last):
[translation:ERROR]       File "app_main.py", line 75, in run_toplevel
[translation:ERROR]       File
"/home/yuyichao/projects/mlinux/pkg/all/pypy-hg/src/pypy/rpython/translator/c/gcc/trackgcroot.py",
line 2086, in <module>
[translation:ERROR]         tracker.process(f, g, filename=fn)
[translation:ERROR]       File
"/home/yuyichao/projects/mlinux/pkg/all/pypy-hg/src/pypy/rpython/translator/c/gcc/trackgcroot.py",
line 1979, in process
[translation:ERROR]         tracker = parser.process_function(lines, filename)
[translation:ERROR]       File
"/home/yuyichao/projects/mlinux/pkg/all/pypy-hg/src/pypy/rpython/translator/c/gcc/trackgcroot.py",
line 1494, in process_function
[translation:ERROR]         table = tracker.computegcmaptable(self.verbose)
[translation:ERROR]       File
"/home/yuyichao/projects/mlinux/pkg/all/pypy-hg/src/pypy/rpython/translator/c/gcc/trackgcroot.py",
line 53, in computegcmaptable
[translation:ERROR]         self.parse_instructions()
[translation:ERROR]       File
"/home/yuyichao/projects/mlinux/pkg/all/pypy-hg/src/pypy/rpython/translator/c/gcc/trackgcroot.py",
line 215, in parse_instructions
[translation:ERROR]         self.find_missing_visit_method(opname)
[translation:ERROR]       File
"/home/yuyichao/projects/mlinux/pkg/all/pypy-hg/src/pypy/rpython/translator/c/gcc/trackgcroot.py",
line 245, in find_missing_visit_method
[translation:ERROR]         raise UnrecognizedOperation(opname)
[translation:ERROR]     UnrecognizedOperation: rex64
[translation:ERROR]     make: *** [implement_1.gcmap] Error 1
[translation:ERROR]     """)
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to