Nothing much more to say really tried with my normal CFLAGS and with a minimal set but still no luck. Reproducible: Always Steps to Reproduce: 1.emerge -uv faad2 2. 3. Actual Results: /bin/sh ../../libtool --mode=link i686-pc-linux-gnu-gcc -O2 -g -DUSE_TAGGING=1 -O2 -march=athlon-xp -pipe -o libmp4ff.la -rpath /usr/lib mp4ff.lo mp4atom.lo mp4meta.lo mp4sample.lo mp4util.lo mp4tagupdate.lo drms.lo i686-pc-linux-gnu-gcc -shared .libs/mp4ff.o .libs/mp4atom.o .libs/mp4meta.o .libs/mp4sample.o .libs/mp4util.o .libs/mp4tagupdate.o .libs/drms.o -march=athlon-xp -Wl,-soname -Wl,libmp4ff.so.0 -o .libs/libmp4ff.so.0.0.0 (cd .libs && rm -f libmp4ff.so.0 && ln -s libmp4ff.so.0.0.0 libmp4ff.so.0) (cd .libs && rm -f libmp4ff.so && ln -s libmp4ff.so.0.0.0 libmp4ff.so) i686-pc-linux-gnu-ar cru .libs/libmp4ff.a mp4ff.o mp4atom.o mp4meta.o mp4sample.o mp4util.o mp4tagupdate.o drms.o i686-pc-linux-gnu-ranlib .libs/libmp4ff.a creating libmp4ff.la (cd .libs && rm -f libmp4ff.la && ln -s ../libmp4ff.la libmp4ff.la) make[3]: Leaving directory `/var/tmp/portage/faad2-2.0-r5/work/faad2/common/mp4ff' make[3]: Entering directory `/var/tmp/portage/faad2-2.0-r5/work/faad2/common' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/var/tmp/portage/faad2-2.0-r5/work/faad2/common' make[2]: Leaving directory `/var/tmp/portage/faad2-2.0-r5/work/faad2/common' Making all in frontend make[2]: Entering directory `/var/tmp/portage/faad2-2.0-r5/work/faad2/frontend' if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../common/faad -I../common/mp4ff -O2 -O2 -march=athlon-xp -pipe -MT main.o -MD -MP -MF ".deps/main.Tpo" \ -c -o main.o `test -f 'main.c' || echo './'`main.c; \ then mv -f ".deps/main.Tpo" ".deps/main.Po"; \ else rm -f ".deps/main.Tpo"; exit 1; \ fi if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../common/faad -I../common/mp4ff -O2 -O2 -march=athlon-xp -pipe -MT audio.o -MD -MP -MF ".deps/audio.Tpo" \ -c -o audio.o `test -f 'audio.c' || echo './'`audio.c; \ then mv -f ".deps/audio.Tpo" ".deps/audio.Po"; \ else rm -f ".deps/audio.Tpo"; exit 1; \ fi In file included from ../common/mp4ff/mp4ff.h:35, from main.c:42: ../common/mp4ff/mp4ff_int_types.h:23:7: warning: no newline at end of file In file included from main.c:42: ../common/mp4ff/mp4ff.h:128:7: warning: no newline at end of file main.c: In function `decodeAACfile': main.c:509: warning: passing arg 4 of `faacDecInit' from incompatible pointer type main.c: In function `decodeMP4file': main.c:775: warning: passing arg 4 of `faacDecInit2' from incompatible pointer type if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../common/faad -I../common/mp4ff -O2 -O2 -march=athlon-xp -pipe -MT getopt.o -MD -MP -MF ".deps/getopt.Tpo" \ -c -o getopt.o `test -f '../common/faad/getopt.c' || echo './'`../common/faad/getopt.c; \ then mv -f ".deps/getopt.Tpo" ".deps/getopt.Po"; \ else rm -f ".deps/getopt.Tpo"; exit 1; \ fi /bin/sh ../libtool --mode=link i686-pc-linux-gnu-g++ -O2 -O2 -march=athlon-xp -pipe -o faad main.o audio.o getopt.o ../libfaad/libfaad.la ../common/mp4ff/libmp4ff.la -lmp4v2 -lmp4v2 mkdir .libs libtool: link: cannot find the library `/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/libstdc++.la' make[2]: *** [faad] Error 1 make[2]: Leaving directory `/var/tmp/portage/faad2-2.0-r5/work/faad2/frontend' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/faad2-2.0-r5/work/faad2' make: *** [all] Error 2 !!! ERROR: media-libs/faad2-2.0-r5 failed. !!! Function src_compile, Line 73, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Expected Results: faad2-2.0-r5 installed Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r3 i686) ================================================================= System uname: 2.6.11-gentoo-r3 i686 AMD Athlon(tm) 64 Processor 3500+ Gentoo Base System version 1.6.10 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Feb 18 2005, 03:59:14)] dev-lang/python: 2.3.5 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.9.5, 1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 16bit 3dnow 3dnowex 3ds X Xaw3d a52 aac aalib acpi acpi4linux aim alsa apache2 apm audiofile avi bash-completion berkdb bidi bitmap-fonts bonobo bzip2 c++ cairo calendar cdda cddb cdio cdparanoia cdr cdrom chroot cjk codecs cracklib crypt css cups curl dga dhcp directfb divx4linux dnd doc dts dv dvd dvdr dvdread edl eds emboss emoticon encode erandom esd ethereal evo evo2 exif expat faad fam fb fbcon fbdev ffmpeg flac flash foomaticdb fortran fpx freetype ftp gb gcj gd gdbm geoip gg ggi gif gimp gimpprint glade glitz glut gmail gnome gnomedb gnuplot gnutls gphoto2 gpm graphviz gs gstreamer gtk gtk2 gtkhtml guile hal howl http icq icu ieee1394 imagemagick imap imlib imlib2 inkjar intl ipv6 irc jabber jack java javadoc jbig jpeg jpeg2k kerberos krb4 latex lcms ldap libcaca libg++ libwww live lj lm_sensors lzo lzw mad matroska mcal md5sum messages mikmod mime mimencode ming mjpeg mmx mmx2 mmxext mng mnogosearch monkey mono motif mozdevelop mozilla moznoirc moznomail mozsvg mozxmlterm mp3 mpeg mpeg4 mpi mplayer msn music mysql ncurses neXt net network nls nntp nptl ntlm numeric offensive ofx ogg oggvorbis openal openexr opengl openssh oscar oss pam pdf pdflib perl plotutils png portaudio posix python qt quicktime readline real rhythmbox rss rtc samba screenshot sdl silc smime sndfile soap sox speedo speex spell sse sse2 ssl stream svg svga svgz tcltk tcpd tetex theora tiff timidity transcode truetype truetype-fonts type1 type1-fonts unicode usb utf8 v4l v4l2 vcd vcdimager videos vidix vim vim-with-x vorbis wma123 wmf xanim xine xml xml2 xmms xosd xpm xprint xrandr xscreensaver xsl xslt xv xvid xvmc yahoo yv12 zlib zvbi" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
blah fix your libtool files.. you gotta run some script i can't remember the name of after you upgrade gcc. fix_libtool_something.sh .. search bugzilla for dupes. This has nothing todo with faad