[vorbis-dev] compile optimization error in libvorbis-1.0

Jeffrey Bridge jeffrey+vorbisdev at firehead.org
Fri Jul 19 19:59:23 PDT 2002



Wow, I've never seen an FSF gcc crap out like this on a non-overheating
system. When lib/envelope.c is compiled with -march=i686, gcc gets a
signal 11, but not with -march=i586. I'm not sure whether to blame gcc
or libvorbis. There are apparently three other files in libvorbis where
this same behavior is seen.

jeffrey at diddl:/usr/src/build/libvorbis-1.0/lib$ gcc
-DPACKAGE=\"libvorbis\" -DVERSION=\"1.0\" -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 -DHAVE_FLOORF=1 -I. -I. -I../include -I/usr/include
-ffast-math -mno-ieee-fp -D_REENTRANT -fsigned-char -g -O2 -march=i686
-DUSE_MEMORY_H -c envelope.c  -fPIC -DPIC -o .libs/envelope.lo
gcc: Internal compiler error: program cc1 got fatal signal 11

Replacing i686 with i586 makes it work. This is with glibc 2.2.5, gcc
2.95.3 release.

~jeffrey :j

--- >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-dev-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-dev mailing list