Trying to compile ffmpeg with these flags: [ebuild U ] media-video/ffmpeg-0.4.9_p20070330 [0.4.9_p20070129] USE="X%* -a52 -aac (-altivec) -amr -debug -doc -dts encode -ieee1394 -imlib mmx* -network ogg -oss sdl -test -theora -threads truetype -v4l vorbis -x264 -xvid zlib" 0 kB Fails: [...] i686-pc-linux-gnu-gcc -O2 -mtune=pentium-m -pipe -fomit-frame-pointer -fomit-frame-pointer -fomit-frame-pointer -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -I"/Gentoo/Portage/build/portage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg" -I"/Gentoo/Portage/build/portage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg" -I"/Gentoo/Portage/build/portage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg"/libavutil -I"/Gentoo/Portage/build/portage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg"/libavcodec -I"/Gentoo/Portage/build/portage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg"/libavformat -I"/Gentoo/Portage/build/portage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg"/libswscale -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I"/Gentoo/Portage/build/portage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg"/libswscale -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I"/Gentoo/Portage/build/portage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg" -I"/Gentoo/Portage/build/portage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg" -I"/Gentoo/Portage/build/portage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg"/libavutil -O2 -mtune=pentium-m -pipe -fomit-frame-pointer -fomit-frame-pointer -fomit-frame-pointer -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -fPIC -DPIC -c -o h264.o h264.c In file included from dsputil.h:34, from h264.c:30: avcodec.h:2460: warning: 'ImgReSampleContext' is deprecated avcodec.h:2463: warning: 'ImgReSampleContext' is deprecated h264.c: In function 'hl_decode_mb_internal': h264.c:3538: warning: suggest parentheses around arithmetic in operand of ^ h264.c:3544: warning: suggest parentheses around arithmetic in operand of ^ h264.c: In function 'decode_mb_cavlc': h264.c:5302: warning: unused variable 'ref_count' h264.c: In function 'decode_cabac_residual': h264.c:6115: warning: passing argument 4 of 'decode_significance_8x8_x86' discards qualifiers from pointer target type h264.c:6042: warning: unused variable 'last' h264.c: In function 'filter_mb_fast': h264.c:7067: warning: dereferencing type-punned pointer will break strict-aliasing rules h264.c: At top level: cabac.h:109: warning: 'put_cabac_static' defined but not used cabac.h:155: warning: 'put_cabac_terminate' defined but not used cabac.h:183: warning: 'put_cabac_u' defined but not used cabac.h:218: warning: 'put_cabac_ueg' defined but not used cabac.h:270: warning: 'refill2' defined but not used cabac.h:808: warning: 'get_cabac_u' defined but not used cabac.h:824: warning: 'get_cabac_ueg' defined but not used cabac.h: In function 'get_cabac_noinline': cabac.h:522: error: PIC register '%ebx' clobbered in 'asm' cabac.h: In function 'get_cabac': cabac.h:522: error: PIC register '%ebx' clobbered in 'asm' make[1]: *** [h264.o] Error 1 make[1]: Leaving directory `/Gentoo/Portage/build/portage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg/libavcodec' make: *** [lib] Error 2 !!! ERROR: media-video/ffmpeg-0.4.9_p20070330 failed. Call stack: ebuild.sh, line 1614: Called dyn_compile ebuild.sh, line 971: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile ffmpeg-0.4.9_p20070330.ebuild, line 167: Called die !!! make failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/Gentoo/Portage/build/portage/media-video/ffmpeg-0.4.9_p20070330/temp/build.log'. alexander@blattli ~ $ emerge --info Portage 2.1.2.3 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.5-r1, 2.6.19-suspend2-r3.neu.001 i686) ================================================================= System uname: 2.6.19-suspend2-r3.neu.001 i686 Intel(R) Celeron(R) M processor 1.50GHz Gentoo Base System release 1.12.9 Timestamp of tree: Sat, 31 Mar 2007 18:20:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.31-r5 dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.15-r1 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.20-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -mtune=pentium-m -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -mtune=pentium-m -pipe -fomit-frame-pointer" DISTDIR="/Gentoo/Portage/distfiles" EMERGE_DEFAULT_OPTS="--alphabetical" FEATURES="autoconfig ccache collision-protect distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ http://gentoo.mirror.solnet.ch http://distfiles.gentoo.org/" LANG="de_DE.UTF-8" LINGUAS="de" PKGDIR="/Gentoo/Portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/Gentoo/Portage/build" PORTDIR="/Gentoo/Portage/tree" SYNC="rsync://rsync.ch.gentoo.org/gentoo-portage" USE="X alsa bash-completion berkdb bitmap-fonts cairo cdr cli cracklib crypt dbus dri dvd dvdr eds emboss encode esd fam firefox fortran gdbm gif gnome gstreamer gtk hal iconv isdnlog jpeg kde kdeenablefinal kdehiddenvisibility libedit libg++ libnotify mad midi mikmod mmx mp3 mpeg ncurses nfs nls nptl nptlonly offensive ogg opengl pcre perl png ppds pppd python qt3 qt4 quicktime readline reflection samba sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts unicode vorbis wifi win32codecs x86 xcb xml xorg xv zlib" ALSA_CARDS="loopback usb-audio via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="fbdev vesa vga via" Unset: CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY Might be related to bug #142380? BTW: Package also does not build with USE=-mmx.
Created attachment 115080 [details] build.log
Created attachment 115082 [details] build.log with LC_ALL=C Sorry, attached the wrong build.log :( This one is from a run of "LC_ALL=C emerge ffmpeg".
*** This bug has been marked as a duplicate of bug 172845 ***