Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 76227 - media-libs/xine-lib-1.0 fails to build
Summary: media-libs/xine-lib-1.0 fails to build
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-31 06:10 UTC by Patrick Lauer
Modified: 2005-01-01 11:21 UTC (History)
0 users

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 Patrick Lauer gentoo-dev 2004-12-31 06:10:36 UTC
dsputil_mmx.c: In function `put_qpel8_mc10_3dnow':
dsputil_mmx_rnd.h:61: error: can't find a register in class `BREG' while reloading `asm'
make[5]: *** [dsputil_mmx.lo] Error 1
make[5]: Leaving directory `/var/tmp/portage/xine-lib-1.0/work/xine-lib-1.0/src/libffmpeg/libavcodec/i386'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/xine-lib-1.0/work/xine-lib-1.0/src/libffmpeg/libavcodec'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/xine-lib-1.0/work/xine-lib-1.0/src/libffmpeg'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/xine-lib-1.0/work/xine-lib-1.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xine-lib-1.0/work/xine-lib-1.0'
make: *** [all] Error 2

!!! ERROR: media-libs/xine-lib-1.0 failed.


Reproducible: Always
Steps to Reproduce:
1.emerge xine-lib
2.???
3.profit!




Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0,
2.6.9 i686)
=================================================================
System uname: 2.6.9 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Dec 30 2004, 18:20:12)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /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/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache cvs distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo 
http://gentoo.inode.at/ ftp://gentoo.inode.at/source/"
LDFLAGS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X aac aalib acl acpi alsa apache2 apm arts audiofile avi
bash-completion berkdb bidi bigger-fonts bitmap-fonts bzlib cdr chroot cjk cross
crypt css cups curl curlwrappers dbm dga directfb divx4linux doc dvd dvdr
dvdread edl encode erandom esd ethereal exif faac faad flac flexresp flood
font-server foomaticdb fortran freetype ftp gd gdbm gif gimp glep gmp gmttria
gpm hardened hardenedphp iconv icq imlib inifile ipv6 jabber java jpeg jpeg2k
junit kde ldap libcaca libwww live lzo mad makecheck mikmod mime mmx mmx2 mng
monkey motif mozsvg mozxmlterm mp3 mpeg mpeg4 mpi mplayer mysql mysqli
nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses network nls no-old-linux
nptl nptlonly ntlm nvidia offensive oggvorbis openal opengl oss pam parse-clocks
pcre pdf pdflib pear-db perl pie png prelude print pvm python qemu-fast qt
quicktime readline real recode rtc sdl skey slang slp smime sndfile sockets
spell sse ssl ssp svg svga tcltk tcpd tcpmd5 tetex tga theora threads tidy tiff
truetype truetype-fonts type1 type1-fonts usb vhosts xml xml2 xmlrpc xmms xprint
xv xvid xvmc yv12 zeo zlib"
Comment 1 Chris White (RETIRED) gentoo-dev 2004-12-31 21:44:49 UTC
Patrick,

Do you have a hardened mmx patch being applied?  That patch was user submited recently so you might need to cvs update/emerge sync to get it.  I can't promise you profit though :P.  Let me know if it's still an issue.
Comment 2 Patrick Lauer gentoo-dev 2005-01-01 03:02:40 UTC
The hardened-mmx patch is being applied, but does not solve that problem.

Any other ideas how to get rid of that error?


Thanks,
Patrick
Comment 3 Chris White (RETIRED) gentoo-dev 2005-01-01 11:21:56 UTC
Ah, figured it out, you need pic in your USE flags.  It applies the patch to fix #ifdef PIC v. #ifdef __PIC__, which is what the issue is.