[mythtv] CVS Compiler problem postprocess.c in /mythtv/libs/libavcodec

Stefan Manteuffel linux at sm-recycling.de
Mon Oct 11 11:14:55 UTC 2004


Thank you very much,

google was my friend ;) but i had looked at the wrong place .

I will try it in the evening at home.

Stefan

Am Montag, 11. Oktober 2004 12:44 schrieb Allan Stirling:
> Stefan Manteuffel wrote:
> > Hello List
> >
> > after i had  loaded the cvs for mythtv i can not compile it any more.
> > The .16 and 15.1 was compiled on my suse 9.0 with any Problems.
> > Here ist compiler output
> >
> >
> > I hope some on know waht is wrong and sorry for that english ;)
> >
>  >...
> >
> > libpostproc/postprocess_template.c: In function `postProcess_MMX':
> > libpostproc/postprocess_template.c:3169: error: can't find a register in
> > class `GENERAL_REGS' while reloading `asm'
> > libpostproc/postprocess_template.c:3252: error: can't find a register in
> > class `GENERAL_REGS' while reloading `asm'
> >...
> >
> > has anyone an idear what is wrong ?
> >
> > Gossamer and google cant't help
> >
> > stefan
>
> In fact, google can.
>
> http://www.google.com/search?hl=en&q=%60GENERAL_REGS%27+while+reloading+%60
>asm%27&btnG=Google+Search
>
> Gives us as the first result:
>
> http://gcc.gnu.org/ml/gcc-bugs/2004-01/msg03115.html
>
> Which points us towards:
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13850
>
> Which says that:
>
> But with these
> CFLAGS="-O -march=athlon-xp -funroll-loops -pipe"
> it works. O6 and O3 and O2 don't work.
>
>
> It's a problem with versions of GCC >3.4. Resolution is to step back GCC
> versions, reduce your optimization level or don't specify an arch.
>
> My temporary workaround is to recompile the individual files that fail,
> replacing -O3 with -O. Then it compiles.
>
> Cheers,
>
> Allan.
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


More information about the mythtv-dev mailing list