Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
media-video/ffmpeg-0.4.9_p20051216 breaks with USE=mmx
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
lancelott
Apprentice
Apprentice


Joined: 29 Mar 2005
Posts: 152

PostPosted: Thu Dec 22, 2005 3:40 am    Post subject: media-video/ffmpeg-0.4.9_p20051216 breaks with USE=mmx Reply with quote

The previous snapshot worked with USE=mmx, but when I tried this one, it spit out an error pertaining to mmx (I don't have it anmore, will have to re-emerge) and upon setting USE=-mmx it installed correctly.

Does anyone else have this issue and/or is there a patch for it?
_________________
Desktop: AMD Athlon 64 3000+ @ 2.15GHz | 7600GT 256MB | 320GB + 250GB SATA 3.0 | Creative X-Fi XtremeGamer | Gentoo Linux amd64
Server: Intel Pentium 2 MMX 350MHz | 30GB HDD | Gentoo Linux x86
Back to top
View user's profile Send private message
dgaffuri
Advocate
Advocate


Joined: 05 Jun 2005
Posts: 2078
Location: Italy

PostPosted: Thu Dec 22, 2005 8:11 am    Post subject: Reply with quote

Same problem here, no solution. Here's the error and emerge info. I'm using gcc-4.0.2-r2.
Code:
i686-pc-linux-gnu-gcc -Wall -Wno-switch -O2 -march=pentium-m -fomit-frame-pointer -pipe -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  -msse -fPIC -DPIC -c -o i386/fft_sse.o i386/fft_sse.c
i686-pc-linux-gnu-gcc -Wall -Wno-switch -O2 -march=pentium-m -fomit-frame-pointer -pipe -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/vp3dsp_mmx.o i386/vp3dsp_mmx.c
i686-pc-linux-gnu-gcc -Wall -Wno-switch -O2 -march=pentium-m -fomit-frame-pointer -pipe -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/vp3dsp_sse2.o i386/vp3dsp_sse2.c
i686-pc-linux-gnu-gcc -Wall -Wno-switch -O2 -march=pentium-m -fomit-frame-pointer -pipe -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/idct_mmx_xvid.o i386/idct_mmx_xvid.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
make[1]: Leaving directory `/var/tmp/portage/ffmpeg-0.4.9_p20051216/work/ffmpeg-0.4.9-p20051216-shared/libavcodec'
make: *** [lib] Error 2

!!! ERROR: media-video/ffmpeg-0.4.9_p20051216 failed.
!!! Function src_compile, Line 121, Exitcode 2
!!! shared failed
!!! If you need support, post the topmost build error, NOT this status message.

~ # emerge --info
Portage 2.0.53 (default-linux/x86/2005.1, gcc-4.0.2, glibc-2.3.6-r1, 2.6.15-rc6 i686)
=================================================================
System uname: 2.6.15-rc6 i686 Intel(R) Pentium(R) M processor 2.00GHz
Gentoo Base System version 1.12.0_pre12
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
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
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org ftp://gentoo.kems.net/mirrors/gentoo ftp://ftp.gentoo.mesh-solutions.com/gentoo/"
LINGUAS="en it"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acl acpi alsa apache2 arts audiofile avi berkdb bitmap-fonts bzip2 cdr crypt cups curl dbus dvdr dvdread emboss encode exif expat fam ffmpeg firefox foomaticdb gdbm gif glut gmp gpm gstreamer hal idn ieee1394 imlib java jpeg junit kde kerberos lcms ldap libg++ libwww logrotate mad mhash mikmod mmx mng motif mp3 mpeg ncurses nls nptl nvidia odbc ogg oggvorbis openal opengl oracle pam pcmcia pcre pdflib perl png python qt quicktime readline samba sdl spell sse sse2 ssl tcltk tcpd threads tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis wifi xml2 xmms xv xvid zlib linguas_en linguas_it userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS

_________________
Adopt an unanswered post
If you feel that your problem has been solved please edit the top post and add [solved] to the subject
Back to top
View user's profile Send private message
Epyon
l33t
l33t


Joined: 11 Sep 2003
Posts: 754
Location: NJ, USA

PostPosted: Thu Dec 22, 2005 2:06 pm    Post subject: Reply with quote

I have mmx in my use flags and ffmpeg compiled fine for me.
Back to top
View user's profile Send private message
nxsty
Veteran
Veteran


Joined: 23 Jun 2004
Posts: 1556
Location: .se

PostPosted: Thu Dec 22, 2005 2:09 pm    Post subject: Reply with quote

Epyon wrote:
I have mmx in my use flags and ffmpeg compiled fine for me.


Perhaps it's a gcc 4.0 problem only?
Back to top
View user's profile Send private message
r3tex
n00b
n00b


Joined: 15 Jan 2005
Posts: 4
Location: Gothemburg, Sweden

PostPosted: Sat Dec 24, 2005 4:02 am    Post subject: Reply with quote

I have gcc 3.4 with some non-standard CFLAGS and mine fails with mmx on...
Back to top
View user's profile Send private message
Halcy0n
Developer
Developer


Joined: 17 Sep 2003
Posts: 1682
Location: Freehold, NJ

PostPosted: Sat Dec 24, 2005 5:44 am    Post subject: Reply with quote

r3tex wrote:
I have gcc 3.4 with some non-standard CFLAGS and mine fails with mmx on...

Same spot?

https://bugs.gentoo.org/show_bug.cgi?id=104966 fixes this issue
_________________
Mark Loeser
http://www.halcy0n.com
Back to top
View user's profile Send private message
SHINODATT
n00b
n00b


Joined: 07 Jan 2006
Posts: 70
Location: Ontario, Canada

PostPosted: Sat Jan 07, 2006 3:08 am    Post subject: Mine is crapping out too.... Reply with quote

Mine (also GCC 3.4.4) is crapping out, here's my error:

i686-pc-linux-gnu-gcc -Wall -Wno-switch -O2 -march=pentium4 -fomit-frame-pointer -fomit-frame-pointer -DHAVE_AV_CONFIG_H -I.. -I'/var/tmp/portage/ffmpeg-0.4.9_p20051216/work/ffmpeg-0.4.9-p20051216-static'/libavutil -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o ac3enc.o ac3enc.c
In file included from /var/tmp/portage/ffmpeg-0.4.9_p20051216/work/ffmpeg-0.4.9-p20051216-static/libavutil/avutil.h:24,
from avcodec.h:14,
from ac3enc.c:26:
/var/tmp/portage/ffmpeg-0.4.9_p20051216/work/ffmpeg-0.4.9-p20051216-static/libavutil/common.h:579: warning: static declaration of 'lrintf' follows non-static declaration
i686-pc-linux-gnu-gcc -Wall -Wno-switch -O2 -march=pentium4 -fomit-frame-pointer -fomit-frame-pointer -DHAVE_AV_CONFIG_H -I.. -I'/var/tmp/portage/ffmpeg-0.4.9_p20051216/work/ffmpeg-0.4.9-p20051216-static'/libavutil -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o mjpeg.o mjpeg.c
In file included from /var/tmp/portage/ffmpeg-0.4.9_p20051216/work/ffmpeg-0.4.9-p20051216-static/libavutil/avutil.h:24,
from avcodec.h:14,
from mjpeg.c:34:
/var/tmp/portage/ffmpeg-0.4.9_p20051216/work/ffmpeg-0.4.9-p20051216-static/libavutil/common.h:579: warning: static declaration of 'lrintf' follows non-static declaration
mpegvideo.c: In function `MPV_encode_picture':
/var/tmp/portage/ffmpeg-0.4.9_p20051216/work/ffmpeg-0.4.9-p20051216-static/libavutil/common.h:579: sorry, unimplemented: inlining failed in call to 'lrintf': redefined extern inline functions are not considered for inlining
mpegvideo.c:2410: sorry, unimplemented: called from here
make[1]: *** [mpegvideo.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/ffmpeg-0.4.9_p20051216/work/ffmpeg-0.4.9-p20051216-static/libavcodec'
make: *** [lib] Error 2

!!! ERROR: media-video/ffmpeg-0.4.9_p20051216 failed.
!!! Function src_compile, Line 117, Exitcode 2
!!! static failed
!!! If you need support, post the topmost build error, NOT this status message.
Back to top
View user's profile Send private message
SHINODATT
n00b
n00b


Joined: 07 Jan 2006
Posts: 70
Location: Ontario, Canada

PostPosted: Sun Jan 08, 2006 7:53 pm    Post subject: Reply with quote

Nobody else is having this error?????????????????
Back to top
View user's profile Send private message
FastTurtle
Guru
Guru


Joined: 03 Sep 2002
Posts: 475
Location: Flakey Shake & Bake Caliornia, USA

PostPosted: Sat Jan 14, 2006 2:48 am    Post subject: Reply with quote

I also have mmx in my ffmpeg use flags with 4.0.2-r2 and didn't have a problem with it. Did have a problem with libsmpeg3-1.5.2 failing with something about integer to large while -r2 succeeded although it also had the same complaint. So far everything else has built correctly although when I get started on OpenOffice we'll know for sure.
_________________
AsRock B550 Phantom Gaming 4
128GB 3200 Mhz memory
4x 4TB Sata - 2x 2TB Sata SSD - 4x 450GB SaS - 3x 900GB SaS - 72GB SaS for Boot
LSI 9211-8i in HBA mode for all of the SaS drives
Radeon 6800 (Non XT) for GPU
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4975
Location: Gothenburg, Sweden

PostPosted: Mon Mar 27, 2006 9:09 am    Post subject: Reply with quote

Moved from Portage & Programming to Duplicate Threads in favour of https://forums.gentoo.org/viewtopic-t-434636.html
_________________
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum