Hi, at compile time I'll get this error when I'm trying to update xine-lib. Here are the status error message: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../.. -I../../../include -I../../../include -I../../../src -I../../../src/xine-engine -I../../../src/xine-engine -I../../../src/xine-utils -I../../../src/input -I../../../src/input -I../../../lib -I/usr/include/ffmpeg -I/usr/include/postproc -fomit-frame-pointer -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -O2 -march=pentium3 -msse2 -pipe -fomit-frame-pointer -frename-registers -ffunction-sections -UHAVE_MMX -mno-sse -fomit-frame-pointer -c noise.c -fPIC -DPIC -o .libs/noise.o noise.c: In function `lineNoiseAvg_MMX': noise.c:226: error: can't find a register in class `GENERAL_REGS' while reloading `asm' make[4]: *** [noise.lo] Error 1 make[4]: Leaving directory `/var/tmp/portage/xine-lib-1.1.2_pre20060328-r1/work/xine-lib-1.1.2cvs/src/post/planar' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/xine-lib-1.1.2_pre20060328-r1/work/xine-lib-1.1.2cvs/src/post' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/xine-lib-1.1.2_pre20060328-r1/work/xine-lib-1.1.2cvs/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/xine-lib-1.1.2_pre20060328-r1/work/xine-lib-1.1.2cvs' make: *** [all] Error 2 !!! ERROR: media-libs/xine-lib-1.1.2_pre20060328-r1 failed. !!! Function src_compile, Line 248, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. localhost davide # emerge --info Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r3, 2.6.15-gentoo-r1 i686) ================================================================= System uname: 2.6.15-gentoo-r1 i686 Intel(R) Pentium(R) M processor 1.73GHz Gentoo Base System version 1.6.14 ccache version 2.3 [enabled] dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium3 -msse2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -msse2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="it" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X alsa apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr cli crypt cups curl dri dvd eds emboss encode ethereal exif expat fam ffmpeg flac foomaticdb fortran gdbm gif gpm gstreamer gtk2 idn imlib isdnlog java jpeg kde lcms libg++ libwww mad mikmod mmx mng motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pcre pdflib perl png pppd python qt quicktime readline reflection scanner sdl session spell spl sse sse2 ssl tcpd tiff truetype truetype-fonts type1-fonts udev usb vorbis xine xml2 xmms xorg xv zlib linguas_it userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Your gcc is outdated. Reopen if you can reproduce the issue w/ latest stable gcc (3.4.5-r1).
(In reply to comment #1) > Your gcc is outdated. Reopen if you can reproduce the issue w/ latest stable > gcc (3.4.5-r1). > Ok, I'll try as soon as possible. Thanks, davide
(In reply to comment #1) > Your gcc is outdated. Reopen if you can reproduce the issue w/ latest stable > gcc (3.4.5-r1). > Steps for upgrading gcc: # emerge -uav gcc (Please substitute "i686-pc-linux-gnu-3.4.5" with the GCC version and CHOST settings you've upgraded to:) # gcc-config i686-pc-linux-gnu-3.4.5-r1 ************************************************************************************************** Shall I edit my make.conf at this point? With gcc-3.4 I must change my CFLAGS in (see http://gentoo-wiki.com/Safe_Cflags#Pentium_M.28Centrino.29.2FCeleron_M_.28Intel.29): CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer" ************************************************************************************************** # source /etc/profile (Rebuilding libtool) # emerge --oneshot -av libtool # emerge --oneshot sys-libs/libstdc++-v3 # emerge -e system # emerge -e world # emerge -aC =sys-devel/gcc-3.3* Can anyone confirm the steps above I'll take? Thanks in advance, davide moro
http://www.gentoo.org/doc/en/gcc-upgrading.xml
> Steps for upgrading gcc: > # emerge -uav gcc > > # source /etc/profile > > (Rebuilding libtool) > # emerge --oneshot -av libtool > > # emerge --oneshot sys-libs/libstdc++-v3 > > # emerge -e system [It doesn't work (emerge -e system runs recursively!)] With revdep-rebuild method in gcc-upgrade guide it was possible upgrading gcc and then xine-lib compile with gcc-3.4.5 : ) Therefore, it's confirmed: with gcc-3.4.5 xine-lib compile perfectly. -> SOLVED