Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45383 - mjpegtools-1.6.1.90-r2: cpu_accel.c:87: error: can't find a register in class `BREG' while reloading `asm'
Summary: mjpegtools-1.6.1.90-r2: cpu_accel.c:87: error: can't find a register in class...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-22 05:44 UTC by Prieto
Modified: 2004-03-22 05:59 UTC (History)
0 users

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


Attachments
Full emerge output (emerge-mjpegtools-1.6.1.90-r2.txt,15.51 KB, text/plain)
2004-03-22 05:49 UTC, Prieto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Prieto 2004-03-22 05:44:01 UTC
Compiling mjpegtools-1.6.1.90-r2 says:
cpu_accel.c:87: error: can't find a register in class `BREG' while reloading `asm'

Reproducible: Always
Steps to Reproduce:
1. emerge =mjpegtools-1.6.1.90-r2
Actual Results:  
cpu_accel.c: In function `x86_accel':
cpu_accel.c:87: error: can't find a register in class `BREG' while reloading `asm'
cpu_accel.c:104: error: can't find a register in class `BREG' while reloading `asm'
cpu_accel.c:110: error: can't find a register in class `BREG' while reloading `asm'
cpu_accel.c:132: error: can't find a register in class `BREG' while reloading `asm'
cpu_accel.c:136: error: can't find a register in class `BREG' while reloading `asm'
make[3]: *** [cpu_accel.o] Error 1



Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3)
=================================================================
System uname: 2.6.3 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.5-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-tbird -O2 -pipe -fPIC -ffast-math -mfpmath=387
-funroll-loops -falign-functions=4 -frename-registers -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-tbird -O2 -pipe -fPIC -ffast-math -mfpmath=387
-funroll-loops -falign-functions=4 -frename-registers -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.caliu.info/pub/gentoo/
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://gentoo.inode.at/source/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage-local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X acpi alsa apm arts avi berkdb cdr crypt cups directfb dvd encode
esd evo ffmpeg flash foomaticdb gdbm gif gnome gpm gtk gtk2 imap imlib java jpeg
kde lcms ldap libg++ libwww lirc mad mikmod mmx motif mozilla mpeg ncurses nls
odbc oggvorbis opengl oss pam pdflib perl png python qt quicktime readline ruby
samba sdl slang spell ssl svga tcltk tcpd tiff truetype x86 xml2 xmms xosd xv
xvid zlib"
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2004-03-22 05:47:44 UTC
drop down your CFLAGS and try again
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2004-03-22 05:48:38 UTC
and leave -fPIC untouched, don't force this flag !
Comment 3 Prieto 2004-03-22 05:49:25 UTC
Created attachment 27804 [details]
Full emerge output
Comment 4 Prieto 2004-03-22 05:59:21 UTC
Ok. It was the -fPIC flag. Sorry for wasting your time :(