I tried installing Pygame version 1.9.1release for PyPy on my Mac OSX Lion. At first I ran pypy config.pywith help pypy setup.py install. I added configuration to the installation process, as I saw that it was trying to configure using regular python (which installs correctly, but causes import errors). When starting the installation process, there are many warnings, such as:
src/overlay.c:44:5: warning: implicit declaration of function 'PyObject_Free' is invalid in C99 [-Wimplicit-function-declaration]
PyObject_Free ((PyObject*)self);
^
But he also provided me with two similar errors:
In file included from src/scale_mmx.c:33:
src/scale_mmx64.c:424:27: error: invalid instruction mnemonic 'movsxl'
asm __volatile__( " /* MMX code for inner loop of X bilinear filter */ "
^
<inline asm>:1:191: note: instantiated into assembly here
movl -36(%rbp), %ecx; pxor %mm0, %mm0; 1: movsxl (%rdi), ...
^~~~~~
In file included from src/scale_mmx.c:33:
src/scale_mmx64.c:499:27: error: invalid instruction mnemonic 'movsxl'
asm __volatile__( " /* MMX code for inner loop of X bilinear filter */ "
^
<inline asm>:1:191: note: instantiated into assembly here
movl -36(%rbp), %ecx; pxor %mm0, %mm0; 1: movsxl (%rdi), ...
^~~~~~
2 errors generated.
It seems pretty silly to me that PyPy is stuck in a line that generates what seems like a block comment in C. And why its encapsulated comment in asm and volatile is outside of me. But this is the code that was provided to me and works in regular python. So is that a mistake? Or am I missing something?