when building with gcc >= 4 we're triggering the "can't find a register in class 'GENERAL_REGS' while reloading 'asm'" error again. the full error is: i386/dsputil_mmx.c:621: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' make[1]: *** [i386/dsputil_mmx.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/ffmpeg-0.4.9_p20051216/work/ffmpeg-0.4.9-p20051216-shared/libavcodec' make: *** [lib] Error 2 !!! ERROR: media-video/ffmpeg-0.4.9_p20051216 failed. !!! Function src_compile, Line 121, Exitcode 2 !!! shared failed this was compiled with the CFLAGS -O2 -march=prescott -fomit-frame-pointer -pipe -fno-ident. works with 3.3.6 and 3.4.4-r1. fails with 4.0.2-r2, 4.0.3_beta20051215, and 4.1.0_beta20051216. the exact error message differs btwn versions but all boils down to not having a free register available. since this is a gcc4 bug i'm not expecting resolution; just wanted to get it on the books. upstream cvs doesn't have a fix at the moment. patches are welcome. ;)
I'll reopen the original bug, there are some weird gcc-related issues with ffmpeg it seems. *** This bug has been marked as a duplicate of 116125 ***
sorry, this isn't a dup of 116125. that bug occurs with gcc-3.3.6 while this doesn't, and that error occurs during compilation of xine-lib's internal ffmpeg (which isn't the same version as this snapshot) at a different portion of the build (libavcodec/libpostproc/postprocess_template.c). the error on this bug happens before the build even gets that far (libavcodec/dsputil_mmx.c). this bug has popped up before in different snapshots but i don't have the relevant bug #'s. =/ Portage 2.1_pre1 (default-linux/x86/2005.1, gcc-4.0.3-beta20051215, glibc-2.3.6-r1, 2.6.15-rc5-ck3 i686) ================================================================= System uname: 2.6.15-rc5-ck3 i686 Mobile Intel(R) Pentium(R) 4 CPU 3.06GHz Gentoo Base System version 1.12.0_pre12 ccache version 2.4 [enabled] dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.91.0.5 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=prescott -fomit-frame-pointer -pipe -fno-ident" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=prescott -fomit-frame-pointer -pipe -fno-ident -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache digest distlocks prelink sandbox sfperms strict test" GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/" LDFLAGS="-Wl,-O1" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/home/dirtyepic/overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X a52 aac acpi alsa audiofile avi bash-completion berkdb bitmap-fonts bzip2 cairo cdb cdr crypt curl dbus dri dts dvd dvdr dvdread eds emboss encode exif expat fam ffmpeg firefox flac foomaticdb fortran gdbm gif glut gmp gnutls gtk gtk2 hal idn ieee1394 imlib java jikes jpeg kde lcms libg++ libwww mad mmx mng mp3 mpeg mpi ncurses nsplugin ogg oggvorbis opengl pam pcmcia pcre pdflib perl pic png python qt quicktime readline sdl sndfile spell sqlite sse ssl svg tcltk tcpd threads truetype truetype-fonts type1-fonts udev usb vcd vorbis win32codecs xine xml xml2 xv xvid zlib elibc_glibc kernel_linux userland_GNU" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS
*** This bug has been marked as a duplicate of 104966 ***