This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

middle-end/5522: gcc-2.95.3 crashes when using -mno-ieee-fp



>Number:         5522
>Category:       middle-end
>Synopsis:       gcc-2.95.3 crashes when using -mno-ieee-fp
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 28 17:56:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Simon Lodal
>Release:        gcc version 2.95.3 20010315 (release)
>Organization:
>Environment:
OS: Conectiva Linux 7.0: linux-2.4.17, glibc-2.2.3.
PC: 2*Celeron 333, 384 MB RAM.
Envvars (from list in 'info gcc'):
TMPDIR=/home/simonl/tmp
CPLUS_INCLUDE_PATH=/usr/lib/qt2/include
LANG=en_US
CFLAGS="-march=i686 -Wall"
>Description:
Compiling libvorbis-1.0rc3 gcc crashes with sig11 on envelope.c:
-----
gcc -DPACKAGE=\"libvorbis\" -DVERSION=\"1.0rc3\" -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 -march=i686 -Wall -DUSE_MEMORY_H -c envelope.c  -fPIC -DPIC -o .libs/envelope.lo
gcc: Internal compiler error: program cc1 got fatal signal 11
-----
Note: I have read the sig11 faq, and I believe this is not a hardware problem. It crashes on the same source file consistenly, even after reboot, and when run on physically different harddisks.
>How-To-Repeat:
- Download http://www.oddsock.org/vorbisrc3/files/rc3/unix/libvorbis-1.0rc.tar.gz (sorry not attaching such big files).
- Unpack
> ./configure --enable-static=yes --enable-shared=yes
> make
Crashes on envelope.c as desribed above.
>Fix:
Workaround: Dont use -mno-ieee-pf. Then things compile just fine (not tested if it also works though).
>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]