|
|
#1 | |
|
Registered User
Join Date: Sep 2009
Posts: 57
|
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 |
|
|
|
|
|
|
#2 | |
|
FFmpeg developer
Join Date: Jan 2009
Location: Vienna, Austria
Posts: 467
|
Quote:
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 |
|
|
|
|
|
|
#3 |
|
FFmpeg developer
Join Date: Jan 2009
Location: Vienna, Austria
Posts: 467
|
|
|
|
|
|
|
#4 | |
|
Registered User
Join Date: Sep 2009
Posts: 57
|
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..
|
|
|
|
|
|
|
#5 |
|
Moderator
Join Date: Aug 2005
Posts: 1,327
|
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. |
|
|
|
|
|
#6 | |
|
Registered User
Join Date: Sep 2009
Posts: 57
|
maybe I should ditch libswscale for debugging purpose, use hqscale and color transformations via the GPU ;-)
|
|
|
|
|
![]() |
| Thread Tools | |
|
|