<?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>48953</bug_id>
          
          <creation_ts>2004-04-25 10:07 0000</creation_ts>
          <short_desc>gstreamer-0.8.1 compile failure with gcc-3.4: error: PIC register `ebx&apos; clobbered in `asm&apos;</short_desc>
          <delta_ts>2004-04-30 03:39:11 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>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>http://bugzilla.gnome.org/show_bug.cgi?id=141083</bug_file_loc>
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>48528</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>ed@catmur.co.uk</reporter>
          <assigned_to>gnome@gentoo.org</assigned_to>
          <cc>gcc-porting@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>ed@catmur.co.uk</who>
            <bug_when>2004-04-25 10:07:24 0000</bug_when>
            <thetext>On x86 (i686-pc-linux-gnu):

if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..   
-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/libxml2
  -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I..  -Wall
-DGST_DISABLE_DEPRECATED -g -I../libs -I../include 
-DG_LOG_DOMAIN=g_log_domain_gstreamer -DGST_MAJORMINOR=\&quot;&quot;0.8&quot;\&quot;  -O2 -pipe
-march=athlon-xp -fprefetch-loop-arrays -MT libgstreamer_0.8_la-gstelement.lo
-MD -MP -MF &quot;.deps/libgstreamer_0.8_la-gstelement.Tpo&quot; \
  -c -o libgstreamer_0.8_la-gstelement.lo `test -f &apos;gstelement.c&apos; || echo
&apos;./&apos;`gstelement.c; \
then mv -f &quot;.deps/libgstreamer_0.8_la-gstelement.Tpo&quot;
&quot;.deps/libgstreamer_0.8_la-gstelement.Plo&quot;; \
else rm -f &quot;.deps/libgstreamer_0.8_la-gstelement.Tpo&quot;; exit 1; \
fi
gstcpu.c: In function `gst_cpuid_i386&apos;:
gstcpu.c:72: error: PIC register `ebx&apos; clobbered in `asm&apos;

Also in gst/gsttrashstack.h.

Tentative patch attached (needs review by someone who groks x86 asm)

Upstream: http://bugzilla.gnome.org/show_bug.cgi?id=141083</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>azarah@gentoo.org</who>
            <bug_when>2004-04-26 16:00:13 0000</bug_when>
            <thetext>From my limited experience with at&amp;t asm, it looks OK.  Btw, its always been
an issue with -fprefetch-loop-arrays since some time back if Im not mistaken
(even 0.6).

Can the gnome guys apply?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>azarah@gentoo.org</who>
            <bug_when>2004-04-26 16:00:48 0000</bug_when>
            <thetext>Patch is here btw:

  http://bugzilla.gnome.org/attachment.cgi?id=27080&amp;action=view
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>floam@sh.nu</who>
            <bug_when>2004-04-26 17:07:12 0000</bug_when>
            <thetext>The gnome guys put it in cvs 3 hours ago.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>azarah@gentoo.org</who>
            <bug_when>2004-04-26 17:12:48 0000</bug_when>
            <thetext>Talking about the Gentoo Gnome team ...
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2004-04-27 05:41:22 0000</bug_when>
            <thetext>patch added to gstreamer-0.8.1 ebuild

thanks for the report &amp; fix</thetext>
          </long_desc>
      
    </bug>

</bugzilla>