Article View: gnu.g++.bug
Article #1318Re: Floating point exception during 2.3.1/2.3.2 build (i386-sysv3)
From: Hugh Daschbach
Date: Mon, 04 Jan 1993 22:56
Date: Mon, 04 Jan 1993 22:56
66 lines
2890 bytes
2890 bytes
> 2.3.3 is the current version of GCC 2.x. Building an earlier version
> is not useful at this point.
I downloaded gcc-2.3.3.diff.Z, patch, and rebuilt. Same problem.
Original problem report follows:
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
Technical Details
Message-ID:
<9301041456.AA01532@sivs.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!sivs.COM!hughReferences:
<9301032355.AA10151@vlsi1.ultra.nyu.edu>Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.bug Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!sivs.COM!hugh From: hugh@sivs.COM (Hugh Daschbach) Subject: Re: Floating point exception during 2.3.1/2.3.2 build (i386-sysv3) Message-ID: <9301041456.AA01532@sivs.com> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet References: <9301032355.AA10151@vlsi1.ultra.nyu.edu> Distribution: gnu Date: Mon, 4 Jan 1993 22:56:22 GMT Approved: bug-g++@prep.ai.mit.edu Lines: 67