avifile build problem
Couannette
couannette at free.fr
Tue Dec 9 00:00:47 GMT 2003
Hey
I've found a compile error in Avifile.
lin avifile failed, then I decided to search for the error. It's related
to optimisation option -O3. I use gcc 3.2.3.
I compiled the failing source file without optimisation option:
root at eana /usr/src/faad-2_2.0_rc1/libfaad # gcc -DHAVE_CONFIG_H -I. -I.
-I.. -mcpu=pentium4 -march=pentium4 -mmmx -msse -msse2 -mfpmath=sse,387
-MT cfft.lo -MD -MP -MF .deps/cfft.Tpo -c cfft.c -fPIC -DPIC -o .libs/cfft.o
cfft.c:556:2: warning: no newline at end of file
Then with -O3 (I use this option for near all applications that I build
on my system. Sometimes it causes compile error, but it's rare):
root at eana /usr/src/faad-2_2.0_rc1/libfaad # gcc -DHAVE_CONFIG_H -I. -I.
-I.. -O2 -mcpu=pentium4 -march=pentium4 -mmmx -msse -msse2
-mfpmath=sse,387 -MT cfft.lo -MD -MP -MF .deps/cfft.Tpo -c cfft.c -fPIC
-DPIC -o .libs/cfft.o
cfft.c: In function `passf3':
cfft.c:160: unable to find a register to spill in class `FLOAT_REGS'
cfft.c:160: this is the insn:
(insn 352 351 354 (set (reg:SF 8 st(0) [191])
(mult:SF (reg:SF 22 exmm1 [190])
(subreg:SF (reg/v:DI 26 rxmm5 [76]) 0))) 526 {*fop_sf_comm}
(insn_list 339 (insn_list 351 (nil)))
(nil))
cfft.c:160: confused by earlier errors, bailing out
What do you think about this ?
Best regards,
Michel
More information about the lunar
mailing list