[Ffmpeg-devel] Re: [PATCH] Fix compilation when using --disable-opts

Reimar Döffinger Reimar.Doeffinger
Sun Apr 1 10:09:16 CEST 2007


Hello,
On Sun, Apr 01, 2007 at 02:23:48AM +0200, Alexis Ballier wrote:
> >It might compile but that's because it ends up disabling the asm.
> 
> which asm was disabled when building pic before
> http://svn.mplayerhq.hu/ffmpeg?view=rev&revision=8549
> 
> that changed from :
> #if defined(ARCH_X86) && !(defined(PIC) && defined(__GNUC__))
> to :
> #if defined(ARCH_X86) && defined(CONFIG_7REGS) && 
> defined(CONFIG_EBX_AVAILABLE)

It seems that for some of the code the right condition is
#if defined(ARCH_X86) && defined(PIC)
since due to the addressing modes used not allowing an extra offset due
to PIC, no matter how many registers are available.

Greetings,
Reimar D?ffinger




More information about the ffmpeg-devel mailing list