Compiling of media-libs/xine-lib-1.1.2_pre20060328-r5 fails with the following error: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../.. -I../../../../include -I../../../../include -I../../../../src -I../../../../src/xine-engine -I../../../../src/xine-engine -I../../../../src/xine-utils -I../../../../src/input -I../../../../src/input -I../../../../lib -fvisibility=hidden -I../../../../src/post/deinterlace -I../../../../src/libffmpeg/libavcodec/libpostproc -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -march=athlon-xp -O3 -mfpmath=sse -ftracer -fforce-addr -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -maccumulate-outgoing-args -pipe -frename-registers -ffunction-sections -c scalerbob.c -fPIC -DPIC -o .libs/libdeinterlaceplugins_la-scalerbob.o /bin/sh ../../../../libtool-nofpic --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../.. -I../../../../include -I../../../../include -I../../../../src -I../../../../src/xine-engine -I../../../../src/xine-engine -I../../../../src/xine-utils -I../../../../src/input -I../../../../src/input -I../../../../lib -fvisibility=hidden -I../../../../src/post/deinterlace -I../../../../src/libffmpeg/libavcodec/libpostproc -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -march=athlon-xp -O3 -mfpmath=sse -ftracer -fforce-addr -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -maccumulate-outgoing-args -pipe -frename-registers -ffunction-sections -c -o libdeinterlaceplugins_la-kdetv_greedyh.lo `test -f 'kdetv_greedyh.c' || echo './'`kdetv_greedyh.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../.. -I../../../../include -I../../../../include -I../../../../src -I../../../../src/xine-engine -I../../../../src/xine-engine -I../../../../src/xine-utils -I../../../../src/input -I../../../../src/input -I../../../../lib -fvisibility=hidden -I../../../../src/post/deinterlace -I../../../../src/libffmpeg/libavcodec/libpostproc -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -march=athlon-xp -O3 -mfpmath=sse -ftracer -fforce-addr -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -maccumulate-outgoing-args -pipe -frename-registers -ffunction-sections -c kdetv_greedyh.c -fPIC -DPIC -o .libs/libdeinterlaceplugins_la-kdetv_greedyh.o kdetv_greedyh.c: In function `deinterlace_frame_di_greedyh': greedyh.asm:133: error: can't find a register in class `GENERAL_REGS' while reloading `asm' greedyh.asm:133: error: can't find a register in class `GENERAL_REGS' while reloading `asm' greedyh.asm:133: error: can't find a register in class `GENERAL_REGS' while reloading `asm' greedyh.asm:133: error: can't find a register in class `GENERAL_REGS' while reloading `asm' greedyh.asm:133: error: can't find a register in class `GENERAL_REGS' while reloading `asm' greedyh.asm:133: error: can't find a register in class `GENERAL_REGS' while reloading `asm' greedyh.asm:133: error: can't find a register in class `GENERAL_REGS' while reloading `asm' greedyh.asm:133: error: can't find a register in class `GENERAL_REGS' while reloading `asm' greedyh.asm:133: error: can't find a register in class `GENERAL_REGS' while reloading `asm' greedyh.asm:133: error: can't find a register in class `GENERAL_REGS' while reloading `asm' greedyh.asm:133: error: can't find a register in class `GENERAL_REGS' while reloading `asm' greedyh.asm:133: error: can't find a register in class `GENERAL_REGS' while reloading `asm' make[5]: *** [libdeinterlaceplugins_la-kdetv_greedyh.lo] Error 1 make[5]: Leaving directory `/var/tmp/portage/xine-lib-1.1.2_pre20060328-r5/work/xine-lib-1.1.2cvs/src/post/deinterlace/plugins' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/var/tmp/portage/xine-lib-1.1.2_pre20060328-r5/work/xine-lib-1.1.2cvs/src/post/deinterlace' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/xine-lib-1.1.2_pre20060328-r5/work/xine-lib-1.1.2cvs/src/post' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/xine-lib-1.1.2_pre20060328-r5/work/xine-lib-1.1.2cvs/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/xine-lib-1.1.2_pre20060328-r5/work/xine-lib-1.1.2cvs' make: *** [all] Error 2 !!! ERROR: media-libs/xine-lib-1.1.2_pre20060328-r5 failed. Call stack: ebuild.sh, line 1525: Called dyn_compile ebuild.sh, line 928: Called src_compile xine-lib-1.1.2_pre20060328-r5.ebuild, line 237: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant. emerge --info: Portage 2.1_pre10-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r1, 2.6.16-gentoo-r4 i686) ================================================================= System uname: 2.6.16-gentoo-r4 i686 AMD Sempron(TM) 2500+ Gentoo Base System version 1.12.0_pre18 ccache version 2.4 [enabled] dev-lang/python: 2.3.5, 2.4.3 dev-util/ccache: 2.4-r1 dev-util/confcache: [Not Present] 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-r2 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O3 -mfpmath=sse -ftracer -fforce-addr -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -maccumulate-outgoing-args -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.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/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -mfpmath=sse -ftracer -fforce-addr -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -maccumulate-outgoing-args -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms userpriv usersandbox" GENTOO_MIRRORS="ftp://distfiles.transfer.kg ftp://distfiles.unix.kg http://ftp.rhnet.is/pub/gentoo/ ftp://ftp.rhnet.is/pub/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.caliu.info/pub/gentoo/ http://fido.online.kz/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://distfiles.gentoo.org" LANG="ru_RU.koi8r" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.transfer.kg/gentoo-portage" USE="3dnow 3dnowex aac acpi alsa arts audiofile avi berkdb bitmap-fonts bzip2 bzlib cdr crypt cups dbus dga divx4linux dri dvd dvdr dvdread encode fbcon ffmpeg flac ftp gd gdbm gif gpm hal iconv icq imap java javascript jpeg jpeg2k kde kdeenablefinal kdexdeltas ldap lesstif mad maildir mmx mmx2 mmxext mp3 mpeg ncurses nls nptl nsplugin nvidia ogg oggvorbis opengl pam png qt quicktime readline samba sdl shared sharedmem sndfile snmp spell sse sse2 ssl svga theora tiff truetype truetype-fonts type1-fonts unicode userlocales vidix vorbis win32codecs x86 xine xml xml2 xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nvidia video_cards_vesa video_cards_fbdev" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS
Uhm, please try with something more sane, like C[XX]FLAGS="-march=athlon-xp -O2 -pipe". If that doesn't help, then post emerge -pv xine-lib output so that we can check your use flags. Compiles fine here on x86 w/ both gcc-4.0.3 and gcc-4.1.0.
OK, I found the cause of the problem: xine-lib won't compile, if I have a '-fforce-addr' flag in my C[XX]FLAGS. Without this flag ('-fforce-addr') xine-lib compiles and builds successfully! Thank you! :)
I confirm that removing -fforce-addr fixes this bug
By the way, the flag is filtered in r7. Please mark the bug as closed
This is a dupe...
*** This bug has been marked as a duplicate of 132416 ***