When i try to emerge libmpeg2-0.4.0b, I get an internal compiler error: Floating point exception. Reproducible: Always Steps to Reproduce: 1.emerge libmpeg2-0.4.0b 2. 3. Actual Results: Emerge stopps with an Error. Expected Results: Emerge this software. Portage 2.0.50-r10 (default-x86-2004.2, gcc-3.3.3, glibc-2.3.3.20040420-r1, 2.6. 8.1) ================================================================= System uname: 2.6.8.1 i686 Intel(R) Pentium(R) M processor 1600MHz Gentoo Base System version 1.4.16 distcc 2.13 i386-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer -fforce-addr -frename- registers -fprefetch-loop-arrays -falign-functions=64" CHOST="i386-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3. 2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer -fforce-addr -frename- registers -fprefetch-loop-arrays -falign-functions=64" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.inode.at" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa apm arts avi berkdb cdr crypt cups dvd encode foomaticdb gdbm gif gpm gtk2 imlib jpeg kde libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl osspam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcpd truetype usb x86 xml2 xmms xv zlib"
I tried to upload the two files several times, but it did'n work : |
You have gcc-3.3.3 (me too) and libmpeg2 searches for gcc-3.3.2 libs (in my situation): gcc -Wall -march=i686 -mcpu=i686 -pipe -O3 -fomit-frame-pointer -fno-common -mcpu=pentiumpro -I/usr/X11R6/include -I/usr/include/SDL -D_REENTRANT -o extract_mpeg2 extract_mpeg2.o getopt.o /bin/sh ../libtool --mode=link gcc -Wall -march=i686 -mcpu=i686 -pipe -O3 -fomit-frame-pointer -fno-common -mcpu=pentiumpro -I/usr/X11R6/include -I/usr/include/SDL -D_REENTRANT -o corrupt_mpeg2 corrupt_mpeg2.o getopt.o libtool: link: cannot find the library `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libstdc++.la' make[1]: *** [mpeg2dec] Error 1 make[1]: *** Waiting for unfinished jobs.... I have gcc version 3.3.3 20040412 (Gentoo Linux 3.3.3-r6, ssp-3.3.2-2, pie-8.7.6)
I made a link from 3.3.3 dir to 3.3.2 and worked for me. Also, 'grep -R "3.3.2" *' in the mpeg-0.4.0b directory didn't give any result. The same in /etc, but libmpeg always try to use 3.3.2 libs.
Javier: the following command will fix your problem: '# fix_libtool_files.sh 3.3.2'
Christoph F
Christoph Fürstaller: do you also have problems compiling it when you set your CFLAGS to "-O2 -march=pentium3 -pipe" ?
feel free to reopen if this is still an issue if you compile things with sane cflags.