Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] gst-plugins-ffmpeg - problem to compile, maybe mmx?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
emc
Guru
Guru


Joined: 02 Jul 2004
Posts: 564
Location: Cracow, Poland

PostPosted: Wed Aug 31, 2011 7:11 am    Post subject: [solved] gst-plugins-ffmpeg - problem to compile, maybe mmx? Reply with quote

Hi,
I didn't emegre for 8-9 mounts btw (emerge -NDu world listed more then 500 packages) But, thx gentoo, update go really smooth, some compile brakedown I was able to fix with lafilefixe or jus solde blocks. It lefy around 80 packages to build but I have problem with gst-plugins-ffmpeg:
Code:
...
CC   libavutil/utils.o
AR   libavdevice/libavdevice.a
AR   libavformat/libavformat.a
libavcodec/x86/h264dsp_mmx.c: In function ‘h264_h_loop_filter_luma_mmx2’:
libavcodec/x86/dsputil_mmx.c:727: error: can't find a register in class ‘GENERAL_REGS’ while reloading ‘asm’
libavcodec/x86/dsputil_mmx.c:727: error: can't find a register in class ‘GENERAL_REGS’ while reloading ‘asm’
libavcodec/x86/dsputil_mmx.c:727: error: ‘asm’ operand has impossible constraints
libavcodec/x86/dsputil_mmx.c:727: error: ‘asm’ operand has impossible constraints
libavcodec/x86/dsputil_mmx.c:727: error: ‘asm’ operand has impossible constraints
libavcodec/x86/dsputil_mmx.c:727: error: ‘asm’ operand has impossible constraints
libavcodec/x86/h264dsp_mmx.c:633: error: ‘asm’ operand has impossible constraints
libavcodec/x86/dsputil_mmx.c:727: error: ‘asm’ operand has impossible constraints
libavcodec/x86/dsputil_mmx.c:727: error: ‘asm’ operand has impossible constraints
libavcodec/x86/dsputil_mmx.c:727: error: ‘asm’ operand has impossible constraints
libavcodec/x86/dsputil_mmx.c:727: error: ‘asm’ operand has impossible constraints
libavcodec/x86/dsputil_mmx.c:727: error: ‘asm’ operand has impossible constraints
libavcodec/x86/dsputil_mmx.c:727: error: ‘asm’ operand has impossible constraints
libavcodec/x86/h264dsp_mmx.c:633: error: ‘asm’ operand has impossible constraints
libavcodec/x86/dsputil_mmx.c:727: error: ‘asm’ operand has impossible constraints
libavcodec/x86/dsputil_mmx.c:727: error: ‘asm’ operand has impossible constraints
make[5]: *** [libavcodec/x86/dsputil_mmx.o] Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: Leaving directory `/var/tmp/portage/media-plugins/gst-plugins-ffmpeg-0.10.11-r1/work/gst-ffmpeg-0.10.11/gst-libs/ext/ffmpeg'
make[4]: *** [all-local] Error 2
make[4]: Leaving directory `/var/tmp/portage/media-plugins/gst-plugins-ffmpeg-0.10.11-r1/work/gst-ffmpeg-0.10.11/gst-libs/ext'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-plugins/gst-plugins-ffmpeg-0.10.11-r1/work/gst-ffmpeg-0.10.11/gst-libs/ext'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-plugins/gst-plugins-ffmpeg-0.10.11-r1/work/gst-ffmpeg-0.10.11/gst-libs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-plugins/gst-plugins-ffmpeg-0.10.11-r1/work/gst-ffmpeg-0.10.11'
make: *** [all] Error 2
emake failed
ERROR: media-plugins/gst-plugins-ffmpeg-0.10.11-r1 failed (compile phase):
  emake failed.

Call stack:
    ebuild.sh, line  56:  Called src_compile
  environment, line 2581:  Called die
The specific snippet of code:
      emake || die "emake failed."


Full log:
http://pastebin.com/juTUeKjQ

emerge --info:
http://pastebin.com/cAUtXqZ0

and env:
http://pastebin.com/3YsGmm76

any suggestions?

*EDIT
my current emerge -NDu world:
http://pastebin.com/dmzGSXz0


Last edited by emc on Tue Sep 06, 2011 8:50 am; edited 1 time in total
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Wed Aug 31, 2011 7:30 am    Post subject: Reply with quote

Pastebin with 'emerge --info' has expired.
Regardless, I suspect you're running into an old gcc bug, that's been fixed in the recent 4.5 series.
There's a note about it in one of old ffmpeg bugs.
Back to top
View user's profile Send private message
emc
Guru
Guru


Joined: 02 Jul 2004
Posts: 564
Location: Cracow, Poland

PostPosted: Wed Aug 31, 2011 7:40 am    Post subject: Reply with quote

emerge --info:
http://pastebin.com/Bjdr3Nfx

and env:
http://pastebin.com/vY104ShG

Yes, I'm running gcc-4.3.4. So, you said I need upgrade to gcc-4.5 (4.5.1, 4.5.2 or 4.5.3) Anyway it's good idea since 4.5 support Intel Atom which is inside in my eeepc ;)

btw. I just curious which bug is it?
Back to top
View user's profile Send private message
emc
Guru
Guru


Joined: 02 Jul 2004
Posts: 564
Location: Cracow, Poland

PostPosted: Tue Sep 06, 2011 8:50 am    Post subject: Reply with quote

Yes, upgrade gcc to 4.5.3 solved the problem
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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