[MPlayer-dev-eng] Problems compiling libfaad2 on a Pentium 4
D Richard Felker III
dalias at aerifal.cx
Fri Feb 25 21:26:49 CET 2005
On Fri, Feb 25, 2005 at 08:44:51PM +0100, Diego Biurrun wrote:
> 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?
"unable to find a register to spill" is ALWAYS an internal gcc bug,
and should be reported to the gcc developers.
rich
More information about the MPlayer-dev-eng
mailing list