while trying to update transcode if fails with a link error. Reproducible: Always Steps to Reproduce: 1. emerge -u transcode 2. 3. Actual Results: gcc -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=athlon-xp -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -pipe -DDCT_YUV_PRECISION=1 -o tcdecode tcdecode-tcdecode.o tcdecode-decode_ac3.o tcdecode-decode_mpeg2.o tcdecode-decode_yuv.o tcdecode-fileinfo.o tcdecode-ioaux.o tcdecode-decode_dv.o tcdecode-decode_mp3.o tcdecode-mpg123.o tcdecode-decode_a52.o tcdecode-decode_af6.o tcdecode-scan_dv.o tcdecode-decode_lavc.o tcdecode-decode_xvid.o tcdecode-decode_ogg.o tcdecode-decode_mov.o tcdecode-decode_lzo.o -L/usr/lib -lavcodec -L/usr//lib /usr/lib/libmp3lame.so ../libac3/.libs/libac3_tc.a ../libmpeg2/.libs/libmpeg2cvs.a ../libvo/.libs/libvout.a /usr/lib/libvorbisfile.so /usr/lib/libvorbis.so /usr/lib/libogg.so /usr/lib/libquicktime.so -lpng -lpthread ../aclib/.libs/libac.a -lm -lz -ldl ../libvo/.libs/libvout.a(yuv2rgb.o)(.text+0xe04): In function `yuv2rgb_init': : undefined reference to `yuv2rgb_init_mmxext' ../libvo/.libs/libvout.a(yuv2rgb.o)(.text+0x1285): In function `yuv2rgb_init': : undefined reference to `yuv2rgb_init_mmx' collect2: ld returned 1 exit status make[3]: *** [tcdecode] Error 1 make[3]: Leaving directory `/var/tmp/portage/transcode-0.6.14/work/transcode-0.6.14/import' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/transcode-0.6.14/work/transcode-0.6.14/import' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/transcode-0.6.14/work/transcode-0.6.14' make: *** [all] Error 2 Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-Slack-N-Too-b1 i686) ================================================================= System uname: 2.6.9-Slack-N-Too-b1 i686 AMD Athlon(TM) XP2200+ Slack-N-Too 1.0.0 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -pipe -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig candy ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo http://mirror.datapipe.net/gentoo 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="3dnow X alsa apache2 avi berkdb bitmap-fonts cdr crypt cups dvd dvdr encode esd f77 fam foomaticdb fortran gdbm gif gpm gtk gtk2 imagemagick imap imlib java javascript jpeg junit libg++ libwww mad maildir mikmod motif mpeg mysql ncurses nls nptl nptlonly oggvorbis opengl oss pam pdflib perl php png python quicktime readline scanner sdl spell ssl svga tcltk tcpd tiff truetype userlocales x86 xinerama xml2 xmms xv zlib P.S Yes you read it right there are patches from slackware that have been used to modify other packages on the system examples are dircolors for coreutils
Confirmed. This isn't compiling for me either.
As a test, please switch to gcc-3.3.4 (with gcc-config) and try again. Thanks, Marc.
Nope. Same error. Tested on gcc 3.3.3, 3.3.4-r2, 3.4.3.
Please note that this bug is a duplicate of 72923. The resolution proposed in 72923 (USE="mmx") worked for me as well.
Indeed. That worked.
See #72923