First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 29206
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Sean Tobin <byrdhuntr@hotmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 29206 depends on: Show dependency tree
Show dependency graph
Bug 29206 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-09-20 11:03 0000
When emerging mupen 0.3, the compile fails. The first few errors are:

[snip]
g++ -mcpu=athlon-xp -O3 -pipe -DUSE_GTK `sdl-config --cflags` `gtk-config
--cflags` -mcpu=athlon-xp -O3 -pipe  -c -o DaedalusRenderBase.o
DaedalusRenderBase.cpp
In file included from
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/xmmintrin.h:34,
                 from stdafx.h:46,
                 from DaedalusRenderBase.cpp:20:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/mmintrin.h:34: no data type
   for mode `V2SI'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/mmintrin.h:37: no data type
   for mode `V2SI'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/mmintrin.h:38: no data type
   for mode `V4HI'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/mmintrin.h:39: no data type
   for mode `V8QI'
[snip]

CFLAGS="-mcpu=athlon-xp -O3 -pipe"
gcc (GCC) 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r1, propolice)


Reproducible: Always
Steps to Reproduce:
1. emerge sync
2. emerge mupen64
3. error appears

Actual Results:  
after the above errors, errors similar to:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/mmintrin.h:157: `
   __builtin_ia32_paddd' undeclared (first use this function)

repeat a few hundred times eventually ending with a:
!!! ERROR: games-emulation/mupen64-0.3 failed.
!!! Function src_compile, Line 45, Exitcode 2
!!! failed on riceplugin



Expected Results:  
Expected successful compile and install.

# emerge info
Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gaming-r3)
=================================================================
System uname: 2.4.20-gaming-r3 i686 AMD Athlon(tm)
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mmx
mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib alsa gdbm
berkdb slang readline arts tetex svga tcltk java mysql X sdl gpm tcpd pam libwww
ssl perl python esd imlib oggvorbis gnome gtk qt kde motif opengl mozilla cdr
artswrappersuid curl directfb dvd emacs fbcon fbdev ffmpeg gd imagemagick imap
offensive php ppds S3TC threads tiff type1 vim-with-x wmf xine xvid"

------- Comment #1 From SpanKY 2003-09-22 06:22:22 0000 -------
what if you use CFLAGS="-pipe" ?  doing a search on google shows related issues
in
gcc w/too much optimization ...

------- Comment #2 From Sean Tobin 2003-09-22 07:43:26 0000 -------
When changing my cflags entry in my make.conf to:
CFLAGS="-pipe"

it still dies, with the following errors:
g++ -pipe -DUSE_GTK `sdl-config --cflags` `gtk-config --cflags` -pipe  -c -o DaedalusRenderBase.o DaedalusRenderBase.cpp
In file included from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/xmmintrin.h:34,
                 from stdafx.h:46,
                 from DaedalusRenderBase.cpp:20:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/mmintrin.h:34: no data type
   for mode `V2SI'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/mmintrin.h:37: no data type
   for mode `V2SI'
[snip]
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/xmmintrin.h:1051: `
   __builtin_ia32_sfence' undeclared (first use this function)
make: *** [DaedalusRenderBase.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [DaedalusGraphics.o] Error 1

!!! ERROR: games-emulation/mupen64-0.3 failed.
!!! Function src_compile, Line 45, Exitcode 2
!!! failed on riceplugin

so, pretty much no change at all in the errors. Is there a library I should have that the emerge isn't requiring? 


------- Comment #3 From Mr. Bones. 2003-09-27 01:07:54 0000 -------
The riceplugin doesn't like anything < gcc 3.3 so I've disabled it in the
ebuild for those of us who havn't upgraded yet.  Should enable us gcc 3.2
users to enjoy the mario kart action once again.

First Last Prev Next    No search results available      Search page      Enter new bug