[MPlayer-dev-eng] Problems compiling libfaad2 on a Pentium 4
Garret Kelly
Garret_Kelly at ucc.on.ca
Fri Feb 25 18:27:19 CET 2005
Alexander Strasser wrote:
>Garret Kelly wrote ( On Fri, Feb 25, 2005 at 10:49:42AM -0500 ):
>
>
>>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.
>>Hope this helps.
>>
>>
>
>Smells like a compiler bug. btw i had no problems on mobile p4 with gcc 3.3 .
>
> Alex (beastd)
>
>
>
I actually upgraded from gcc 3.3.3 to 3.4.3 because I was recieveing the
same error.
--Garret
More information about the MPlayer-dev-eng
mailing list