Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45576 - ffmpeg fails when using the -momit-leaf-frame-pointer cflag
Summary: ffmpeg fails when using the -momit-leaf-frame-pointer cflag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-23 23:40 UTC by Fabian
Modified: 2004-03-28 09:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian 2004-03-23 23:40:05 UTC
ffmpeg fails at postprocess.c when compiled with the "-momit-leaf-frame-pointer" cflag:

gcc -c -Wall -march=pentium4 -O2 -fomit-frame-pointer -pipe -momit-leaf-frame-pointer  -I. -I..  -fomit-frame-pointer -fPIC -DPIC -I.. -I../.. -o postprocess_pic.o postprocess.c
In file included from postprocess.c:509:
postprocess_template.c: In function `postProcess_MMX':
postprocess_template.c:2792: warning: unused variable `mbWidth'
In file included from postprocess.c:509:
postprocess_template.c:2624: error: can't find a register in class `GENERAL_REGS' while reloading `asm'
postprocess_template.c:2707: error: can't find a register in class `GENERAL_REGS' while reloading `asm'
postprocess_template.c:2624: error: can't find a register in class `GENERAL_REGS' while reloading `asm'
postprocess_template.c:2707: error: can't find a register in class `GENERAL_REGS' while reloading `asm'
make: *** [postprocess_pic.o] Error 1

this flag should be filtered out in the ebuild
the flag works fine for the the rest of my system though
Comment 1 Joel Martin (RETIRED) gentoo-dev 2004-03-26 12:49:48 UTC
I reproduced this problem.
ffmpeg-0.4.8.20040222 and up now have the flag filtered just for the libpostproc
portion.
Comment 2 Fabian 2004-03-28 09:50:41 UTC
nice, thank you ;)