[Ffmpeg-devel] [PATCH] build with '--enable-gprof'
Michael Niedermayer
michaelni
Sat Dec 9 11:03:45 CET 2006
Hi
On Sat, Dec 09, 2006 at 09:05:57AM +0300, dmantipov wrote:
> Michael Niedermayer wrote:
>
> >> Index: libavcodec/cabac.h
> >> ===================================================================
> >> --- libavcodec/cabac.h (revision 7245)
> >> +++ libavcodec/cabac.h (working copy)
> >> @@ -376,7 +376,7 @@
> >> #define BYTE "16"
> >> #define BYTEEND "20"
> >> #endif
> >> -#if defined(ARCH_X86) && !(defined(PIC) && defined(__GNUC__))
> >> +#if defined(ARCH_X86) && !defined(CONFIG_EBP_IS_SPECIAL)
> >
> >this isnt correct its rather
> >
> >#if defined(ARCH_X86) && !defined(CONFIG_EBP_IS_SPECIAL) && !defined(CONFIG_EBX_IS_SPECIAL)
> >
> >as for PIC code with -fomit-frame-pointer EBP isnt special and the asm code
> >in configure will compile and work correctly still gcc will fail compiling
> >the asm above as EBX is special for gcc in the PIC case,
>
>
> But ffmpeg compiles without '-fPIC' or '-fpic' even if '--enable-shared', and only
> vhook compiles with PIC option(s). Is this a bug :-) ?
i dont think this is true for x86 on all OSs
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
If you really think that XML is the answer, then you definitly missunderstood
the question -- Attila Kinali
More information about the ffmpeg-devel
mailing list