[FFmpeg-devel] Question about -fPIC usage for some files

Reimar Döffinger Reimar.Doeffinger
Fri Feb 8 17:30:50 CET 2008

On Fri, Feb 08, 2008 at 04:26:46PM +0100, Michael Niedermayer wrote:
> On Fri, Feb 08, 2008 at 03:14:42PM +0100, Thorsten Jordan wrote:
> > i386/flacdsp_mmx.c: In function ?ff_flac_compute_autocorr_sse2?:
> > i386/flacdsp_mmx.c:87: error: can't find a register in class
> > ?GENERAL_REGS? while reloading ?asm?
> if any of them need ebx they should be under HAVE_EBX_AVAILABLE
> if any of them needs 7 registers they should be under HAVE_7REGS
> the remaining cases are gcc bugs and should be reported to the gcc devels
> (why do i think they all fall in the same category ...)

IIRC that last one does fall in that last category and can be fixed with
a __aatribute__((noinline)), the funniest thing about that is that ICC
(10.1.008) can not handle that code even without -fPIC, and needs the same hack...

Reimar D?ffinger

More information about the ffmpeg-devel mailing list