I'm trying to build SDL like this: # emerge -av libsdl These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] media-libs/libsdl-1.2.8-r1 +X +aalib +alsa +arts -dga -directfb -esd -fbcon -ggi +libcaca -nas -noaudio -noflagstrip -nojoystick -novideo +opengl +oss -pic -svga +xinerama +xv 0 kB (...) And this is when it fails: SDL_yuv_mmx.c:59: warning: `MMX_Ugrn555' defined but not used SDL_yuv_mmx.c:60: warning: `MMX_Vgrn555' defined but not used SDL_yuv_mmx.c:64: warning: `MMX_red555' defined but not used SDL_yuv_mmx.c:66: warning: `MMX_grn555' defined but not used SDL_yuv_mmx.c:68: warning: `MMX_blu5x5' defined but not used i386-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL\" -DVERSION=\"1.2.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_LIBASOUND=1 -I. -I. -march=pentium4 -O2 -mcpu=i686 -Wall -DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT -DUSE_DLOPEN -DUSE_ASMBLIT -I./hermes -I../../src/hermes -DOSS_SUPPORT -DALSA_SUPPORT -DALSA_DYNAMIC=libasound.so.2 -DUSE_DLVSYM -DARTSC_SUPPORT -DARTSC_DYNAMIC=libartsc.so.0 -I/usr/kde/3.4/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DENABLE_X11 -DXTHREADS -I./include -I./src/video -DXFREE86_VM -DXFREE86_VMGAMMA -DXFREE86_XV -DHAVE_XINERAMA -DENABLE_AALIB -DENABLE_CACA -I/usr/include/ -DHAVE_OPENGL -DUSE_INPUT_EVENTS -D_REENTRANT -DSDL_USE_PTHREADS -DHAVE_SIGACTION -I../../include -I../../include/SDL -I../../src -I../../src/main/linux -I../../src/audio -I../../src/video -I../../src/video/XFree86/extensions -I../../src/events -I../../src/joystick -I../../src/cdrom -I../../src/thread -I../../src/timer -I../../src/endian -I../../src/file -I../../src/thread -c SDL_yuv_mmx.c -o SDL_yuv_mmx.o >/dev/null 2>&1 make[3]: *** [SDL_yuv_mmx.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/libsdl-1.2.8-r1/work/SDL-1.2.8/src/video' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/libsdl-1.2.8-r1/work/SDL-1.2.8/src/video' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/libsdl-1.2.8-r1/work/SDL-1.2.8/src'make: *** [all-recursive] Error 1 !!! ERROR: media-libs/libsdl-1.2.8-r1 failed. !!! Function src_compile, Line 140, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: # emerge info Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.5-20050130, glibc-2.3.5-r1, 2.6.8-2-686-smp i686) ================================================================= System uname: 2.6.8-2-686-smp i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.11 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 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="x86" AUTOCLEAN="yes" CBUILD="i386-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -mcpu=i686" CHOST="i386-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distcc distlocks fancy sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LANG="es_AR" MAKEOPTS="" 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 aac aalib acpi alsa apm arts avi bash-completion berkdb bitmap-fonts crypt cups divx4linux dvd eds elibc_glibc emboss encode fam flac foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal i8x0 imlib ipv6 jpeg kde kernel_linux ldap libcaca libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses network nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline real sdl spell sqlite sse ssl tcpd termcap-compat theora tiff truetype truetype-fonts type1-fonts unicode userland_GNU vim-with-x vorbis win32codecs x86 xine xinerama xml2 xmms xv zlib" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS
*** This bug has been marked as a duplicate of 89628 ***