[speex-dev] Compile issue with gcc3.2

Jean-Marc Valin jean-marc.valin at hermes.usherb.ca
Fri Oct 25 23:58:23 PDT 2002


Le sam 26/10/2002 à 03:12, Matt Keadle a écrit :
> I've been able to get Speex to compile on gcc 2.95.3 with no problems. When using gcc 3.2 I get the following output:
> 
> gcc -DHAVE_DLFCN_H=1 -DHAVE_SYS_SOUNDCARD_H=1 -DHAVE_LIBOGG=1 -DHAVE_LIBM=1 -DVERSION=\"1.0beta1\" -I. -I. -march=pentium4 -mcpu=pentium4 -O3 -pipe -c high_lsp_tables.c -o high_lsp_tables.o
> cb_search.c: In function `split_cb_search_shape_sign':
> cb_search.c:500: unable to find a register to spill in class `FLOAT_REGS'
> cb_search.c:500: this is the insn:
> (insn 716 713 717 (set (reg:SF 8 st(0) [214])
>         (subreg:SF (reg/v:DI 22 rxmm1 [186]) 0)) 90 {*movsf_1} (nil)
>     (nil))
> cb_search.c:500: confused by earlier errors, bailing out

First time I've seen this kind of error... I tried with 3.1 with the
same options and I got:

cb_search.c:500: Internal compiler error in
ix86_secondary_memory_needed, at config/i386/i386.c:12251
Please submit a full bug report,

It looks to me like a compiler bug that's only triggered when
-march=pentium4 is turned on. I'll send a bug report to the gcc project.
In the mean time, I suggest you either 1) don't compile with
--march=pentium4 or use the code in CVS that's going to be beta2
probably in a few days. I don't know why, but the bug is not triggered
on beta2.

> This project has been submited to me for inclusion into Gentoo Linux. Any information is appreciated!

Any more information you'd like?

        Jean-Marc


-- 
Jean-Marc Valin, M.Sc.A.
LABORIUS (http://www.gel.usherb.ca/laborius)
Université de Sherbrooke, Québec, Canada


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 242 bytes
Desc: signature.asc
Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20021026/be2d44c2/signature-0001.pgp


More information about the Speex-dev mailing list