[vorbis] envelope.c CVS vorbis compile error.

Michael Smith msmith at labyrinth.net.au
Mon Oct 1 21:43:04 PDT 2001



At 12:23 AM 10/2/01 -0400, you wrote:
>Just checked out the vorbis CVS branch a couple minutes ago and got an 
>internal compiler error with gcc 2.95.4 on envelope.c 
>gcc -DPACKAGE=\"libvorbis\" -DVERSION=\"1.0rc2\" -DHAVE_DLFCN_H=1 
>-DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_SQRTF=1 -DHAVE_LOGF=1 -DHAVE_EXPF=1 
>-DHAVE_ACOSF=1 -DHAVE_ATANF=1 -DHAVE_FREXPF=1 -DHAVE_RINTF=1 -I. -I. 
>-I../include -O20 -ffast-math -mno-ieee-fp -D_REENTRANT -fsigned-char -O2 
>-march=i686 -mcpu=i686 -fexpensive-optimizations -DUSE_MEMORY_H -c envelope.c 
>-Wp,-MD,.deps/envelope.TPlo  -fPIC -DPIC -o .libs/envelope.lo
>gcc: Internal compiler error: program cc1 got fatal signal 11
>
>Descriptive eh?    I strace'd it and it seems to show nothing interesting and 
>since gcc is currently compiled without debugging symbols.  I absolutely know 
>it's caused by -fexpensive-optimizations   but i dont know why.  I've 
>compiled it before with that option and it's worked fine.  

This is a known bug in gcc. Remove -march=i686 a-mcpu=i686, I believe that 
fixes the problem. Most of the rest of your flags have no effect, because
you're given implicitly by other things.

Michael

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis mailing list