[MPlayer-dev-eng] libfaad2 cannot be compiled with gcc 3.2.3 and "-mfpmath=sse"

陆然 hephooey at fastmail.fm
Sun Aug 31 12:21:18 CEST 2003


Hi,

I cannot compile today's mplayer CVS, the compilation stopped at the newly 
added libfaad2 library, and I found when I remove "-mfpmath=sse" in the 
CFLAGS in config.mak, it can be compiled with a warning:

=================
/usr/local/bin/gcc -c -I. -O4 -march=pentium3 -mcpu=pentium3 -pipe -ffast-math 
-fomit-frame-pointer -mmmx -msse -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
=================

If compile it with "-mfpmath=sse", I got these Erros:

=================
/usr/local/bin/gcc -c -I. -O2 -march=pentium3 -mcpu=pentium3 -pipe -ffast-math 
-fomit-frame-pointer -mmmx -msse -mfpmath=sse -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:95: unable to find a register to spill in class `SSE_REGS'
cfft.c:95: this is the insn:
(insn 195 193 200 (set (subreg:SF (reg/v:DI 29 rmm0 [94]) 0)
        (minus:SF (reg:SF 21 exmm0 [104])
            (mem:SF (plus:SI (mult:SI (reg:SI 0 eax [95])
                        (const_int 8 [0x8]))
                    (reg/v/f:SI 4 esi [62])) [4 S4 A32]))) 547 {*fop_sf_1_sse} 
(insn_list 190 (nil))
    (expr_list:REG_DEAD (reg:SF 21 exmm0 [104])
        (nil)))
cfft.c:95: confused by earlier errors, bailing out
=================

I use gentoo 1.4, glibc 2.3.2, gcc 3.2.3, binutils 2.14.90.0.2 20030515, and I 
have not test faac's cvs yet since I cannot login to cvs.sourceforge.net:(

-- 
Best Regards,
LR



More information about the MPlayer-dev-eng mailing list