[Ffmpeg-devel] [BUG] Compilation failure when using --disable-opts

Panagiotis Issaris takis.issaris
Mon Feb 19 15:14:56 CET 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Benoit Fouet schreef:
> Hi,
> 
> Panagiotis Issaris wrote:
>> Hi,
>>
>> With current SVN (revision 8028), I'm getting an error when trying to
>> compile it if configured to disable optimizations:
>> ./configure --enable-gpl --disable-opts
>> make
>> ...
>> gcc -I"/usr/local/src/ffmpeg"/libswscale   -DHAVE_AV_CONFIG_H
>> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE
>> -I"/usr/local/src/ffmpeg" -I"/usr/local/src/ffmpeg"
>> -I"/usr/local/src/ffmpeg"/libavutil -g -Wdeclaration-after-statement
>> -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith
>> -Wredundant-decls -Wno-pointer-sign  -c -o cabac.o cabac.c
>> In file included from cabac.c:32:
>> cabac.h: In function get_cabac_noinline:
>> cabac.h:522: error: can't find a register in class GENERAL_REGS while
>> reloading asm
>> make[1]: *** [cabac.o] Error 1
>> make[1]: Leaving directory `/usr/local/src/ffmpeg/libavcodec'
>> make: *** [lib] Error 2
>>
> [snip]
>> Any tips?
>>
> i found this link by googling your error, hope this helps...
> http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2006-November/047227.html
Thanks! Combined with -O1 the -fomit-frame-pointer parameter did help!

With friendly regards,
Takis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF2bDg9kOxLuzz4CkRAq+CAJ4tLSvp+saY3EOf9ozX7DAeOnhpdgCePMIV
apkgfePL6w2ESrxoND2DDl8=
=zAf3
-----END PGP SIGNATURE-----




More information about the ffmpeg-devel mailing list