[FFmpeg-devel] Bugreport: compiling fails with -fPIC used

Thorsten Jordan tjordan
Mon Oct 15 13:26:10 CEST 2007


Thorsten Jordan schrieb:
> Hallo,
> 
> although i know that one should better not use -fPIC with ffmpeg to have
> the most performance, there are situations when it is needed.
> Using -fPIC as CFLAGS leads to compilation error:
> 
> i386/dsputil_mmx.c: In function ?flac_compute_autocorr_sse2?:
> i386/dsputil_mmx.c:3028: error: can't find a register in class
> ?GENERAL_REGS? while reloading ?asm?

sorry, forgot to add the compiler version:
gcc (GCC) 4.1.3 20070831 (prerelease) (Debian 4.1.2-16)

CFLAGS btw are:
--arch=i686 --cpu=i686 --extra-cflags=-fPIC

-- 
Mit freundlichen Gr??en, Thorsten




More information about the ffmpeg-devel mailing list