Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 34011

Summary: libsndfile-1.0.5 compile failed
Product: Gentoo Linux Reporter: davide.fanciola
Component: [OLD] LibraryAssignee: Gentoo Sound Team <sound>
Status: RESOLVED CANTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: preprocessed sources (*.out)

Description davide.fanciola 2003-11-21 05:33:33 UTC
When I try to emerge mplayer, the libsndfile-1.0.5 crash at the following lines:

gcc -DHAVE_CONFIG_H -I. -I. -I. -march=athlon-xp -mcpu=athlon-xp -O3
-funroll-all-loops -ftracer -fnew-ra -momit-leaf-frame-pointer -m3dnow -pipe -W
-Wall -pedantic -Wstrict-prototypes -Wmissing-prototypes -Waggregate-return
-Wcast-align -Wcast-qual -Wnested-externs -Wshadow -Wbad-function-cast -pipe -c
paf.c -MT paf.lo -MD -MP -MF .deps/paf.TPlo  -fPIC -DPIC -o .libs/paf.lo
paf.c: In function `paf24_read_i':
paf.c:580: internal compiler error: in select_spill, at ra-colorize.c:1002
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into
/var/tmp/portage/libsndfile-1.0.5/temp/ccDvWBnM.out file, please attach this to
your bugreport
make[3]: *** [paf.lo] Error 1
make[3]: Leaving directory
`/var/tmp/portage/libsndfile-1.0.5/work/libsndfile-1.0.5/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/libsndfile-1.0.5/work/libsndfile-1.0.5/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/var/tmp/portage/libsndfile-1.0.5/work/libsndfile-1.0.5/src'
make: *** [all-recursive] Error 1

!!! ERROR: media-libs/libsndfile-1.0.5 failed.
!!! Function src_compile, Line 21, Exitcode 2
!!! make failed


Reproducible: Always
Steps to Reproduce:
1. emerge -v mplayer
2.
3.

Actual Results:  
gcc -DHAVE_CONFIG_H -I. -I. -I. -march=athlon-xp -mcpu=athlon-xp -O3
-funroll-all-loops -ftracer -fnew-ra -momit-leaf-frame-pointer -m3dnow -pipe -W
-Wall -pedantic -Wstrict-prototypes -Wmissing-prototypes -Waggregate-return
-Wcast-align -Wcast-qual -Wnested-externs -Wshadow -Wbad-function-cast -pipe -c
paf.c -MT paf.lo -MD -MP -MF .deps/paf.TPlo  -fPIC -DPIC -o .libs/paf.lo
paf.c: In function `paf24_read_i':
paf.c:580: internal compiler error: in select_spill, at ra-colorize.c:1002
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into
/var/tmp/portage/libsndfile-1.0.5/temp/ccDvWBnM.out file, please attach this to
your bugreport
make[3]: *** [paf.lo] Error 1
make[3]: Leaving directory
`/var/tmp/portage/libsndfile-1.0.5/work/libsndfile-1.0.5/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/libsndfile-1.0.5/work/libsndfile-1.0.5/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/var/tmp/portage/libsndfile-1.0.5/work/libsndfile-1.0.5/src'
make: *** [all-recursive] Error 1

!!! ERROR: media-libs/libsndfile-1.0.5 failed.
!!! Function src_compile, Line 21, Exitcode 2
!!! make failed



Gentoo Base System version 1.4.3.12
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.22-ck2)
=================================================================
System uname: 2.4.22-ck2 i686 AMD Athlon(tm) XP 2800+
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -mcpu=athlon-xp -O3 -funroll-all-loops -ftracer
-fnew-ra -momit-leaf-frame-pointer -m3dnow -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="-march=athlon-xp -mcpu=athlon-xp -O3 -funroll-all-loops -ftracer
-fnew-ra -momit-leaf-frame-pointer -m3dnow -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.mirror.sdv.fr
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
http://gentoo.inode.at/ http://www.fhh.opensource-mirror.de/gentoo.org/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ libwww mad
mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib
gdbm berkdb slang readline arts nas svga tcltk sdl gpm tcpd pam ssl perl python
esd imlib oggvorbis qt kde motif opengl mozilla cdr X gtk gtk2 gnome dvd dvdr
sse mmx 3dnow samba -alsa"
Comment 1 davide.fanciola 2003-11-21 05:37:35 UTC
Created attachment 21029 [details]
preprocessed sources (*.out)
Comment 2 davide.fanciola 2003-11-23 09:35:59 UTC
Well it seems that the problem is related to my extra CFLAGS :

"-funroll-all-loops -ftracer -fnew-ra -momit-leaf-frame-pointer -m3dnow"

I found i was having a lot of problems in compiling all sort of libraries..
Now with the following standard CFLAGS :

CXXFLAGS="-march=athlon-xp -mcpu=athlon-xp -O3 -pipe"

all works fine..!

Sorry for this extra bug
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2003-12-18 13:38:51 UTC
this is a broken gcc