Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66445 - avifile-0.7.41.20041001 compile fails
Summary: avifile-0.7.41.20041001 compile fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on: 64893
Blocks:
  Show dependency tree
 
Reported: 2004-10-05 11:40 UTC by Jan Jitse Venselaar
Modified: 2004-11-06 12:25 UTC (History)
0 users

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 Jan Jitse Venselaar 2004-10-05 11:40:07 UTC
I get the following error:
postprocess_template.c: In function `postProcess_MMX':
postprocess_template.c:3171: error: can't find a register in class `GENERAL_REGS' while reloading `asm'
postprocess_template.c:3171: error: can't find a register in class `GENERAL_REGS' while reloading `asm'
postprocess_template.c:3254: error: can't find a register in class `GENERAL_REGS' while reloading `asm'
postprocess_template.c:3254: error: can't find a register in class `GENERAL_REGS' while reloading `asm'
make[3]: *** [postprocess.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/avifile-0.7.41.20041001/work/avifile-0.7-0.7.41/ffmpeg/libavcodec/libpostproc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/avifile-0.7.41.20041001/work/avifile-0.7-0.7.41/ffmpeg/libavcodec'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/avifile-0.7.41.20041001/work/avifile-0.7-0.7.41/ffmpeg'
make: *** [all-recursive] Error 1

!!! ERROR: media-video/avifile-0.7.41.20041001 failed.
!!! Function src_compile, Line 119, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

I need to add flag-o-matic to the inherit and then filterflags "-momit-leaf-frame-pointer" to fix this error. Then I get the same error as on bug nr #64893 ( http://bugs.gentoo.org/show_bug.cgi?id=64893 ), but now on a normal Athlon-XP (non 64) with gcc 3.4.2-r2


Reproducible: Always
Steps to Reproduce:
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2004-10-05 13:19:08 UTC
reopen with the output of emerge --info
Comment 2 Jan Jitse Venselaar 2004-10-05 13:56:29 UTC
Portage 2.0.51_rc7 (default-linux/x86/2004.2/gcc34/2.6, gcc-3.4.2, glibc-2.3.4.20041002-r0, 2.6.8.1-ck9 i686)
=================================================================
System uname: 2.6.8.1-ck9 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.5.3
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe -ftracer -ffast-math -fomit-frame-pointer -momit-leaf-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/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/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="-O2 -march=athlon-xp -pipe -ftracer -ffast-math -fomit-frame-pointer -momit-leaf-frame-pointer -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox sfperms userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.0.2/gentoo-portage"
USE="3dnow 3dnowex X alsa apm applypatches arts artswrappersuid audiofile avi bitmap-fonts cdparanoia cdr crypt cscope dvd dvdread encode fam final flac foomaticdb gdbm gif gphoto2 gpm gtk gtk2 guile imagemagick imlib ithreads jabber java javascript jpeg junit kde libcaca libg++ libwww live mad mikmod mmx mmx2 motif mpeg mysql ncurses network nfs nptl nptlonly oggvorbis ooo-kde opengl oss pam pdflib perl pic png python qt quicktime readline rtc sdl slang sqlite sse ssl svga tcltk tcpd tetex theora threads tiff truetype v4l2 x86 xml2 xprint xv xvid zlib"

As said, it doesn't work with the -momit-leaf-frame-pointer, so that needs to be filtered out.
Comment 3 Patrick Kursawe (RETIRED) gentoo-dev 2004-10-06 00:23:57 UTC
Could reproduce the problem -> flag filtered.
Emerges fine for me (-march=athlon-xp -O2 -pipe) -> trying with your CFLAGS.
Comment 4 Patrick Kursawe (RETIRED) gentoo-dev 2004-10-06 01:06:34 UTC
Continuing with bug #64893, flag problem solved.
Comment 5 doug whiteley 2004-11-06 12:25:09 UTC
This same problem also arises for me when my CFLAGS include -fno-omit-frame-pointer. That needs to be filtered out, too.