Package: pygame Severity: minor Tags: patch User: pkg-llvm-t...@lists.alioth.debian.org Usertags: clang-ftbfs
Hello, Using the rebuild infrastructure, your package fails to build with clang (instead of gcc). Detected this kind of error: http://clang.debian.net/status.php?version=3.6.0&key=INVALID_INSTRUCTION_MNEMONIC Full build log is available here: http://clang.debian.net/logs/2015-03-25/pygame_1.9.1release+dfsg-10_unstable_clang.log I have attached a patch to fix this error. Regards, --Arthur Marble -- System Information: Debian Release: sid (unstable) Architecture: amd64 (x86_64) Kernel: Linux 4.2.0-1-amd64 Locale: LANG=en_US.UTF-8, LC_CTYPE="en_US.UTF-8" Shell: /bin/sh linked to /bin/dash Compiler: Debian clang version 3.6.2-3 (based on LLVM 3.6.2)
--- a/src/scale_mmx64.c +++ b/src/scale_mmx64.c @@ -425,7 +425,7 @@ " movl %5, %%ecx; " " pxor %%mm0, %%mm0; " "1: " - " movsxl (%3), %%rax; " /* get xidx0[x] */ + " movslq (%3), %%rax; " /* get xidx0[x] */ " add $4, %3; " " movq (%0), %%mm1; " /* load mult0 */ " add $8, %0; " @@ -500,7 +500,7 @@ " movl %5, %%ecx; " " pxor %%mm0, %%mm0; " "1: " - " movsxl (%3), %%rax; " /* get xidx0[x] */ + " movslq (%3), %%rax; " /* get xidx0[x] */ " add $4, %3; " " movq (%0), %%mm1; " /* load mult0 */ " add $8, %0; "