Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 11-08-09, 07:21 AM   #1
seaweed
Registered User
 
Join Date: Sep 2009
Posts: 57
Default mplayer-vdpau-4789364 compilation problem

Hi all, I am getting this when I enable --enable-debug=3 --extra-cflags=-fno-omit-frame-pointer during configure:


swscale_template.c: In function 'yuv2packed2_MMX2':
swscale_template.c:1362: error: bp cannot be used in asm here
make[1]: *** [swscale.o] Error 1
make[1]: Leaving directory `/home/ratin/mplayer-vdpau-4789364/mplayer-vdpau/libswscale'
make: *** [libswscale/libswscale.a] Error 2


Anybody experiencing this issue?

configure.log attached
Attached Files
File Type: gz configurelog.tar.gz (12.1 KB, 87 views)
seaweed is offline   Reply With Quote
Old 11-08-09, 04:15 PM   #2
cehoyos
FFmpeg developer
 
Join Date: Jan 2009
Location: Vienna, Austria
Posts: 467
Default Re: mplayer-vdpau-4789364 compilation problem

Quote:
Originally Posted by seaweed View Post
Hi all, I am getting this when I enable --enable-debug=3 --extra-cflags=-fno-omit-frame-pointer during configure:
Works for me with both latest svn and mplayer-vdpau-4789364.
gcc version 4.3.1 20080507 (prerelease)

The more important question is: Why do you need those options and why together with NVIDIA's patchset?

Carl Eugen
cehoyos is offline   Reply With Quote
Old 11-08-09, 07:02 PM   #3
cehoyos
FFmpeg developer
 
Join Date: Jan 2009
Location: Vienna, Austria
Posts: 467
Default Re: mplayer-vdpau-4789364 compilation problem

Quote:
Originally Posted by cehoyos View Post
Works for me with both latest svn and mplayer-vdpau-4789364.
gcc version 4.3.1 20080507 (prerelease)
Sorry, my fault, --extra-cflags=-fno-omit-frame-pointer does not work:
You can still use --enable-debug=3

Carl Eugen
cehoyos is offline   Reply With Quote
Old 11-09-09, 01:05 AM   #4
seaweed
Registered User
 
Join Date: Sep 2009
Posts: 57
Default Re: mplayer-vdpau-4789364 compilation problem

Quote:
Originally Posted by cehoyos View Post
Sorry, my fault, --extra-cflags=-fno-omit-frame-pointer does not work:
You can still use --enable-debug=3

Carl Eugen
Hi Thanks for your reply. --enable-debug=3 itself works but somehow -O2 is set for cflags during build, I wanted to debug without any optimization on to see whats hapenning with the audio decoding. With -O2, a lot of code is optimized out..
seaweed is offline   Reply With Quote
Old 11-09-09, 12:23 PM   #5
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: mplayer-vdpau-4789364 compilation problem

When using -fno-omit-frame-pointer, the bp register is used as the frame pointer, and hence can't be used by assembly.

In general, I believe ffmpeg can't be compiled without all/most of the optimization turned on.
Stephen Warren is offline   Reply With Quote
Old 11-09-09, 02:04 PM   #6
seaweed
Registered User
 
Join Date: Sep 2009
Posts: 57
Default Re: mplayer-vdpau-4789364 compilation problem

Quote:
Originally Posted by Stephen Warren View Post
When using -fno-omit-frame-pointer, the bp register is used as the frame pointer, and hence can't be used by assembly.

In general, I believe ffmpeg can't be compiled without all/most of the optimization turned on.
maybe I should ditch libswscale for debugging purpose, use hqscale and color transformations via the GPU ;-)
seaweed is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:20 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.