avifile build problem
Niki Guldbrand
niki at lunar-linux.org
Tue Dec 9 00:10:27 GMT 2003
Hi Couannette.
Please try again after disabling -msse2 in "lunar optimize", this is a
know issue with gcc 3.2.x, you will have to use gcc 3.3.x to be able to
use -mcpu=pentium4 and -march=pentium4 together with -msse2.
Niki
On Tue, 2003-12-09 at 00:00, Couannette wrote:
> 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
>
> _______________________________________________
> lunar mailing list
> lunar at lunar-linux.org
> http://dbguin.lunar-linux.org/mailman/listinfo/lunar
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lunar-linux.org/pipermail/lunar/attachments/20031209/1d45072e/attachment.bin
More information about the lunar
mailing list