Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 76223 - media-libs/xine-lib-1.0 fails to compile with asm error
Summary: media-libs/xine-lib-1.0 fails to compile with asm error
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-31 03:08 UTC by Brian Tarricone
Modified: 2004-12-31 15:23 UTC (History)
1 user (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 Brian Tarricone 2004-12-31 03:08:36 UTC
Error output is as follows:

if /bin/sh ../../../libtool-nofpic --mode=compile 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 -DHAVE_MMX   `echo -mtune=athlon -O3 -pipe -fomit-frame-pointer -falign-functions=4 -falign-loops=4 -falign-jumps=4  -mpreferred-stack-boundary=2 -fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math -funroll-loops -finline-functions -Wall -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE  -Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -DENABLE_IPV6 -march=athlon-tbird -O2 -pipe -frename-registers -fno-web -funit-at-a-time -mno-sse2 -mno-sse3 -ffunction-sections | sed -e 's/-fomit-frame-pointer//g;s/-Os//g'` -MT mmx.lo -MD -MP -MF ".deps/mmx.Tpo" \
  -c -o mmx.lo `test -f 'mmx.c' || echo './'`mmx.c; \
then mv -f ".deps/mmx.Tpo" ".deps/mmx.Plo"; \
else rm -f ".deps/mmx.Tpo"; exit 1; \
fi
mkdir .libs
 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 -DHAVE_MMX -mtune=athlon -O3 -pipe -falign-functions=4 -falign-loops=4 -falign-jumps=4 -mpreferred-stack-boundary=2 -fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math -funroll-loops -finline-functions -Wall -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -DENABLE_IPV6 -march=athlon-tbird -O2 -pipe -frename-registers -fno-web -funit-at-a-time -mno-sse2 -mno-sse3 -ffunction-sections -MT mmx.lo -MD -MP -MF .deps/mmx.Tpo -c mmx.c -o .libs/mmx.o
mmx.h: In function `mmx_supported':
mmx.h:74: error: PIC register `ebx' clobbered in `asm'
make[4]: *** [mmx.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/xine-lib-1.0/work/xine-lib-1.0/src/post/goom'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/xine-lib-1.0/work/xine-lib-1.0/src/post'
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

My emerge --info:

Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r6 i686)
=================================================================
System uname: 2.6.9-gentoo-r6 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.2.3-r5,dev-lang/python-2.3.4 [2.3.4 (#1, Jun 17 2004, 02:12:09)]
distcc 2.18.2 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.2 [enabled]
dev-lang/python:     2.2.3-r5, 2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.8.5-r2, 1.4_p6, 1.9.3, 1.6.3, 1.7.9
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-tbird -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.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/lib/X11/xkb /usr/lib/mozilla/defaults/pref /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="-march=athlon-tbird -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://mirrors.tds.net/gentoo http://open-systems.ufl.edu/mirrors/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.osuosl.org/ http://gentoo.ccccom.com"
LDFLAGS=""
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X aalib acl acpi4linux alsa apache2 apm audiofile avi berkdb bitmap-fonts bonobo cdparanoia cdr crypt cups curl dvd dvdr dvdread encode fam fbcon ffmpeg flac flash foomaticdb fortran gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imlib innodb ipv6 jack java joystick jpeg junit kerberos krb4 ldap libcaca libwww mad matroska mikmod mmx mmxext motif mpeg mysql ncurses nls nptl nptlonly nvidia oggvorbis opengl oss pam pdflib perl pic png python qt quicktime readline rtc samba sasl sdl slang speex spell sqlite sse ssl stencil-buffer svga tcltk tcpd tetex theora tiff truetype ungif usb v4l2 xchattext xfs xml xml2 xv xvid xvmc zlib"
Comment 1 Chris White (RETIRED) gentoo-dev 2004-12-31 06:09:31 UTC
How often ago did you sync?  There was an mmx patch already put out for this (yesterday I believe) that fixes the problem.  Hopefully it works.. (no one else has said anything).  "xine-lib-hardened-mmx.patch" should be applied if you're up to date.
Comment 2 Stian Skjelstad 2004-12-31 13:31:24 UTC
You are correct Chris White:

http://bugs.gentoo.org/show_bug.cgi?id=73342

please mark this as a duplication and close it down
Comment 3 Brian Tarricone 2004-12-31 15:23:35 UTC
yep, looks like i synced a little bit before this patch made it in, and then experienced other problems that took a day or two to resolve, and didn't resync before moving on.  sorry about that.