Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117929 - ffmpeg-0.4.9_p20051216 fails to compile with gcc4
Summary: ffmpeg-0.4.9_p20051216 fails to compile with gcc4
Status: RESOLVED DUPLICATE of bug 104966
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-05 13:22 UTC by Thomas Weidner
Modified: 2006-01-05 13:27 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 Thomas Weidner 2006-01-05 13:22:08 UTC
hi, i get the following error when compiling ffmpeg:
i686-pc-linux-gnu-gcc -Wall -Wno-switch -march=pentium-m -O2 -pipe -fomit-frame-pointer -frename-registers -fomit-frame-pointer -DHAVE_AV_CONFIG_H -I.. -I'/var/tmp/portage/ffmpeg-0.4.9_p20051216/work/ffmpeg-0.4.9-p20051216-shared'/libavutil -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE  -fPIC -DPIC -c -o i386/dsputil_mmx.o i386/dsputil_mmx.c 
i386/h264dsp_mmx.c: In function 'h264_h_loop_filter_luma_mmx2':
i386/dsputil_mmx.c:621: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
i386/dsputil_mmx.c:621: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
make[1]: *** [i386/dsputil_mmx.o] Error 1

i'm using gcc 4.0.2-r1 and an up to date ~x86.


Portage 2.1_pre3-r1 (default-linux/x86/2005.1, gcc-4.0.2, glibc-2.3.6-r2, 2.6.15-gentoo i686)
=================================================================
System uname: 2.6.15-gentoo i686 Intel(R) Pentium(R) M processor 1500MHz
Gentoo Base System version 1.12.0_pre13
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer -frename-registers"
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/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer -frename-registers"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.inode.at/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow X acl alsa apm asf audiofile avi bash-completion berkdb bitmap-fonts bzip2 cairo crypt cups curl dvd emboss encode expat fam ffmpeg flac font-server foomaticdb fortran gdbm gif glut gmp gpm gstreamer gtk gtk2 guile imlib ipv6 java jpeg kde lcms libg++ libwww live mad mikmod mmx mng motif mp3 mpeg ncurses nls nptl nptlonly nsplugin objc ogg oggvorbis opengl oss pam pcre pdflib perl png python qt quicktime readline real sdl sse ssl tcltk tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vorbis win32codecs xine xml2 xv xvid zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-01-05 13:27:42 UTC

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