: undefined reference to `MMX_128' i686/libmpeg3.a(reconstruct.o)(.text+0x9a): In function `recon_comp': : undefined reference to `MASK_AND' i686/libmpeg3.a(reconstruct.o)(.text+0xa1): In function `recon_comp': : undefined reference to `ADD_1' i686/libmpeg3.a(reconstruct.o)(.text+0xfe): In function `recon_comp': : undefined reference to `MASK_AND' i686/libmpeg3.a(reconstruct.o)(.text+0x105): In function `recon_comp': : undefined reference to `ADD_1' i686/libmpeg3.a(reconstruct.o)(.text+0x1c8): In function `recon_comp': : undefined reference to `MASK_AND' i686/libmpeg3.a(reconstruct.o)(.text+0x1cf): In function `recon_comp': : undefined reference to `ADD_1' i686/libmpeg3.a(reconstruct.o)(.text+0x236): In function `recon_comp': : undefined reference to `MASK_AND' i686/libmpeg3.a(reconstruct.o)(.text+0x23d): In function `recon_comp': : undefined reference to `ADD_1' collect2: ld returned 1 exit status make: *** [i686/mpeg3dump] Error 1 !!! ERROR: media-libs/libmpeg3-1.5.2 failed. !!! Function src_compile, Line 58, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. emerge libmpeg3 Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r6 i686) ================================================================= System uname: 2.6.10-gentoo-r6 i686 AMD Athlon(tm) XP 1800+ Gentoo Base System version 1.6.8 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Jan 21 2005, 20:47:45)] ccache version 2.3 [enabled] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.8.5-r2, 1.9.4, 1.6.3, 1.7.9, 1.4_p6 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-Os -march=athlon-xp -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-Os -march=athlon-xp -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://212.219.56.152/sites/www.ibiblio.org/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/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="x86 3dnow 3dnowex X aalib alsa apm avi berkdb bitmap-fonts cdr crypt cups encode f77 fam flac font-server foomaticdb fortran gdbm gif gpm gtk gtk2 guile imagemagick imlib java jpeg ldap libg++ libwww mad mikmod mmx mmx2 motif mp3 mpeg ncurses nls nptl oggvorbis opengl pdflib perl png ppds python qt quicktime readline scanner sdl slang spell sse ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts unicode usb xml xml2 xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS
it doesn't apply the gcc-3.4 patch? (look at the einfo at the unpack stage)
... >>> Unpacking source... >>> Unpacking libmpeg3-1.5.2-src.tar.bz2 to /var/tmp/portage/libmpeg3-1.5.2/work * Applying 1.5.2-gentoo-p1.patch ... [ ok ] * Applying 1.5.2-gentoo-mpeg3split.patch ... [ ok ] * Applying 1.5.2-pthread.patch ... [ ok ] * Applying 1.5.2-largefile.patch ... [ ok ] * Applying 1.5.2-proper-c.patch ... [ ok ] * Applying 1.5.2-no-nasm.patch ... [ ok ] * Applying 1.5.2-gentoo-multilib.patch ... [ ok ] /usr/portage/eclass/gcc.eclass: line 31: [: : integer expression expected >>> Source unpacked. gcc -c `cat i686/c_flags` audio/ac3.c -o i686/audio/ac3.o gcc -c `cat i686/c_flags` audio/dct.c -o i686/audio/dct.o gcc -c `cat i686/c_flags` audio/huffman.c -o i686/audio/huffman.o gcc -c `cat i686/c_flags` audio/layer2.c -o i686/audio/layer2.o gcc -c `cat i686/c_flags` audio/layer3.c -o i686/audio/layer3.o ...
i looked at http://bugs.gentoo.org/show_bug.cgi?id=49452, put the patch in files dir, then added epatch .... to the ebuild. now it works. anyway i think this line in the ebuild doesn't work: [ "`gcc-version`" == "3.4" ] && epatch ${FILESDIR}/${PV}-gcc3.4.patch #49452 probably it didn't work there wasn't the patch in files dir (i had to put there manually).
closing this one in reference to your last post, feel free to reopen this one if you still experiencing problems.