<?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>26463</bug_id>
          
          <creation_ts>2003-08-11 23:50 0000</creation_ts>
          <short_desc>-march=pentium4 causes hissing/white noise in OGG audio playback</short_desc>
          <delta_ts>2003-08-16 08:34:13 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>GCC Porting</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>Future</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>hypnos75@gmail.com</reporter>
          <assigned_to>sound@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>hypnos75@gmail.com</who>
            <bug_when>2003-08-11 23:50:19 0000</bug_when>
            <thetext>I recently upgraded to GCC3 (3.2.3), and rebuilt libvorbis in the process, going
from ebuild 1.0-r2 to 1.0-r3.  The latter does not filter out &quot;-march=*&quot; flags,
and this caused a problem with rock music, which has some jarring higher
frequency sounds like cymbal crashes and electric guitar harmonics.  So I
changed my CFLAGS from &quot;-march=pentium4 -Os -pipe&quot; to &quot;-mcpu=i686 -Os -pipe&quot; and
now my OGG tracks sound nominal.

My recommendation is to retain the &quot;-march=*&quot; filter in the libvorbis ebuilds.


Reproducible: Always
Steps to Reproduce:
1. (see &quot;Details&quot;)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>azarah@gentoo.org</who>
            <bug_when>2003-08-12 06:48:59 0000</bug_when>
            <thetext>Whoever does libvorbis please.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jje@gentoo.org</who>
            <bug_when>2003-08-15 23:39:01 0000</bug_when>
            <thetext>Can you retest with -r4. If it is still an issue we can filter pentium4 out.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hypnos75@gmail.com</who>
            <bug_when>2003-08-16 02:50:14 0000</bug_when>
            <thetext>There is some improvement, but still not acceptable.  Going from &quot;-march=pentium4&quot; to &quot;-march=pentium3&quot; doesn&apos;t help; &quot;-mcpu=*&quot; is works fine, as before.

This Forums thread suggests that &quot;-march=*&quot; is untenable for AMD architectures as well:

http://forums.gentoo.org/viewtopic.php?t=73292&amp;highlight=libvorbis</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jje@gentoo.org</who>
            <bug_when>2003-08-16 03:37:29 0000</bug_when>
            <thetext>Understood. I&apos;ll add something to filter march in r4. Thanks.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jje@gentoo.org</who>
            <bug_when>2003-08-16 04:38:34 0000</bug_when>
            <thetext>Now filtering -march=pentium?. Let me know if this works.

I&apos;m not convinced that the athlon-zp problem is the same. Reading into the forum post i&apos;d guess that -sse +3dnow results in the simd patch not being applied and consequently everything being okay.

If this is the case then perhaps the patch could be applied if (sse || 3dnow), but i have no idea if that will result in any improvement on althon-xp.

Anyway, that bug will wait for another day; i don&apos;t have an athlon box to experiment with.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hypnos75@gmail.com</who>
            <bug_when>2003-08-16 04:54:36 0000</bug_when>
            <thetext>Where are you filtering?  I&apos;m not seeing any changes after &quot;emerge rsync&quot; nor through the CVS browser on Gentoo.org.

Anyway, I&apos;m hitting the sack soon -- let me know when you commit the changes, and I&apos;ll try out the ebuild to make sure it works.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hypnos75@gmail.com</who>
            <bug_when>2003-08-16 08:34:13 0000</bug_when>
            <thetext>Revised -r4 has propagated, and works fine.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>