It looks like part of the xine-lib build is trying to use GCC4 flags even though I'm using GCC3.4 and don't have GCC4 installed. Reproducible: Always Steps to Reproduce: #on amd64 box: emerge '=media-libs/xine-lib-1.1.0-r4' Actual Results: The merge failed Expected Results: It should have worked OK emerge info: Gentoo Base System version 1.12.0_pre8 Portage 2.0.52-r1 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.13 x86_64) ================================================================= System uname: 2.6.13 x86_64 AMD Athlon(tm) 64 Processor 3000+ distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.13 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.91.0.3 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O3 -march=athlon64 -fprefetch-loop-arrays -pipe" CHOST="x86_64-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/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O3 -march=athlon64 -fprefetch-loop-arrays -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo ftp://130.207.108.135/pub/gentoo http://gentoo.osuosl.org http://gentoo.mirrors.tds.net/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa amd64 arts async avi berkdb bitmap-fonts cdr crypt cups curl dvd dvdr dvdread eds emboss encode esd fam flac font-server foomaticdb fortran gd gdbm gif glut gpm gstreamer gtk gtk2 imagemagick imlib java jpeg junit kde libwww lzw lzw-tiff mad mmap motif mozilla mp3 mpeg ncurses nls nptl nptlonly ogg openal opengl pam pdflib perl png ppds python qt quicktime readline samba sasl sdl sensord spell ssl syslog tcltk tcpd tetex threads tiff truetype-fonts type1-fonts usb userlocales vorbis xine xinerama xml2 xmms xpm xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS tail end of compilation failure: x86_64-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 -DNDEBUG -D_REENTRANT -DXINE_COMPILE -O3 -march=athlon64 -fprefetch-loop-arrays -pipe -frename-registers -ffunction-sections -c xine_decoder.c -fPIC -DPIC -o .libs/xine_decoder.o /bin/sh ../../libtool-nofpic --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -DNDEBUG -D_REENTRANT -DXINE_COMPILE -O3 -march=athlon64 -fprefetch-loop-arrays -pipe -frename-registers -ffunction-sections -o xineplug_decode_lpcm.la -rpath /usr/lib64/xine/plugins/1.1.0 -avoid-version -module xine_decoder.lo ../../src/xine-engine/libxine.la x86_64-pc-linux-gnu-gcc -shared .libs/xine_decoder.o -Wl,--rpath -Wl,/var/tmp/portage/xine-lib-1.1.0-r4/work/xine-lib-1.1.0/src/xine-engine/.libs ../../src/xine-engine/.libs/libxine.so -L/usr/lib64 -march=athlon64 -Wl,-soname -Wl,xineplug_decode_lpcm.so -o .libs/xineplug_decode_lpcm.so creating xineplug_decode_lpcm.la (cd .libs && rm -f xineplug_decode_lpcm.la && ln -s ../xineplug_decode_lpcm.la xineplug_decode_lpcm.la) make[3]: Leaving directory `/var/tmp/portage/xine-lib-1.1.0-r4/work/xine-lib-1.1.0/src/liblpcm' Making all in libxinevdec make[3]: Entering directory `/var/tmp/portage/xine-lib-1.1.0-r4/work/xine-lib-1.1.0/src/libxinevdec' /bin/sh ../../libtool-nofpic --tag=CC --mode=compile x86_64-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 -O3 -march=athlon64 -mfpmath=sse,387 -ftracer -ffast-math -ftree-loop-linear -ftree-loop-im -ftree-loop-ivcanon -ftree-vectorize -fvariable-expansion-in-unroller -fprefetch-loop-arrays -pipe -Wall -pthread -DNDEBUG -D_REENTRANT -DXINE_COMPILE -O3 -march=athlon64 -fprefetch-loop-arrays -pipe -frename-registers -ffunction-sections -c -o xineplug_decode_image_la-image.lo `test -f 'image.c' || echo './'`image.c mkdir .libs x86_64-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 -O3 -march=athlon64 -mfpmath=sse,387 -ftracer -ffast-math -ftree-loop-linear -ftree-loop-im -ftree-loop-ivcanon -ftree-vectorize -fvariable-expansion-in-unroller -fprefetch-loop-arrays -pipe -Wall -pthread -DNDEBUG -D_REENTRANT -DXINE_COMPILE -O3 -march=athlon64 -fprefetch-loop-arrays -pipe -frename-registers -ffunction-sections -c image.c -fPIC -DPIC -o .libs/xineplug_decode_image_la-image.o cc1: error: unrecognized command line option "-ftree-loop-linear" cc1: error: unrecognized command line option "-ftree-loop-im" cc1: error: unrecognized command line option "-ftree-loop-ivcanon" cc1: error: unrecognized command line option "-ftree-vectorize" cc1: error: unrecognized command line option "-fvariable-expansion-in-unroller" make[3]: *** [xineplug_decode_image_la-image.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/xine-lib-1.1.0-r4/work/xine-lib-1.1.0/src/libxinevdec' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/xine-lib-1.1.0-r4/work/xine-lib-1.1.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/xine-lib-1.1.0-r4/work/xine-lib-1.1.0' make: *** [all] Error 2 !!! ERROR: media-libs/xine-lib-1.1.0-r4 failed. !!! Function src_compile, Line 215, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message.
Have you ever had gcc4 installed, and built something with those flags?
Builds here... Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 2.6.13-gentoo-r2 x86_64) ================================================================= System uname: 2.6.13-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.6.13 ccache version 2.3 [enabled] dev-lang/python: 2.3.5-r2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 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.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=k8 -pipe -ftracer -funit-at-a-time" CHOST="x86_64-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 /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=k8 -pipe -ftracer -funit-at-a-time" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks multilib-strict sandbox sfperms strict" GENTOO_MIRRORS="http://mirrors.acm.cs.rpi.edu/gentoo/ http:://gentoo.mirrors.pair.com/ http://mirror.datapipe.net/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X alsa avi bash-completion berkdb bitmap-fonts cdr crypt cups curl eds emboss encode esd fam firefox flac foomaticdb fortran gif gpm gstreamer gtk gtk2 imagemagick imlib ipv6 jpeg libwww lzw lzw-tiff motif mp3 mpeg ncurses nls nptl nptlonly ogg opengl pam pdflib perl png python qt quicktime readline sdl spell ssl tcpd tetex tiff truetype-fonts type1-fonts usb userlocales vorbis xine xml xml2 xmms xpm xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
(In reply to comment #1) > Have you ever had gcc4 installed, and built something with those flags? > Yes, I did some benchmark testing with GCC4 using those flags. After I was done I reset everything in make.conf and unmerged GCC4 as well as the packages I was testing.
(In reply to comment #3) > Yes, I did some benchmark testing with GCC4 using those flags. After I was > done I reset everything in make.conf and unmerged GCC4 as well as the packages > I was testing. Apparently not all the packages. Arbitrary switching between incompatible gcc versions is a bad idea.