The problem is that a lot of optimized code in mpeg2enc and libmpeg is
broken in one way or another ... mostly because it was written to barely
work on older gcc compilers, and newer ones changed registry allocation
and now it becomes broken in some places...

the other problem is stricter handling of type conversions...

if there is an asm expert anywhere here, please take a look and submit a
patch, it will be enormously welcomed

bye
andraz

On pon, 2006-06-19 at 00:30 -0700, Leonardo wrote:
> Jan, Johannes,
> thanks I will try this afternoon.
> And yes, I've used  CFLAGS='-g -O2' (as from make.conf).
> 
> Ciao, Leo
> 
> --- Johannes Sixt <[EMAIL PROTECTED]> wrote:
> 
> > On Friday 16 June 2006 16:28, Leonardo wrote:
> > > Hi all,
> > > I'm compiling cinelerra cvs, checked-out this week, on a
> > Gentoo
> > > Linux box, but it stops with the following error:
> > >
> > >  gcc -DHAVE_CONFIG_H -I. -I. -I../../../..
> > -D_LARGEFILE_SOURCE
> > > -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_MMX
> > > -DUSE_MMX -DX86_CPU -DHAVE_MMX -msse -DHAVE_BUILTIN_VECTOR
> > -O3
> > > -D_GNU_SOURCE -DHAVE_AV_CONFIG_H -I./../.. -g -O2 -MT
> > > dsputil_mmx.lo -MD -MP -MF .deps/dsputil_mmx.Tpo -c
> > > dsputil_mmx.c -o .libs/dsputil_mmx.o
> > > In file included from dsputil_mmx.c:140:
> > > dsputil_mmx_rnd.h: In function `put_no_rnd_pixels8_l2_mmx':
> > > dsputil_mmx_rnd.h:61: error: can't find a register in class
> > > `BREG' while reloading `asm'
> > 
> > This file *must* be compiled with -O3. Appearently, you have
> > used
> > 
> >  CFLAGS='-g -O2'.
> > 
> > (most likely implicitly by not providing any flags to
> > ./configure).
> > Recompile this file without these flags:
> > 
> >  cd quicktime/ffmpeg/libavcodec/i386
> >  make -k # builds everything in this dir, but fails for some
> >  make CFLAGS= # builds the failed ones again
> >  cd ../../../..
> > 
> > -- Hannes
> > 
> > _______________________________________________
> > Cinelerra mailing list
> > [email protected]
> >
> https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 
> _______________________________________________
> Cinelerra mailing list
> [email protected]
> https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


_______________________________________________
Cinelerra mailing list
[email protected]
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra

Reply via email to