<?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>26242</bug_id>
          
          <creation_ts>2003-08-08 21:35 0000</creation_ts>
          <short_desc>libvorbis-1.0-r3 is not configured for maximum performance when &apos;use 3dnow&apos; is in effect</short_desc>
          <delta_ts>2003-08-11 17:54:19 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>Ebuilds</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>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>jim_jim33@hotmail.com</reporter>
          <assigned_to>sound@gentoo.org</assigned_to>
          <cc>liverbugg@juno.com</cc>
    
    <cc>wolf31o2@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>jim_jim33@hotmail.com</who>
            <bug_when>2003-08-08 21:35:16 0000</bug_when>
            <thetext>The &quot;libvorbis-simd.patch&quot; is included with the current ebuild and provides sse
and 3dnow boosts.  The sse boosts are correctly being included when &apos;use sse&apos; is
in effect, but the 3dnow boosts are never included because the patch requires
gcc to have a -Dsimd_3dn in order to gain the benefits.  So, unless the 3dnow
bits were purposefully left out, CFLAGS should add -Dsimd_3dn if both &apos;use sse&apos;
and &apos;use 3dnow&apos; are in effect.

Reproducible: Always
Steps to Reproduce:</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jje@gentoo.org</who>
            <bug_when>2003-08-11 00:42:51 0000</bug_when>
            <thetext>No not left out on purpose - i just didn&apos;t know that it needed to be done. Will update.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jje@gentoo.org</who>
            <bug_when>2003-08-11 01:58:57 0000</bug_when>
            <thetext>Commited. Let me know if there are any issues. Thanks.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>liverbugg@juno.com</who>
            <bug_when>2003-08-11 16:40:41 0000</bug_when>
            <thetext># emerge libvorbis
Calculating dependencies ...done!
&gt;&gt;&gt; emerge (1 of 1) media-libs/libvorbis-1.0-r4 to /
&gt;&gt;&gt; md5 src_uri ;-) libvorbis-1.0.tar.gz
libtool
eutils
flag-o-matic
libtool
eutils
flag-o-matic
&gt;&gt;&gt; Unpacking source...
&gt;&gt;&gt; Unpacking libvorbis-1.0.tar.gz to /var/tmp/portage/libvorbis-1.0-r4/work
3dnow
 * Applying libvorbis-m4.patch...                                         [ ok ]
&gt;&gt;&gt; Source unpacked.
libtool
eutils
flag-o-matic
 * Working directory: /var/tmp/portage/libvorbis-1.0-r4/work/libvorbis-1.0...
 * Applying libtool-relink.patch...
 * Applying libtool-tmp.patch...
 * Applying libtool-sed.patch...
 * Applying libtool-portage.patch...
creating cache ./config.cache
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking whether the C compiler (gcc -march=i686 -O3 -pipe -Dsimd-3dn ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.

!!! ERROR: media-libs/libvorbis-1.0-r4 failed.
!!! Function src_compile, Line 45, Exitcode 1
!!! (no error message)

I see this in config.log

configure:1095: checking whether the C compiler (gcc -march=i686 -O3 -pipe -Dsim
d-3dn ) works
configure:1111: gcc -o conftest -march=i686 -O3 -pipe -Dsimd-3dn   conftest.c  1
&gt;&amp;5
conftest.c:0: malformed option `-D simd-3dn&apos;
configure: failed program was:

#line 1106 &quot;configure&quot;
#include &quot;confdefs.h&quot;


libvorbis-1.0-r3 compiles fine.


# emerge info
Portage 2.0.48-r7 (default-1.0, gcc-2.95.3, glibc-2.2.5-r8)
=================================================================
System uname: 2.4.19-gentoo-r10e i686 AMD Athlon(tm) processor
GENTOO_MIRRORS=&quot;http://www.ibiblio.org/pub/Linux/distributions/gentoo&quot;
CONFIG_PROTECT=&quot;/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/env.d&quot;
PORTDIR=&quot;/mnt/linuxback/portage&quot;
DISTDIR=&quot;/mnt/linuxback/portage/distfiles&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR_OVERLAY=&quot;/mnt/linuxback/portage-local&quot;
USE=&quot;x86 oss 3dnow apm avi crypt cups jpeg libg++ mikmod mmx mpeg ncurses pdflib spell truetype xml2 xmms xv berkdb bonobo cdr directfb esd gdbm ggi gif gnome gnome-libs gpm gtk gtkhtml guile imlib libwww motif mozilla mysql nls oggvorbis opengl pam perl png python readline sdl slang snmp ssl svga tcltk tcpd tiff X -kde -qt -arts -java dvd encode gtk2 -quicktime&quot;
COMPILER=&quot;&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-march=i686 -O3 -pipe&quot;
CXXFLAGS=&quot;-march=i686 -O3 -pipe&quot;
ACCEPT_KEYWORDS=&quot;x86 ~x86&quot;
MAKEOPTS=&quot;-j2&quot;
AUTOCLEAN=&quot;yes&quot;
SYNC=&quot;rsync://rsync.us.gentoo.org/gentoo-portage&quot;
FEATURES=&quot;sandbox ccache digest userpriv usersandbox strict&quot;
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jim_jim33@hotmail.com</who>
            <bug_when>2003-08-11 17:49:49 0000</bug_when>
            <thetext>Small typo in the ebuild.  It should be simd_3dn instead of simd-3dn</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jje@gentoo.org</who>
            <bug_when>2003-08-11 17:54:19 0000</bug_when>
            <thetext>Argh! I&apos;ll get it tonight - just gone to work.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>