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

Guillaume POIRIER poirierg
Sat Mar 31 20:55:53 CEST 2007


Hi,

On 3/31/07, Alexis Ballier <alexis.ballier at gmail.com> wrote:
> Hi, I get a compile error with recent svn and I think that patch is the cause :
>
> #if defined(ARCH_X86_64) || (defined(ARCH_X86_32) &&
> defined(CONFIG_EBX_AVAILABLE) && defined(CONFIG_EBP_AVAILABLE))
> #  define CONFIG_7REGS 1
> #endif
>
> shouldn't this also add && !defined(PIC) ?

maybe

> plenty of error logs there :
>
> http://bugs.gentoo.org/show_bug.cgi?id=172845

the patch attached to that bug report
http://bugs.gentoo.org/attachment.cgi?id=115012 is mega turbo wrong.
Removing the PIC register from the clobber list is obviously wrong: it
will compile, but produce corrupt data.

> and :
> http://bugs.gentoo.org/show_bug.cgi?id=172877

Guillaume

-- 
Rich, you're forgetting one thing here: *everybody* except you is
stupid.
    M?ns Rullg?rd



More information about the ffmpeg-devel mailing list