[Ffmpeg-devel] build broken again...

Rich Felker dalias
Sun May 8 18:35:09 CEST 2005


On Sun, May 08, 2005 at 06:08:08PM +0200, Fran?ois Revol wrote:
> > On Sun, May 08, 2005 at 04:10:28PM +0200, Fran?ois Revol wrote:
> > > > Hi
> > > >
> > > > On Sunday 08 May 2005 15:13, Fran?ois Revol wrote:
> > > > > > I can't leave you for 2 weeks without having to fix your
> > > > > > mess,
> > > > > > grrr :
> > > > > > ^)
> > > > > >
> > > > > > /boot/home/devel/ffmpeg/cvs/ffmpeg/libavcodec/i386/
> > > > > > dsputil_mmx.c:866:
> > > > > > fixed or forbidden register 3 (bx) was spilled for class
> > > > > > GENERAL_REGS.
> > > > >
> > > > > Ok, this one fixes it, if I don't see any complains filed until
> > > > > tomorrow I'll commit it.
> > > > >
> > > > > --- libavcodec/i386/dsputil_mmx.c       25 Apr 2005 01:01:41 -
> > > > > 0000
> > > > > 1.90
> > > > > +++ libavcodec/i386/dsputil_mmx.c       8 May 2005 13:09:41 -
> > > > > 0000
> > > > > @@ -848,19 +848,20 @@
> > > > >  {
> > > > >      asm volatile(
> > > > >          "movd    (%0),    %%mm0     \n\t"
> > > > > -        "movd    (%0,%2), %%mm1     \n\t"
> > > > > -        "movd    (%1),    %%mm2     \n\t"
> > > > > -        "movd    (%1,%2), %%mm3     \n\t"
> > > > > -        H264_DEBLOCK_THRESH(%4,%5)
> > > > > -        "movd      %3,    %%mm6     \n\t"
> > > > > +        "lea     (%0,%1), %0        \n\t"
> > > > [...]
> > > > > +        :: "r"(pix-2*stride), /*"r"(pix),*/ "r"((long)stride),
> > > >
> > > > rejected
> > > >
> > >
> > > Then fix it, it's not me who broke the build.
> >
> > Actually it probably is, since gcc 2.95.3 works fine for the rest of
> > us. What CFLAGS are you using?
> >
> 
> OPTFLAGS=-O3 -Wall -Wno-switch -DPIC -fomit-frame-pointer
> 
> (with PIC of course)

PIC does not work, afaik. Stop insisting on using it.

Rich





More information about the ffmpeg-devel mailing list