<?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>28439</bug_id>
          
          <creation_ts>2003-09-11 07:05 0000</creation_ts>
          <short_desc>libvorbis fails to compile with CFLAGS=-msse2</short_desc>
          <delta_ts>2003-09-20 03:37:35 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>1.4</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>rmalheiro@6mil.pt</reporter>
          <assigned_to>sound@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>rmalheiro@6mil.pt</who>
            <bug_when>2003-09-11 07:05:03 0000</bug_when>
            <thetext>When I try to emerge libvorbis with CFLAGS=-msse2 it fails to compile. If I remove &quot;-msse2&quot; 
from CFLAGS it compiles successfuly.  

Reproducible: Always
Steps to Reproduce:
1. CFLAGS=&quot;-O2 -march=pentium4 -funroll-loops -mmmx -msse -msse2 -pipe&quot; in 
/etc/make.conf 
2. emerge libvorbis 
 
Actual Results:  
************* 
* final part of emerge libvorbis: 
************* 
gcc -DPACKAGE=\&quot;libvorbis\&quot; -DVERSION=\&quot;1.0\&quot; -DHAVE_DLFCN_H=1 
-DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_SQRTF=1 -DHAVE_LOGF=1 
-DHAVE_EXPF=1 -DHAVE_ACOSF=1 -DHAVE_ATANF=1 -DHAVE_FREXPF=1 
-DHAVE_RINTF=1 -DHAVE_FLOORF=1 -I. -I. -I../include -I/usr/include -O20 -ffast-math 
-D_REENTRANT -fsigned-char -O2 -funroll-loops -mmmx -msse -msse2 -pipe 
-DUSE_MEMORY_H -c block.c  -fPIC -DPIC -o .libs/block.lo 
{standard input}:2697: Error: suffix or operands invalid for `movd&apos; 
{standard input}:4688: Error: suffix or operands invalid for `movd&apos; 
make[2]: *** [smallft.lo] Error 1 
make[2]: *** Waiting for unfinished jobs.... 
gcc -DPACKAGE=\&quot;libvorbis\&quot; -DVERSION=\&quot;1.0\&quot; -DHAVE_DLFCN_H=1 
-DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_SQRTF=1 -DHAVE_LOGF=1 
-DHAVE_EXPF=1 -DHAVE_ACOSF=1 -DHAVE_ATANF=1 -DHAVE_FREXPF=1 
-DHAVE_RINTF=1 -DHAVE_FLOORF=1 -I. -I. -I../include -I/usr/include -O20 -ffast-math 
-D_REENTRANT -fsigned-char -O2 -funroll-loops -mmmx -msse -msse2 -pipe 
-DUSE_MEMORY_H -c block.c -o block.o &gt;/dev/null 2&gt;&amp;1 
mv -f .libs/block.lo block.lo 
make[2]: Leaving directory `/var/tmp/portage/libvorbis-1.0-r4/work/libvorbis-1.0/lib&apos; 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory `/var/tmp/portage/libvorbis-1.0-r4/work/libvorbis-1.0/lib&apos; 
make: *** [all-recursive] Error 1 
 
!!! ERROR: media-libs/libvorbis-1.0-r4 failed. 
!!! Function src_compile, Line 50, Exitcode 2 
!!! (no error message) 
 

Expected Results:  
Successful emerge of libvorbis package. 

vincent / # emerge info 
Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.21-rc1-acpi.test) 
================================================================= 
System uname: 2.4.21-rc1-acpi.test i686 Intel(R) Pentium(R) 4 CPU 2.53GHz 
ACCEPT_KEYWORDS=&quot;x86 ~x86&quot; 
AUTOCLEAN=&quot;yes&quot; 
CFLAGS=&quot;-O2 -march=pentium4 -funroll-loops -mmmx -msse -msse2 -pipe&quot; 
CHOST=&quot;i686-pc-linux-gnu&quot; 
COMPILER=&quot;gcc3&quot; 
CONFIG_PROTECT=&quot;/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config 
/usr/X11R6/lib/X11/xkb /usr/share/config&quot; 
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/env.d&quot; 
CXXFLAGS=&quot;-O2 -march=pentium4 -funroll-loops -mmmx -msse -msse2 -pipe&quot; 
DISTDIR=&quot;/usr/portage/distfiles&quot; 
FEATURES=&quot;sandbox ccache autoaddcvs&quot; 
GENTOO_MIRRORS=&quot;http://gauguin:8001&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 oss apm arts avi crypt cups encode foomaticdb gif imlib java jpeg kde libg++ 
libwww mad mikmod mmx motif mpeg ncurses nls pdflib png quicktime sdl spell truetype xml2 
xmms xv zlib gdbm berkdb slang readline svga gpm tcpd pam ssl perl python oggvorbis qt 
opengl aalib alsa -gnome gtk ldap radeon samba sse X xinerama&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jje@gentoo.org</who>
            <bug_when>2003-09-20 03:37:35 0000</bug_when>
            <thetext>Now filtering sse2. Thanks.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>