<?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>87539</bug_id>
          
          <creation_ts>2005-04-01 03:49 0000</creation_ts>
          <short_desc>mpg123 doesn&apos;t use CFLAGS from make.conf on amd64, patch included.</short_desc>
          <delta_ts>2005-10-17 04:54:25 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>AMD64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>simon.strandman@telia.com</reporter>
          <assigned_to>sound@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>simon.strandman@telia.com</who>
            <bug_when>2005-04-01 03:49:49 0000</bug_when>
            <thetext>Mpg123 doesn&apos;t use CFLAGS from make.conf on amd64. I have made a patch to fix that. I have also tries to compile it with a lot of different CFLAGS combinations and it seems stable even with insane optimizations.

Reproducible: Always
Steps to Reproduce:</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>simon.strandman@telia.com</who>
            <bug_when>2005-04-01 03:50:12 0000</bug_when>
            <thetext>Created an attachment (id=55023)
Patch.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kugelfang@gentoo.org</who>
            <bug_when>2005-07-15 23:44:15 0000</bug_when>
            <thetext>Has nothing to do with amd64.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>simon.strandman@telia.com</who>
            <bug_when>2005-10-15 12:18:11 0000</bug_when>
            <thetext>Anything happening here?

Here are some results:

Before applying my patch (compiling unoptimized):

[12:18] Decoding of foo.mp3 finished.

real    0m14.533s
user    0m14.133s
sys     0m0.358s

After applying my patch:

[12:18] Decoding of foo.mp3 finished.

real    0m3.942s
user    0m3.628s
sys     0m0.271s

As you can see the patched mpg123 is more than three times faster. So please
apply it. :)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>flameeyes@gentoo.org</who>
            <bug_when>2005-10-17 04:54:25 0000</bug_when>
            <thetext>Thanks, fixed in -r10 in CVS. </thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>55023</attachid>
            <date>2005-04-01 03:50 0000</date>
            <desc>Patch.</desc>
            <filename>x86_64_CFLAGS.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIE1ha2VmaWxlCTIwMDUtMDQtMDEgMTM6MzU6MzIuMDAwMDAwMDAwICswMjAwCisrKyBNYWtl
ZmlsZS5maXgJMjAwNS0wNC0wMSAxMzozNTo0NS4wMDAwMDAwMDAgKzAyMDAKQEAgLTMzMCw3ICsz
MzAsNyBAQAogbGludXgteDg2XzY0OgogCSQoTUFLRSkgTERGTEFHUz0gXAogCQlPQkpFQ1RTPSdk
ZWNvZGUubyBkY3Q2NC5vIGF1ZGlvX29zcy5vJyBcCi0JCUNGTEFHUz0nIC1XYWxsIC1ETElOVVgg
LURPU1MgLURVU0VfTU1BUCBcCisJCUNGTEFHUz0nJChDRkxBR1MpIC1XYWxsIC1ETElOVVggLURP
U1MgLURVU0VfTU1BUCBcCiAJCQkkKFJQTV9PUFRfRkxBR1MpJyBcCiAJCW1wZzEyMy1tYWtlCiAK
QEAgLTMzOCw3ICszMzgsNyBAQAogCSQoTUFLRSkgTERGTEFHUz0gXAogCQlBVURJT19MSUI9Jy1s
ZXNkIC1sYXVkaW9maWxlJyBcCiAJCU9CSkVDVFM9J2RlY29kZS5vIGRjdDY0Lm8gYXVkaW9fZXNk
Lm8nIFw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