GNOME Bugzilla – Bug 604814
videomixer make error
Last modified: 2009-12-17 17:17:14 UTC
When i tried to install the git version of gst-plugins-good in my feodora9 ,i got the follwing errors in make and in make ERROR_CFLAGS='' Making all in videomixer CC blend_ayuv.o blend_ayuv.c: In function 'gst_videomixer_blend_ayuv_ayuv_mmx': blend_ayuv.c:285: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' blend_ayuv.c:285: error: 'asm' operand has impossible constraints make[3]: *** [libgstvideomixer_la-blend_ayuv.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
Next time, could you please re-open the bug you previously filed instead of just filing another identical one without any additional explanation? What is the output of: git describe ?
RELEASE-0.10.16-228-g2543d9c
I am really Sorry , This is the version RELEASE-0.10.17-107-g4063bb8 problem persists
Ok, let's try this: what's the output of: git log -2 gst/videomixer/ ?
git log -2 gst/videomixer/ commit 0a0f7ecc1646751ea820bd68846f24edc755d352 Author: Sebastian Dröge <sebastian.droege@collabora.co.uk> Date: Wed Dec 16 10:50:32 2009 +0100 videomixer: Use movzbl instead of movzxb for moving one byte to a l register For some reason latest gcc/binutils accept movzxb here while movzbl would be correct and is the only thing accepted by older gcc/binutils. Fixes bug #604679. commit 9e45038d8d15db29deed5265fab7b37ae8971de1 Author: Sebastian Dröge <sebastian.droege@collabora.co.uk> Date: Wed Dec 16 06:59:01 2009 +0100 videomixer: src/dest are input and output of the AYUV blending MMX assembler
when i tried to install a previous version(RELEASE-0.10.16-228-g2543d9c), there is no problem. Problem arrives when i tried to install (RELEASE-0.10.17-107-g4063bb8) .
Ok, thanks, just making sure you are actually up to date.
Created attachment 149918 [details] [review] videomixer: Fix assembly compilation on x86 Fixes bug #604814.
(In reply to comment #8) > Created an attachment (id=149918) [details] [review] > videomixer: Fix assembly compilation on x86 > > Fixes bug #604814. This might fix it... please test :) Problem was that x86 simply has too few GP registers... solution now is to steal ebx for this (which is used for PIC code, thus needs to be restored later).
Still seems to fail with this patch applied on x86 (macosx): /var/tmp//ccQQFTR4.s:757:suffix or operands invalid for `movq' make[3]: *** [libgstvideomixer_la-blend_ayuv.lo] Error 1
commit 3ac6f5e48bef1066cc56ea800242141acd842b2c Author: Sebastian Dröge <sebastian.droege@collabora.co.uk> Date: Thu Dec 17 16:01:25 2009 +0100 videomixer: Fix assembly compilation on x86 Fixes bug #604814.