Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 149704 - media-libs/xine-lib-1.1.2-r2 failed
Summary: media-libs/xine-lib-1.1.2-r2 failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Developers for the x86 Architecture
URL:
Whiteboard:
Keywords:
: 165636 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-10-01 03:38 UTC by Marc-Andre Landry
Modified: 2007-02-06 20:23 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc-Andre Landry 2006-10-01 03:38:34 UTC
I try emerge -e media-libs/xine-lib and MAKEOPTS="-j1" emerge media-libs/xine-lib. Both end up on this error. Not so long ago I have been able to compile it, since then I added some use flags to it : media-libs/xine-lib a52 aac dts dxr3 flac imagemagick mng modplug speex theora vcd vidix.
---
 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 -I../../../lib -I/usr/include/ffmpeg -I/usr/include/postproc -fomit-frame-pointer -O2 -march=athlon-tbird -mtune=athlon-tbird -g -pipe -fno-omit-frame-pointer -fvisibility=hidden -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -DENABLE_IPV6 -O2 -march=athlon-tbird -mtune=athlon-tbird -g -pipe -fno-omit-frame-pointer -frename-registers -ffunction-sections -Wformat=2 -Wno-format-zero-length -Wmissing-format-attribute -Wstrict-aliasing=2 -c eq.c  -fPIC -DPIC -o .libs/xineplug_post_planar_la-eq.o
