<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>91789</bug_id>
          
          <creation_ts>2005-05-07 04:36 0000</creation_ts>
          <short_desc>gst-plugins-ffmpeg-0.8.4-r1 build fails with: can&apos;t find a register in class `GENERAL_REGS&apos; while re loading `asm&apos;</short_desc>
          <delta_ts>2005-06-16 17:09:56 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Library</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>iyosifov@gmail.com</reporter>
          <assigned_to>gstreamer@gentoo.org</assigned_to>
          <cc>CoolAJ86@Havenite.net</cc>

      

      
          <long_desc isprivate="0">
            <who>iyosifov@gmail.com</who>
            <bug_when>2005-05-07 04:36:01 0000</bug_when>
            <thetext>home ~ # emerge gst-plugins-ffmpeg
Calculating dependencies ...done!
&gt;&gt;&gt; emerge (1 of 1) media-plugins/gst-plugins-ffmpeg-0.8.4-r1 to /
....
if /bin/sh ../../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I . -I. -I../.. -I../../libavcodec -DHAVE_AV_CONFIG_H=1 -fomit-frame-pointer   -ms se -g0 -O2 -march=pentium4 -mtune=pentium4 -pipe -fomit-frame-pointer -funit-at- a-time -ftracer -mfpmath=sse -fweb -frename-registers -ffast-math -fno-pie -fno- pie -MT libmmxsse_la-dsputil_mmx.lo -MD -MP -MF &quot;.deps/libmmxsse_la-dsputil_mmx. Tpo&quot; -c -o libmmxsse_la-dsputil_mmx.lo `test -f &apos;dsputil_mmx.c&apos; || echo &apos;./&apos;`dsp util_mmx.c; \
then mv -f &quot;.deps/libmmxsse_la-dsputil_mmx.Tpo&quot; &quot;.deps/libmmxsse_la-dsputil_mmx. Plo&quot;; else rm -f &quot;.deps/libmmxsse_la-dsputil_mmx.Tpo&quot;; exit 1; fi
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libavcodec -DHAVE _AV_CONFIG_H=1 -fomit-frame-pointer -msse -g0 -O2 -march=pentium4 -mtune=pentium 4 -pipe -fomit-frame-pointer -funit-at-a-time -ftracer -mfpmath=sse -fweb -frena me-registers -ffast-math -fno-pie -fno-pie -MT libmmxsse_la-dsputil_mmx.lo -MD - MP -MF .deps/libmmxsse_la-dsputil_mmx.Tpo -c dsputil_mmx.c  -fPIC -DPIC -o .libs /libmmxsse_la-dsputil_mmx.o
dsputil_mmx.c: In function `dsputil_init_mmx&apos;:
dsputil_mmx.c:3080: warning: assignment from incompatible pointer type
dsputil_mmx.c:3081: warning: assignment from incompatible pointer type
dsputil_mmx.c: In function `h263_h_loop_filter_mmx&apos;:
dsputil_mmx.c:662: error: can&apos;t find a register in class `GENERAL_REGS&apos; while re loading `asm&apos;
make[8]: *** [libmmxsse_la-dsputil_mmx.lo] Error 1


Reproducible: Always
Steps to Reproduce:





Portage 2.0.51.21 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0,
2.6.11-gentoo-r7 i686)
=================================================================
System uname: 2.6.11-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.6.11
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r8
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-g0 -O2 -march=pentium4 -mtune=pentium4 -msse2 -pipe
-fomit-frame-pointer -momit-leaf-frame-pointer -funit-at-a-time -ftracer
-mfpmath=sse -fweb -frename-registers -ffast-math&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var
/var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d&quot;
CXXFLAGS=&quot;-g0 -O2 -march=pentium4 -mtune=pentium4 -msse2 -pipe
-fomit-frame-pointer -momit-leaf-frame-pointer -funit-at-a-time -ftracer
-mfpmath=sse -fweb -frename-registers -ffast-math -fvisibility-inlines-hidden&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoconfig distlocks sandbox sfperms strict&quot;
GENTOO_MIRRORS=&quot;http://gentoo.ITDNet.net/gentoo&quot;
LANG=&quot;en_US.utf8&quot;
LC_ALL=&quot;en_US.utf8&quot;
LDFLAGS=&quot;-Wl,-O1 -Wl,--sort-common -Wl,--strip-all&quot;
LINGUAS=&quot;en&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;x86 X aac acl acpi alsa apache2 avi bash-completion berkdb bitmap-fonts
bonobo cdr crypt cups curl doc dvd dvdr eds emboss encode flac foomaticdb gd
gdbm gif gnome gpm gstreamer gtk gtk2 guile hal howl imagemagick imlib ipv6
ithreads java jpeg junit kde kdeenablefinal ldap libg++ libwww mad mikmod mmap
mmx motif mozilla mp3 mpeg mysql ncurses nls nptl nvidia ogg oggvorbis opengl
pam pdflib perl pic plotutils png postgres pthreads python qt quicktime readline
sdl session sharedmem slang spell sse sse2 ssl svga symlink tcltk tcpd tetex
threads tiff truetype truetype-fonts type1-fonts unicode usb vhosts vorbis xml
xml2 xv zlib linguas_en userland_GNU kernel_linux elibc_glibc&quot;
Unset:  ASFLAGS, CTARGET</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>beu@gentoo.org</who>
            <bug_when>2005-05-07 04:47:07 0000</bug_when>
            <thetext>I don&apos;t &apos;spose you can reproduce this with sane cflags, as well, can you ? :)  Oh, I don&apos;t know .. something like CFLAGS=&quot;-O2 -march=pentium4 -pipe&quot; ?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>iyosifov@gmail.com</who>
            <bug_when>2005-05-07 05:22:48 0000</bug_when>
            <thetext>Seems the -fweb was problematic. Please apply:

--- /usr/portage/media-plugins/gst-plugins-ffmpeg/gst-plugins-ffmpeg-0.8.4-r1.ebuild    2005-05-06 15:05:43.000000000 +0300
+++ ./gst-plugins-ffmpeg-0.8.4-r1.ebuild        2005-05-07 15:18:12.000000000 +0300
@@ -38,7 +38,7 @@
        # Restrictions taken from the mplayer ebuild
        # See bug #64262 for more info
        # let&apos;s play the filtration game!
-       filter-flags -fPIE -fPIC -fstack-protector -fforce-addr -momit-leaf-frame-pointer -msse2 -msse3 -falign-functions
+       filter-flags -fPIE -fPIC -fstack-protector -fforce-addr -momit-leaf-frame-pointer -msse2 -msse3 -falign-functions -fweb
        # ugly optimizations cause MPlayer to cry on x86 systems!
        if use x86 ; then
                replace-flags -O0 -O2
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>beu@gentoo.org</who>
            <bug_when>2005-05-07 11:44:00 0000</bug_when>
            <thetext>*** Bug 91825 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>zaheerm@gentoo.org</who>
            <bug_when>2005-05-16 06:59:49 0000</bug_when>
            <thetext>ok added -fweb to the filtering</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo.bugzilla@sundebo.dk</who>
            <bug_when>2005-06-16 17:09:56 0000</bug_when>
            <thetext>Please filter out -fno-omit-frame-pointer as well. It makes the compile break in
the same place as -fweb does.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>