After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 604679 - videomixer MMX code doesn't build on fedora12
videomixer MMX code doesn't build on fedora12
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
unspecified
Other Linux
: Normal normal
: 0.10.18
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 604805 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-12-16 04:43 UTC by Michael Smith
Modified: 2009-12-17 09:03 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Smith 2009-12-16 04:43:55 UTC
Building on fedora12, with:
  gcc (GCC) 4.4.2 20091027 (Red Hat 4.4.2-7)

I get:

  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: *** [libgstvideomixer_la-blend_ayuv.lo] Error 1
Comment 1 Michael Smith 2009-12-16 04:51:12 UTC
And, oops... forgot to mention: this is x86 (32 bit)
Comment 2 Sebastian Sjöberg 2009-12-16 09:12:46 UTC
Building on debian 5 (64bit) with:
    gcc (Debian 4.3.2-1.1) 4.3.2

I get:

  CC    blend_ayuv.o
blend_ayuv.c: Assembler messages:
blend_ayuv.c:292: Error: Incorrect register `%eax' used with `b' suffix
make: *** [libgstvideomixer_la-blend_ayuv.lo] Error 1
Comment 3 Sebastian Dröge (slomo) 2009-12-16 09:52:03 UTC
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.
Comment 4 Tim-Philipp Müller 2009-12-17 09:03:16 UTC
*** Bug 604805 has been marked as a duplicate of this bug. ***