[MPlayer-dev-eng] Problems compiling libfaad2 on a Pentium 4

Diego Biurrun diego at biurrun.de
Fri Feb 25 20:44:51 CET 2005


Garret Kelly writes:
> I'm running into some problems compiling libfaad2 on a Mobile Pentium 4:
> 
> cc -c -I. -I../libvo -I../../libvo -I/usr/X11/include -fno-PIC -O4 
> -march=pentium4 -mcpu=pentium4 -pipe -ffast-math -fomit-frame-pointer 
> -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
> -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include 
> -I/usr/X11R6/include  -o ps_dec.o ps_dec.c
> ps_dec.c: In function `ps_decorrelate':
> ps_dec.c:1841: unable to find a register to spill in class `FLOAT_REGS'
> ps_dec.c:1841: this is the insn:
> (insn 1058 2119 1060 (set (reg/v:SF 11 st(3) [382])
>         (subreg:SF (reg/v:DI 21 rxmm0 [260]) 0)) 90 {*movsf_1} (nil)
>     (nil))
> ps_dec.c:1841: confused by earlier errors, bailing out
> make: *** [ps_dec.o] Error 1
> 
> --snip--
> 
> If I remove "-march=pentium4 -mcpu=pentium4" it compiles fine and works 
> without error. I wasn't able to find reference to this specific problem 
> in any of the documentation or mailing lists. I'm running gcc 3.4.3. 

distro? self-compiled gcc?

Diego




More information about the MPlayer-dev-eng mailing list