[MPlayer-dev-eng] Re: [Mplayer-cvslog] CVS: main/DOCS/en codecs.html,1.124,1.125

Arwed von Merkatz v.merkatz at gmx.net
Sun Aug 31 14:40:30 CEST 2003


On Sun, Aug 31, 2003 at 02:33:21PM +0200, Linards Ticmanis wrote:
> It doesn't. GCC 3.2 on an x86-Linux / Pentium 4 chokes on it.
> 
> > make -C libfaad2
> > make[1]: Entering directory `/home/linards/mpmod/libfaad2'
> > gcc -c -I. -O4 -march=pentium4 -mcpu=pentium4 -pipe -ffast-math
> - -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE
> - -D_FILE_OFFSET_BITS=64  -o bits.o bits.c
> > gcc -c -I. -O4 -march=pentium4 -mcpu=pentium4 -pipe -ffast-math
> - -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE
> - -D_FILE_OFFSET_BITS=64  -o cfft.o cfft.c
> > cfft.c:556:2: warning: no newline at end of file
> > cfft.c: In function `passf2':
> > cfft.c:556: unable to find a register to spill in class `FLOAT_REGS'
> > cfft.c:556: this is the insn:
> > (insn 239 237 250 (set (subreg:SF (reg/v:DI 29 rmm0 [112]) 0)
> >         (minus:SF (mem:SF (plus:SI (mult:SI (reg:SI 1 edx [114])
> >                         (const_int 8 [0x8]))
> >                     (reg/v/f:SI 3 ebx [62])) [4 S4 A32])
> >             (reg:SF 8 st(0) [134]))) 533 {*fop_sf_1_nosse} (insn_list
> 236 (nil))
> >     (expr_list:REG_DEAD (reg:SF 8 st(0) [134])
> >         (nil)))
> > cfft.c:556: confused by earlier errors, bailing out
> > make[1]: *** [cfft.o] Error 1
> > make[1]: Leaving directory `/home/linards/mpmod/libfaad2'
> > make: *** [libfaad2/libfaad2.a] Error 2

That's an insn, i.e. a compiler bug. gcc 3.2 had quite some of those
with pentium4, most of these are fixed in gcc 3.3, so either update your
gcc or change the architecture/optimizations.

-- 
Arwed v. Merkatz
Grimoire Guru for video
Grimoire Guru for xfce
Sourcemage GNU/Linux
http://www.sourcemage.org



More information about the MPlayer-dev-eng mailing list