Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 48972 - gst-plugins-ffmpeg doesn't compile with -mcpu=pentium4
Summary: gst-plugins-ffmpeg doesn't compile with -mcpu=pentium4
Status: RESOLVED DUPLICATE of bug 35667
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-25 13:38 UTC by Joe McCann (RETIRED)
Modified: 2005-07-17 13:06 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 Joe McCann (RETIRED) gentoo-dev 2004-04-25 13:38:51 UTC
When trying to compile gst-plugins-ffmpeg, I kept running across the same compile error.
 
 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libavcodec -DHAVE_AV_CONFIG_H=1 -msse -mcpu=pentium4 -O2 -pipe -MT libmmxsse_la-dsputil_mmx.lo -MD -MP -MF .deps/libmmxsse_la-dsputil_mmx.Tpo -c dsputil_mmx.c  -fPIC -DPIC -o .libs/libmmxsse_la-dsputil_mmx.o
dsputil_mmx.c: In function `h263_h_loop_filter_mmx':
dsputil_mmx.c:614: error: can't find a register in class `INDEX_REGS' while reloading `asm'

If I switch -mcpu=pentium4 to -march=i686, the package will compile and install fine.

Reproducible: Always
Steps to Reproduce:




Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.5)
=================================================================
System uname: 2.6.5 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz
Gentoo Base System version 1.4.9
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=pentium4 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=pentium4 -O2 -pipe"
DISTDIR="/files/distfiles"
FEATURES="autoaddcvs ccache cvs sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/dst/bmg/bmg_overlay /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa apm avi berkdb breakme cdr crypt cups dashboard divx dvd
encode esd evo faad flac foomaticdb gdbm gif gnome gstreamer gtk gtk2 gtkhtml
imlib jpeg ldap libg++ libwww mad mikmod mmx motif mozilla moznocompose moznoirc
moznomail mpeg ncurses nls nntp nowin oggvorbis opengl oss pam pda pdflib perl
png python quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd x86
xfig xine xinerama xml2 xv zlib"
Comment 1 Joe McCann (RETIRED) gentoo-dev 2004-04-25 18:44:29 UTC
sorry, forgot to mention it was gst-plugins-ffmpeg-0.8.0
Comment 2 foser (RETIRED) gentoo-dev 2004-04-26 08:59:35 UTC

*** This bug has been marked as a duplicate of 35667 ***