Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17032 - libfame-0.9.0 failed with CFLAGS -fprefetch-loop-arrays
Summary: libfame-0.9.0 failed with CFLAGS -fprefetch-loop-arrays
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Martin Holzer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-07 10:17 UTC by joseph
Modified: 2003-06-15 08:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description joseph 2003-03-07 10:17:36 UTC
Hi,

  This bug is found by steveb in the forum.  When emerge libfame with
-fprefetch-loop-arrays (without it no problem), we've this error:
-----
gcc -DPACKAGE=\"libfame\" -DVERSION=\"0.9.0\" -I. -I. -march=athlon-xp -m3dnow
-msse -mfpmath=sse -mmmx -O3 -pipe -fforce-addr -fomit-frame-pointer
-funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4
-maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays -march=i586
-DHAS_BSWAP -Wall -fexpensive-optimizations -funroll-loops -ffast-math
-fomit-frame-pointer -DHAS_MMX -c  -fPIC -DPIC fame_decoder_mpeg.c -o
.libs/fame_decoder_mpeg.lo
fame_decoder_mpeg.c: In function `mpeg_init':
fame_decoder_mpeg.c:181: internal error: Floating point exception
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[1]: *** [fame_decoder_mpeg.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
fame_encoder_mpeg.c: In function `mpeg_init':
fame_encoder_mpeg.c:193: internal error: Floating point exception
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[1]: *** [fame_encoder_mpeg.lo] Error 1
make[1]: Leaving directory `/var/tmp/portage/libfame-0.9.0/work/libfame-0.9.0/src'
make: *** [all-recursive] Error 1
 
!!! ERROR: media-libs/libfame-0.9.0 failed.
!!! Function src_compile, Line 23, Exitcode 2
!!! (no error message)
--------
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-03-07 10:25:20 UTC
i'll filter out this flag
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-03-10 16:40:28 UTC
please paste
#emerge info
Comment 3 joseph 2003-03-10 21:12:03 UTC
Hi, 

  This is output from emege info:
-----------

dbserver root # cat emerge.info
Portage 2.0.47-r8 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r2)
=================================================================
System uname: 2.4.19-gentoo-r10 i686 AMD Athlon(tm) XP 1700+
GENTOO_MIRRORS=" ftp://mirror.iawnet.sandia.gov/pub/gentoo/ ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://csociety-ftp.ecn.purdue.edu/pub/gentoo/"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg libg++ mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline tetex nas svga java X sdl gpm tcpd pam libwww ssl python esd imlib oggvorbis gnome gtk motif opengl aalib acpi alsa -arts atlas bonobo cdr dga directfb doc dvd ethereal evo fbcon flash gb gd ggi gphoto2 gtkhtml guile imap innodb ipv6 jikes -kde kerberos lcms ldap mbox mozilla mysql odbc perl pic pnp -qt sasl
snmp socks5 tcltk tiff usb wmf xface xml"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays"
CXXFLAGS="-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
--------
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2003-03-11 06:45:13 UTC
fixed in cvs
Comment 5 Steve Greene 2003-06-15 08:47:12 UTC
Same floating point exception in emerge "gst-plugins".  Same fix, removing flag "-fprefetch-array-loops" worked