Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86711 - mplayer-1.0_pre6-r2 PIC patch take three
Summary: mplayer-1.0_pre6-r2 PIC patch take three
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-25 15:03 UTC by Ryan Hill (RETIRED)
Modified: 2005-04-17 07:09 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 Ryan Hill (RETIRED) gentoo-dev 2005-03-25 15:03:18 UTC
hello.  in response to your request for testers post on -dev i tested the new PIC patch and received this compile error:

cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -O2 -march=pentium3 -pipe -frename-registers -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I.. -I../loader  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I../libavcodec -I../libavformat    -o demux_lmlm4.o demux_lmlm4.c
{standard input}: Assembler messages:
{standard input}:730: Error: suffix or operands invalid for `cmovl'
{standard input}:731: Error: suffix or operands invalid for `cmovl'
{standard input}:732: Error: suffix or operands invalid for `cmovl'
{standard input}:965: Error: suffix or operands invalid for `cmovl'
{standard input}:966: Error: suffix or operands invalid for `cmovl'
{standard input}:967: Error: suffix or operands invalid for `cmovl'
{standard input}:1205: Error: suffix or operands invalid for `cmovl'
{standard input}:1206: Error: suffix or operands invalid for `cmovl'
{standard input}:1207: Error: suffix or operands invalid for `cmovl'
{standard input}:1427: Error: suffix or operands invalid for `cmovl'
.
-(snip)-
.
make[1]: *** [motion_est.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/mplayer-1.0_pre6-r2/work/MPlayer-1.0pre6a/libavcodec'
make: *** [libavcodec/libavcodec.a] Error 2


i was one of the lucky ones that compiled pre6-r2 successfully the first time around, but to be sure the patch was the culprit i re-emerged the package as it is in the tree and it compiled successfully.

---

[ebuild   R   ] media-video/mplayer-1.0_pre6-r2  -3dfx -3dnow -3dnowext +X -aalib +alsa (-altivec) -arts +avi -bidi -cdparanoia -debug -dga -directfb -divx4linux -doc -dts -dv -dvb -dvd -dvdread -edl -encode -esd +fbcon -ggi -gif +gtk -i8x0 -ipv6 -jack -joystick -jpeg -libcaca -lirc -live -lzo -mad -matroska -matrox +mmx +mmxext +mpeg -mythtv -nas -nls -nvidia +oggvorbis +opengl +oss -png -real +rtc -samba -sdl +sse -sse2 -svga -tga -theora +truetype -v4l -v4l2 -xanim -xinerama +xmms +xv +xvid -xvmc

---

Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.11-ck2 i686)
=================================================================
System uname: 2.6.11-ck2 i686 Pentium III (Katmai)
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.4-r3,dev-lang/python-2.3.5 [2.4 (#1, Mar 25 2005, 02:17:08)]
ccache version 2.4 [enabled]
dev-lang/python:     2.4-r3, 2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks maketest noinfo sandbox sfperms test"
GENTOO_MIRRORS="ftp://gentoo.agsn.ca/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/dirtyepic/work/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa avi berkdb bzip2 cdr crypt curl fbcon flac fortran gdbm gif gnutls gtk gtk2 hal imlib java javascript jpeg maildir mbox mmx mozilla mp3 mpeg ncurses oggvorbis opengl oss perl pic png python quicktime readline ruby sse ssl svg tcpd threads tiff truetype xml xml2 xmms xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL
Comment 1 Chris White (RETIRED) gentoo-dev 2005-03-26 22:55:57 UTC
I think I may have a rather easy solution to all this.

Please test:

http://dev.gentoo.org/~chriswhite/mplayer-1.0_pre6-r2.ebuild

and see if it works.  You don't need an updated patch for it to work.

Thanks again!
Comment 2 Philip Kovacs 2005-03-28 11:08:42 UTC
Chris,

Your new ebuild is working for me with respect to the activation of mmx and mmx2 on my pentium 4.   My /proc/cpuinfo reports mmx sse sse2.  mplayer always reports mmx2 as being available at run-time.  (I believe you said in irc that there may be a problem with procinfo not reporting mmx2 capabilitites on some processors....)

I have mmx and sse USE flags in /etc/make.conf and mmxext and sse2 in /etc/portage/package.use for mplayer.  You have it set up so mmxext must be indicated to enable mmx2 as well.

The *only* minor issue is the ewarning (from flag-o-matic?) that I am trying to use a cpu flag (mmxext) that is not detected, followed by the message to use CROSS-COMPILE=1 if cross-compiling (which I am not).

Otherwise it _finally_ works.

Phil (drphibes)
Comment 3 Ryan Hill (RETIRED) gentoo-dev 2005-04-11 17:07:18 UTC
oops, i forgot about this one.  yes chris white's second ebuild worked.
Comment 4 Jan Brinkmann (RETIRED) gentoo-dev 2005-04-17 07:09:52 UTC
marking as fixed wrt to comment #3