Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45874 - gst-plugins-0.6.4 won't compile, breaks with error: not found GENERAL_REGS while 'asm'
Summary: gst-plugins-0.6.4 won't compile, breaks with error: not found GENERAL_REGS wh...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-27 02:49 UTC by Francois Fernandes
Modified: 2004-03-27 11:54 UTC (History)
0 users

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


Attachments
emerge log for gst-plugins-0.6.4 (compile_log_gst-plugins-0.6.4,55.19 KB, text/plain)
2004-03-27 02:51 UTC, Francois Fernandes
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Francois Fernandes 2004-03-27 02:49:03 UTC
When I try to emerge gnome the build stops on gst-plugins-0.6.4 because of the following problem:

msmpeg4.c: In function `msmpeg4_pred_dc':
msmpeg4.c:705: error: can't find a register in class `GENERAL_REGS' while reloading `asm'

I have no idea of what I could do, even googling didn't help

I've got Kernel 2.6.3 installed with built in ALSA, could this be the problem?

I'm also not able to use gst-plugins-0.8.0 (wich compile fine), because gnome (or a dependecy) depends on gst-plugins-0.6.4. So when I emerge gnome it tries to downgrade my version of gstreamer & gst-plugins...

Reproducible: Always
Steps to Reproduce:
emerge gst-plugins

Actual Results:  
Complete crash of compile...


Gentoo Base System version 1.4.3.13
Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3)
=================================================================
System uname: 2.6.3 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=i686 -fomit-frame-pointer -march=pentium4 -funroll-loops"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.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="-O3 -mcpu=i686 -fomit-frame-pointer -march=pentium4 -funroll-loops"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.inode.at/ ftp://gentoo.inode.at/source/
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb cdr crypt cups doc dvd encode esd foomaticdb
gdbm gif gnome gpm gtk gtk2 imlib java jpeg kde ldap libg++ libwww mad mikmod
motif mozilla mpeg mysql ncurses nls oggvorbis opengl pam pdflib perl png python
qt quicktime readline samba sdl slang spell ssl svga tcltk tcpd truetype
video_cards_matrox x86 xinerama xml xml2 xmms xv zlib"
Comment 1 Francois Fernandes 2004-03-27 02:51:38 UTC
Created attachment 28139 [details]
emerge log for gst-plugins-0.6.4
Comment 2 Francois Fernandes 2004-03-27 03:23:48 UTC
I now found out, that gst-plugins won't compile if you use optimization flags like: -O2 -O3... I've used -O and now it works...

What could be the reason?
Comment 3 foser (RETIRED) gentoo-dev 2004-03-27 11:54:25 UTC
probably your weird arch/cpu CFLAGS. We can't make it work for every set of CFLAGS out there.

gst-plugins-0.8 is still masked, because it's not ready yet.