[FFmpeg-devel] Hacks on FATE
Baptiste Coudurier
baptiste.coudurier
Fri Sep 25 01:34:46 CEST 2009
On 09/24/2009 03:17 PM, M?ns Rullg?rd wrote:
> Baptiste Coudurier<baptiste.coudurier at gmail.com> writes:
>
>> Hi,
>>
>> On 09/24/2009 12:42 PM, Michael Kostylev wrote:
>>> [...]
>>>
>>> On i386 (HAVE_7REGS&& HAVE_TEN_OPERANDS) may be equal to zero
>>> (for example, on my machine %ebp is not available), then
>>
>> Speaking of ebp, configure check does not work with gcc 4.4 and
>> therefore EBP is disabled. Considering gcc 4.4 will be the default
>> compiler in ubuntu karmic, it may be nice to fix this in some way.
>
> What exactly is the problem?
>
BEGIN /tmp/ffconf.2ssDOnLc.c
1 #include <signal.h>
2 static void sighandler(int sig){
3 raise(SIGTERM);
4 }
5 int main(void){
6 signal(SIGILL, sighandler);
7 signal(SIGFPE, sighandler);
8 signal(SIGSEGV, sighandler);
9 #ifdef SIGBUS
10 signal(SIGBUS, sighandler);
11 #endif
12 { volatile int i=0;
13 __asm__ volatile (
14 "xorl %%ebp, %%ebp"
15 ::: "%ebp");
16 return i; }
17 }
END /tmp/ffconf.2ssDOnLc.c
gcc -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -std=c99 -fomit-frame-pointer -c -o
/tmp/ffconf.DBb5ytLJ.o /tmp/ffconf.2ssDOnLc.c
/tmp/ffconf.2ssDOnLc.c: In function 'main':
/tmp/ffconf.2ssDOnLc.c:17: error: bp cannot be used in asm here
Is this information sufficient ?
--
Baptiste COUDURIER
Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
FFmpeg maintainer http://www.ffmpeg.org
More information about the ffmpeg-devel
mailing list