[MPlayer-dev-eng] Compile error in postprocess_template.c
Markus Liebl
lieblm at web.de
Tue Oct 29 13:28:58 CET 2002
On Tue, 29 Oct 2002 12:22:16 +0100
Michael Niedermayer <michaelni at gmx.at> wrote:
> Hi
>
> On Tuesday 29 October 2002 11:48, Alban Bedel wrote:
> > Hi Michael Niedermayer,
> >
> > here on a K6-2 (MMX+3DNOW) i got this compile error :
> >
> > gcc -c -W -Wall -O2 -march=k6 -mcpu=k6 -g -D_REENTRANT
> > -D_LARGEFILE_SOURCE-D_FILE_OFFSET_BITS=64 -I. -I.. -fPIC -DPIC -o
> > postprocess_pic.o
> hmm i dont see "-fomit-frame-pointer", its needed for the PIC code as
> otherwise there is even 1 register less, yes the PIC code is unused by
> default, its just compiled so i get a few more bugreports :)
> i fixed it by forcing -fomit-frame-pointer for the PIC stuff only
If I enable debug (configure --enable-debug), there is no
-fomit-frame-pointer.
from configure:
if test "$_profile" != "" || test "$_debug" != "" ; then
CFLAGS="-W -Wall -O2 $_march $_mcpu $_debug $_profile"
_stripbinaries=no
elif test -z "$CFLAGS" ; then
if test "$host_arch" != "mips" ; then
CFLAGS="-O4 $_march $_mcpu -pipe -ffast-math -fomit-frame-pointer"
else
CFLAGS="-O4 $_march $_mcpu -ffast-math -fomit-frame-pointer"
fi
Bye,
Markus
--
It's not a bug, it's tradition!
More information about the MPlayer-dev-eng
mailing list