Article View: gnu.g++.bug
Article #1170Floating point exception during 2.3.1/2.3.2 build (i386-sysv3)
From: Hugh Daschbach
Date: Sun, 27 Dec 1992 01:01
Date: Sun, 27 Dec 1992 01:01
60 lines
2631 bytes
2631 bytes
Just tried upgrading an i386-sysv3 (ESIX SysV R3.2) from 2.2.2 to
2.3.2 using patches downloaded from ftp.uu.net. At the end of the
phase 1 build, "enquire" fails leaving the error message "***
Unexpected signal at point 19" at the tail of float.h.
I backed off to 2.3.1. Same result. I tried compiling with pcc
instead of the 2.2.2 gcc. Same result.
Here's the compile of enquire.o:
./xgcc -B./ -DIN_GCC -g -DNO_MEM -DNO_STDDEF -DNO_LONG_DOUBLE_IO -O0 -I. -c ./enquire.c
Enclosed is a bt from running enquire under gdb:
$ gdb enquire
GDB 3.5, Copyright (C) 1989 Free Software Foundation, Inc.
There is ABSOLUTELY NO WARRANTY for GDB; type "info warranty" for details.
GDB is free software and you are welcome to distribute copies of it
under certain conditions; type "info copying" to see the conditions.
Reading symbol data from /u/gnu/gcc-2.2.2/enquire...done.
Function abort not defined.
Type "help" for a list of commands.
(gdb) r -f
Starting program: /u/gnu/gcc-2.2.2/enquire -f
/* float.h */
#ifndef _FLOAT_H___
#define _FLOAT_H___
/* Produced by enquire version 4.3, CWI, Amsterdam */
/* Radix of exponent representation */
#define FLT_RADIX 2
/* Number of base-FLT_RADIX digits in the significand of a float */
#define FLT_MANT_DIG 1
/* Number of decimal digits of precision in a float */
#define FLT_DIG 0
Program received signal 8, SIGFPE
0x2d74 in fDiff (a=-2, b=0.375) (enquire.c line 2117)
2117 Number Diff ARGS2(Number, a, Number, b){Number r; Store(a-b, &r); return (r); }
(gdb) bt
#0 0x2d74 in fDiff (a=-2, b=0.375) (enquire.c line 2117)
#1 0x4201 in fprop (bits_per_byte=8) (enquire.c line 2327)
#2 0x7bf in main (argc=2, argv=(char **) 0x7ffffea4) (enquire.c line 730)
(gdb) c
Continuing.
*** Unexpected signal at point 19
/* For hints on dealing with the problem above
see the section 'TROUBLESHOOTING' in the file ./enquire.c */
Program exited with code 01.
(gdb) q
I haven't a clue as to where to start looking for the problem. If you
need any more documentation, please let me know.
__
Hugh Daschbach hugh@sivs.com
Member of the League for Programming Freedom
-- write to league@prep.ai.mit.edu
Technical Details
Message-ID:
<9212261701.AA09328@sivs.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!sivs.COM!hughShow Full Headers
Complete Article Headers
Newsgroups: gnu.g++.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!sivs.COM!hugh From: hugh@sivs.COM (Hugh Daschbach) Subject: Floating point exception during 2.3.1/2.3.2 build (i386-sysv3) Message-ID: <9212261701.AA09328@sivs.com> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet Distribution: gnu Date: Sun, 27 Dec 1992 01:01:46 GMT Approved: bug-g++@prep.ai.mit.edu Lines: 61