eq.c: In function 'process_MMX':
eq.c:50: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
make[4]: *** [xineplug_post_planar_la-eq.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/xine-lib-1.1.2-r2/work/xine-lib-1.1.2/src/post/planar'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/xine-lib-1.1.2-r2/work/xine-lib-1.1.2/src/post'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/xine-lib-1.1.2-r2/work/xine-lib-1.1.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xine-lib-1.1.2-r2/work/xine-lib-1.1.2'
make: *** [all] Error 2

!!! ERROR: media-libs/xine-lib-1.1.2-r2 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  xine-lib-1.1.2-r2.ebuild, line 227:   Called die
---
Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.12.5
Last Sync: Sat, 30 Sep 2006 20:30:09 +0000
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
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-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-tbird -mtune=athlon-tbird -g -pipe -fno-omit-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/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-tbird -mtune=athlon-tbird -g -pipe -fno-omit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer nostrip sandbox sfperms strict"
GENTOO_MIRRORS="..."
LC_ALL="en_US.UTF-8"
LINGUAS="en en_US fr"
MAKEOPTS="-j3"
PKGDIR="/usr/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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X X509 Xaw3d acl acpi alsa bash-completion berkdb bindist bitmap-fonts browserplugin bzip2 cairo cdr chroot cli crypt ctype custom-cflags dbus dbx dio dlloader dmi dmx dri drm dvd dvdr elibc_glibc emboss encode fam firefox fortran gdbm gif glitz gmp gpm gstreamer gtk gtk2 hal imlib imlib2 input_devices_keyboard input_devices_mouse ipv6 isdnlog ithreads jack java javascript jpeg kerberos kernel_linux ldap libg++ linguas_en linguas_en_US linguas_fr lm_sensors mad md5sum mikmod mmx motif mp3 mpeg ncurses nls no-old-linux nptl nptli nptlonly nsplugin ogg opengl oss pam pcre perl pic png pnq posix ppds pppd profile python qt qt3 qt4 quicktime readline reflection rle sdl session spell spl ssl svg symlink sysvipc tcltk tcpd threads tiff truetype truetype-fonts type1-fonts ucs2 udev unicode userland_GNU video_cards_radeon video_cards_vesa vorbis win32codecs xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Marc-Andre Landry 2006-10-01 03:39:50 UTC
Fix the arch for the bug repport.
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-10-01 03:51:12 UTC
This is an x86 issue, reassigning.
Comment 3 Christian Faulhammer (RETIRED) gentoo-dev 2006-10-04 04:07:04 UTC
Flag -fno-omit-frame-pointer is the guilty.  Filter it out on x86 as a quick solution. 
Marc-Andre, you can remove mtune from your cflags, it is implied by march.

Succeds with same USE flags but CFLAGS="-O2"

Fails here with said USE flags but with CFLAGS="-O2 -march=athlon-xp -g -pipe -fno-omit-frame-pointer", but with a different 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 -I../../../lib -I/usr/include/ffmpeg -I/usr/include/postproc -fomit-frame-pointer -fvisibility=hidden -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -DENABLE_IPV6 -O2 -march=athlon-xp -g -pipe -fno-omit-frame-pointer -frename-registers -ffunction-sections -Wformat=2 -Wno-format-zero-length -Wmissing-format-attribute -Wstrict-aliasing=2 -c eq2.c  -fPIC -DPIC -o .libs/xineplug_post_planar_la-eq2.o
eq2.c: In function 'affine_1d_MMX':
eq2.c:126: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
make[4]: *** [xineplug_post_planar_la-eq2.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/xine-lib-1.1.2-r2/work/xine-lib-1.1.2/src/post/planar'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/xine-lib-1.1.2-r2/work/xine-lib-1.1.2/src/post'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/xine-lib-1.1.2-r2/work/xine-lib-1.1.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xine-lib-1.1.2-r2/work/xine-lib-1.1.2'
make: *** [all] Error 2

!!! ERROR: media-libs/xine-lib-1.1.2-r2 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  xine-lib-1.1.2-r2.ebuild, line 226:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3,
2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.12.5
Last Sync: Wed, 04 Oct 2006 05:20:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
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-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2"
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
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distlocks metadata-transfer
parallel-fetch sandbox sfperms strict test"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.informatik.rwth-aachen.de/gentoo-portage"
USE="x86 3dnow 3dnowext X Xaw3d a52 alsa artworkextra asf audiofile
bash-completion beagle berkdb bidi bitmap-fonts bootsplash branding bzip2 cairo
cdda cddb cdparanoia cdr cli cracklib crypt css cups curl custom-cflags dbus
dga directfb divx4linux dlloader dri dts dvd dvdr dvdread dvi eds elibc_glibc
emacs emboss encode esd evo exif expat fam fat fbcon ffmpeg firefox fortran ftp
gb gcj gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml hal icq idn imagemagick
imap input_devices_keyboard input_devices_mouse ipv6 isdnlog java javascript
jikes jpeg jpeg2k kde kernel_linux ldap leim libg++ linguas_de lm_sensors mad
maildir matroska mbox mhash mikmod mime mmx mmxext mng mono mp3 mpeg mpeg2 mule
nautilus ncurses nforce2 nls nocardbus nptl nptlonly nsplugin nvidia objc ogg
opengl pam pcre pdf perl plotutils pmu png ppds pppd preview-latex print python
qt3 qt4 quicktime readline reflection reiserfs samba sdk session slang spell
spl sse ssl svg svga t1lib tcltk tcpd tetex theora thunderbird tiff truetype
truetype-fonts type1-fonts udev usb userland_GNU vcd video_cards_fbdev
video_cards_radeon video_cards_vesa videos vorbis win32codecs wmf wxwindows
xine xml xorg xosd xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Joshua Jackson (RETIRED) gentoo-dev 2006-10-25 21:00:16 UTC
the fix has been commited...
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-02-06 15:55:12 UTC
*** Bug 165636 has been marked as a duplicate of this bug. ***
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-02-06 15:55:41 UTC
No idea why the flag filtering has been dropped in >=1.1.3, it still breaks.
Comment 7 Raúl Porcel (RETIRED) gentoo-dev 2007-02-06 20:23:38 UTC
(In reply to comment #6)
> No idea why the flag filtering has been dropped in >=1.1.3, it still breaks.
> 

Fixed.